• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI4 running in apache server virtualhost. Failed to decode session object.

#1
Requesting multiple connection to the server using session() will return an error.

session_start(): Failed to decode session object. Session has been destroyed

I am using a virtualhost in my wampp server to connect to the public folder of CI4. Every time I have concurrent request to the server I will get this error and will redirect to the login page because the session was destroyed. 

I also added the line below to my virtualhost to save the sessions on a specific project.
php_value session.save_path "${INSTALL_DIR}/www/CI4/writable/session"

I got this error on php logs:

Quote:PHP Fatal error:  Uncaught ErrorException: Unknown: Cannot call session save handler in a recursive manner in Unknown:0

Do you have any idea about this? or can you recommend other way to point the specific project to the public folder? I can't change my DocumentRoot because there are multiple projects on my server.
Reply


Messages In This Thread
CI4 running in apache server virtualhost. Failed to decode session object. - by gentlemanoi - 10-21-2019, 07:59 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.