News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

help with ssi.php session loading error

Started by aubstar, May 16, 2009, 09:57:23 PM

Previous topic - Next topic

aubstar

In attempting to use the recent topic function to list recent board topics on a different page, I keep getting this error prior to signing in then coming back to the page.


Notice: SSI.php was unable to load a session! This may cause problems with logout and other functions - please make sure SSI.php is included before *anything* else in all your scripts!

The SSI.php is before everything else in the code. Would appreciate any tips and/or help.

Thanks

JBlaze

Can you attach the file that includes SSI.php?
Jason Clemons
Former Team Member 2009 - 2012

DavidCT

This seems to be asked ALOT.  Are you using a portal like Joomla?  Someone said that causes problems.

One thing you could try is auto-start sessions in Apache.  I don't know if this is the right syntax or if it'll even fix it, but...

htaccess (for non-wrapped php, will cause a SERVER 500 error if php is wrapped)

php_value session.auto_start 1


php.ini (for wrapped-php (place php.ini in every folder))

session.auto_start = on


Advertisement: