Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Validation error messages keep being loaded from system
Post: RE: Validation error messages keep being loaded fr...

ozornick Wrote: (05-10-2024, 09:13 AM) -- Check locale in Request? dd(request()); in Controller. You may be overwriting the locale in the filter -- The value for locale is correct, it is "es" ht...
286 Views
5 Replies
05-13-2024, 05:50 AM
kabeza
    Thread: Validation error messages keep being loaded from system
Post: RE: Validation error messages keep being loaded fr...

ALTITUDE_DEV Wrote: (05-10-2024, 07:27 AM) -- Hi do you have follow this steps : Step 1. in your App.php set defaultlocale + supportedLocales Step 2. make a file in app/Languages/es/Validation.p...
286 Views
5 Replies
05-10-2024, 07:36 AM
kabeza
  Question Thread: Validation error messages keep being loaded from system
Post: Validation error messages keep being loaded from s...

Hi I'm trying to translate the error messages from Validation service: I've set in app/Config/App.php Code: -- public string $defaultLocale = 'es'; public array $supportedLocales = ['en', '...
286 Views
5 Replies
05-10-2024, 05:59 AM
kabeza
    Thread: Trying to remove index.php from url in latest codeigniter 4.5.1
Post: RE: Trying to remove index.php from url in latest ...

demyr Wrote: (05-03-2024, 05:31 AM) -- Another way : Go to Public folder, move (or copy) htaccess and index.php to the main app folder. Then in your main app/index.php find the line 34 and change the...
681 Views
7 Replies
05-08-2024, 04:13 AM
kabeza
    Thread: Trying to remove index.php from url in latest codeigniter 4.5.1
Post: RE: Trying to remove index.php from url in latest ...

Bosborne Wrote: (05-02-2024, 09:44 AM) -- Does the file 'view_services' exist in the app/Views folder? -- Yes. When using index.php in the url, I've checked the controller/view worked fine ...
681 Views
7 Replies
05-03-2024, 04:43 AM
kabeza
    Thread: Trying to remove index.php from url in latest codeigniter 4.5.1
Post: Trying to remove index.php from url in latest code...

Hi I've started a new codeigniter 4.5.1 appstarter project at my PC and am having difficult time to remove the index.php from uri 1) This is the virtualhost set in my Apache. Points at public as s...
681 Views
7 Replies
05-02-2024, 08:57 AM
kabeza
    Thread: Segment length in uri problem
Post: RE: Segment length in uri problem

InsiteFX Wrote: (09-08-2023, 09:07 PM) -- Try using urlencode. -- added urlencode in the above shared functions and working great! Thanks
1,347 Views
7 Replies
09-11-2023, 03:43 PM
kabeza
    Thread: Segment length in uri problem
Post: RE: Segment length in uri problem

kenjis Wrote: (09-07-2023, 02:53 PM) -- Base64 string can contain "/". If your string contains "/", it is not a single segment. Try "(:any)". But a controller parameter only gets one segment. You ne...
1,347 Views
7 Replies
09-08-2023, 04:44 AM
kabeza
    Thread: Segment length in uri problem
Post: RE: Segment length in uri problem

What ? Don't you get 404 when throwing segments of 500 char long? Ouch .. then how could I debug the 404 error I'm getting? I've enabled debug, debugbar etc. but cannot get anything useful about ...
1,347 Views
7 Replies
09-07-2023, 09:12 AM
kabeza
    Thread: Segment length in uri problem
Post: Segment length in uri problem

Hi I've defined a new route as Code: -- $routes->get('/opendata/(:segment)', 'Tools::openData/$1'); -- This Tools/openData controller/fuction receives 1 parameter, which is a base64 encoded str...
1,347 Views
7 Replies
09-07-2023, 08:40 AM
kabeza
    Thread: Session destroyed when returning from external link
Post: RE: Session destroyed when returning from external...

EDIT: I could finally solve the issue. There was a f.... line hidden in some apache config file which looks like I've commented previously. Commented it again and now it is working Code: -- Head...
1,304 Views
5 Replies
06-27-2023, 04:56 AM
kabeza
    Thread: Session destroyed when returning from external link
Post: RE: Session destroyed when returning from external...

kenjis Wrote: (06-22-2023, 02:58 PM) -- Investigate "samesite cookie". -- Hi I've done the research, but cannot make the cookie to be set to None in the browser I've set the following into my ....
1,304 Views
5 Replies
06-23-2023, 05:06 AM
kabeza
    Thread: Session data lost after redirect randomly (CI4.1.5)
Post: RE: Session data lost after redirect randomly (CI4...

Hi pJenkiss / tipitjafar Could you solve this issue? If so, how?
6,645 Views
20 Replies
06-22-2023, 11:09 AM
kabeza
    Thread: Session destroyed when returning from external link
Post: Session destroyed when returning from external lin...

Hi I have a CI4 app where I use a very basic auth system This ci4 application is located in a subdomain I login the user and store some vars in session, etc. https://i.imgur.com/xmOvuq6.jpg S...
1,304 Views
5 Replies
06-22-2023, 09:09 AM
kabeza
    Thread: Creation of dynamic property Config\Cache::$file is deprecated
Post: RE: Creation of dynamic property Config\Cache::$fi...

kenjis Wrote: (04-26-2023, 04:43 AM) -- If you don't want to update your project files manually, Tatter\Patches does it automatically. https://github.com/tattersoftware/codeigniter4-patches -- Wow...
3,502 Views
8 Replies
04-26-2023, 05:04 AM
kabeza
    Thread: Creation of dynamic property Config\Cache::$file is deprecated
Post: RE: Creation of dynamic property Config\Cache::$fi...

kenjis Wrote: (04-25-2023, 05:38 PM) -- `composer update` does not change any your project files. It only updates files under vendor/. If you created your app with older version of CI4, the config f...
3,502 Views
8 Replies
04-26-2023, 04:29 AM
kabeza
    Thread: Creation of dynamic property Config\Cache::$file is deprecated
Post: RE: Creation of dynamic property Config\Cache::$fi...

captain-sensible Wrote: (04-24-2023, 12:00 PM) -- it looks like your on Linux  Code: -- rm -rf  vendor -- So you removed  dir vendor and contents. I don't do that when i update ; out o...
3,502 Views
8 Replies
04-25-2023, 04:12 AM
kabeza
    Thread: Creation of dynamic property Config\Cache::$file is deprecated
Post: Creation of dynamic property Config\Cache::$file i...

Hi I'm having some problems after upgrading PHP in a server I'm getting an exception Code: -- Creation of dynamic property Config\Cache::$file is deprecated -- I've also upgraded CodeIgniter a...
3,502 Views
8 Replies
04-24-2023, 08:40 AM
kabeza
    Thread: Library to generate API tokens without database
Post: RE: Library to generate API tokens without databas...

grimpirate Wrote: (04-19-2023, 03:59 PM) -- You might not have access to a full-fledged database but you could always try using a sqlite backend. Store all of your tokens inside a table in the sqlite...
722 Views
2 Replies
04-20-2023, 04:11 AM
kabeza
    Thread: Library to generate API tokens without database
Post: Library to generate API tokens without database

Hi I have a CI 4.3.x application that consists only of API calls to some server. Later I was requested to add some REST Api endpoints to this web application using ResourceController class etc. ...
722 Views
2 Replies
04-19-2023, 05:21 AM
kabeza

Theme © iAndrew 2016 - Forum software by © MyBB