Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CI2/3 and CI4 in parallel
Post: RE: CI2/3 and CI4 in parallel

mkganesh Wrote: (02-09-2024, 09:36 AM) -- Are you able to share the session data between CI3 and CI4? -- So after some tinkering, I was able to come up with the following solution that works for me...
1,024 Views
6 Replies
02-22-2024, 09:52 PM
berky
    Thread: CI2/3 and CI4 in parallel
Post: RE: CI2/3 and CI4 in parallel

mkganesh Wrote: (02-09-2024, 09:36 AM) -- Are you able to share the session data between CI3 and CI4? -- I don't think there's an easy way to do it. In my CI4, prior to each page load, I am able t...
1,024 Views
6 Replies
02-09-2024, 02:30 PM
berky
    Thread: ErrorException: ini_set() A session is active.
Post: RE: ErrorException: ini_set() A session is active.

Thanks for your help. Ultimately it seems like it's going to be easier for me to just maintain multiple files until we get to the point where we can rid ourselves of the other environment. Thankfully...
1,793 Views
7 Replies
01-29-2024, 09:26 AM
berky
    Thread: ErrorException: ini_set() A session is active.
Post: RE: ErrorException: ini_set() A session is active.

kenjis Wrote: (01-26-2024, 09:17 PM) -- berky Wrote: (01-26-2024, 09:05 PM) -- My header helper literally just loads a few pure php files. header.php --> starts php session, so it can check whether...
1,793 Views
7 Replies
01-27-2024, 07:00 AM
berky
    Thread: ErrorException: ini_set() A session is active.
Post: RE: ErrorException: ini_set() A session is active.

kenjis Wrote: (01-26-2024, 08:53 PM) -- What is your header helper ? You must not call PHP header() function in CI4 app. All headers are managed by CI4 Response object. -- My header helper litera...
1,793 Views
7 Replies
01-26-2024, 09:05 PM
berky
    Thread: ErrorException: ini_set() A session is active.
Post: ErrorException: ini_set() A session is active.

I'm getting the following error with CI4. Note that the site I'm dealing with is a combination of pure php and CI. I also only have 1 page in CI4, as I'm just starting to 'migrate' to it. Code: -...
1,793 Views
7 Replies
01-26-2024, 07:54 PM
berky
    Thread: CI2/3 and CI4 in parallel
Post: RE: CI2/3 and CI4 in parallel

I think I might have just figured this out using basic .htaccess rewrite. In my CI2/3 root (/path/to/project), I added this to the top of my rewrite section: Code: --   # CI4 controllers redirect...
1,024 Views
6 Replies
12-17-2023, 11:09 PM
berky
    Thread: CI2/3 and CI4 in parallel
Post: CI2/3 and CI4 in parallel

Let's say I have a site that is currently a combination of CI2 and pure php.  I will be working on upgrading the CI2 portion to the latest CI3, but as I understand that, it is all in place, such that ...
1,024 Views
6 Replies
12-16-2023, 08:42 PM
berky

Theme © iAndrew 2016 - Forum software by © MyBB