Welcome Guest, Not a member yet? Register   Sign In
Problem with session_start()
#5

(This post was last modified: 01-29-2016, 12:24 PM by moshair.)

Hello,

If you put a file php.ini in your website or in any folder it will change the php.ini default settings for values in it. Also if you contact the hosting support they may fix it in the server settings. This error related to the server more than the CI, I remember it happened with me before years and I was not using CI, using that php.ini solved it and now it seems it is fixed by the hosting company. Note: using custom php.ini file I think started with php 5.3.6.

Also you can try the solution by josepostiga.

Regards,



(01-29-2016, 07:27 AM)Mitteg Wrote: Hello,

I do not have access to the php.ini file. Any other ideas? Don't you think it has something to do with how CI3.0 handles sessions? session_start() is php native whereas CI uses his own implementation of sessions. I think this could cause the issue but not sure how to fix it.

Thanks anyway.

(01-29-2016, 07:08 AM)moshair Wrote: Try:
Open your php.ini file with the File Manager in cPanel (if it is not exists create one)
Add the following line of code to top of your php.ini file
date.timezone = "US/Central"
Replace "US/Central" with the timezone that corresponds to the time you want to display.

http://www.php.net/manual/en/timezones.php
Reply


Messages In This Thread
Problem with session_start() - by Mitteg - 01-29-2016, 05:28 AM
RE: Problem with session_start() - by moshair - 01-29-2016, 07:08 AM
RE: Problem with session_start() - by Mitteg - 01-29-2016, 07:27 AM
RE: Problem with session_start() - by josepostiga - 01-29-2016, 07:36 AM
RE: Problem with session_start() - by Mitteg - 02-01-2016, 12:27 AM
RE: Problem with session_start() - by moshair - 01-29-2016, 12:16 PM
RE: Problem with session_start() - by Mitteg - 02-05-2016, 04:36 AM
RE: Problem with session_start() - by Mitteg - 02-08-2016, 04:05 AM
RE: Problem with session_start() - by mwhitney - 02-09-2016, 08:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB