Jump to content

StevieC87

New Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by StevieC87

  1. I had the same issue, and in my case I had a php.ini file that wasn't being applied to the subfolders. I did phpinfo and you can see it there: Loaded Configuration File . Then I compared both pages, the one in the main directory, and the one in the subdirectory (where the session wasn't being loaded), and the subdirectory was using another php.ini (the default from the host). Because in the php.ini you define the tmp folder where the session is saved. So then i added this to .htaccess so my custom php.ini file was accessible for the subdirectories <IfModule mod_suphp.c> suPHP_ConfigPath /home/USERNAME/PATH/TO/INI/ </IfModule> Ok hope this helps!
  2. I had the same issue, and in my case I had a php.ini file that wasn't being applied to the subfolders. I did phpinfo and you can see it there: Loaded Configuration File . Then I compared both pages, the one in the main directory, and the one in the subdirectory (where the session wasn't being loaded), and the subdirectory was using another php.ini (the default from the host). Because in the php.ini you define the tmp folder where the session is saved. So then i added this to .htaccess so my custom php.ini file was accessible for the subdirectories <IfModule mod_suphp.c> suPHP_ConfigPath /home/USERNAME/PATH/TO/INI/ </IfModule> Ok hope this helps!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.