Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Problem with sessions, stored in files
Post: RE: Problem with sessions, stored in files

InsiteFX Wrote: (12-18-2024, 10:55 PM) -- It sounds like it may have something to do with the way the server is configured. Ask your server provider to check on this for you. -- No way I'll be a...
1,608 Views
5 Replies
12-19-2024, 06:16 AM
kabeza
    Thread: Problem with sessions, stored in files
Post: RE: Problem with sessions, stored in files

I've tried that way - initializing in BaseController - using the session helper to set and to get data When trying at localhost, it works fine http://localdev/setc/2501515 http://localdev/getc ...
1,608 Views
5 Replies
12-18-2024, 05:02 AM
kabeza
    Thread: Problem with sessions, stored in files
Post: Problem with sessions, stored in files

I'm having a problem with sessions I need to store a value in a session so in case user is not logged in. I store this value and after user logs in, I redirect him to the right url etc. I've made ...
1,608 Views
5 Replies
12-16-2024, 09:01 AM
kabeza
    Thread: Codeigniter and ReactJS
Post: RE: Codeigniter and ReactJS

ozornick Wrote: (08-14-2024, 06:11 AM) -- Try move app in subfolder. https://codeigniter4.github.io/userguide/general/managing_apps.html#managing-your-applications Otherwise, your public/ will be lik...
13,335 Views
11 Replies
08-14-2024, 06:27 AM
kabeza
    Thread: Codeigniter and ReactJS
Post: RE: Codeigniter and ReactJS

ozornick Wrote: (08-13-2024, 10:51 AM) -- What is the problem? You can't open it public/index.html ? However, I do not know how the routes from React will work together with CodeIgniter 4, but most ...
13,335 Views
11 Replies
08-14-2024, 04:37 AM
kabeza
    Thread: Codeigniter and ReactJS
Post: RE: Codeigniter and ReactJS

Hi Sorry to bump but I'm still trying to figure out how to integrate a ReactJS landing spa into codeigniter, which is already working (it is not an api, it is a full web app). I must figure a way...
13,335 Views
11 Replies
08-13-2024, 05:07 AM
kabeza
    Thread: Session data lost/destroyed with an Ajax call
Post: Session data lost/destroyed with an Ajax call

Hi I've been working on a local virtualhost on my PC with a codeigniter app I've made a route ("main"). In the associated controller, I set some session data and load a main_view In the main_view...
904 Views
1 Replies
06-28-2024, 08:53 AM
kabeza
    Thread: Host a ReactJS landing page in same codeigniter App
Post: Host a ReactJS landing page in same codeigniter Ap...

Hi I'm working with a CodeIgniter application and now need to integrate a landing page into it The landing page is being developed in ReactJS and now I need to host it somewhere inside the codeign...
1,563 Views
1 Replies
06-27-2024, 06:17 AM
kabeza
    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...
1,730 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...
1,730 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', '...
1,730 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...
6,549 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 ...
6,549 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...
6,549 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
3,595 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...
3,595 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 ...
3,595 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...
3,595 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...
2,415 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 ....
2,415 Views
5 Replies
06-23-2023, 05:06 AM
kabeza

Theme © iAndrew 2016 - Forum software by © MyBB