When I go to install Gallery2 I get three lines of errors. Any solutions?
Warning: session_start() [function.session-start]: open(/var/php_sessions/sess_1d4b5cdf91596c9f64a7040501d87c14, O_RDWR) failed: No such file or directory (2) in /hermes/bosweb/web140/b1407/ipw.ctrice/public_html/gallery/lib/support/GallerySetupUtilities.class on line 357
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /hermes/bosweb/web140/b1407/ipw.ctrice/public_html/gallery/lib/support/GallerySetupUtilities.class:357) in /hermes/bosweb/web140/b1407/ipw.ctrice/public_html/gallery/lib/support/GallerySetupUtilities.class on line 357
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/bosweb/web140/b1407/ipw.ctrice/public_html/gallery/lib/support/GallerySetupUtilities.class:357) in /hermes/bosweb/web140/b1407/ipw.ctrice/public_html/gallery/lib/support/GallerySetupUtilities.class on line 357
Gallery version (2.3):
PHP version (4.4.8):
Database (5.0.45):
Browser (e.g. Firefox 3.5.3):
Posts: 16503
you need to set the session.save_path to a directory that's readable and writable by the web server.
You can change this in your php.ini or in your .htaccess (search google) or you can contact your host and ask them to fix the issue.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 2
Thanks so much! It worked!
Posts: 6
Hi,
Sorry for being a bit of a dumb-ass, but I'm getting the same error, but I don't seem to have a php.ini or .htaccess??
I've only just downloaded the latest version of the software, should I be looking for something different?
I've reset the permissions on the folder containing the gallery software to 777, and I've had to upload the unzipped files manually as my host provider doesn't seem to let me unzip a .gz file (frustratingly)..
Any suggestions on how I can get around this?
Thanks
Posts: 16503
knownoversight,
You'd need to create the .htaccess file
For the php.ini file that all depends on your host's environment. If making that change to your .htaccess doesn't work, contact your host about getting that properly setup.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 6
Thanks for the pointer.
Is there anything in particular which needs to go in the .htaccess file?
Or can it just be blank?
Is there somewhere I can get a sample .htaccess file?
Posts: 16503
www.google.com
php_flag session.save_path /tmp____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 6
Right, so I have this problem sorted now.
It was (as I guess we all knew) nothing to do with the installation or what might or might not be included in the install in the way of files, it was more to do with what my hosting provider would and wouldn't allow.
I basically wasn't able to extract files in my server space, and it appeared that even using files I extracted locally, then copied up to the server wouldn't work either as they were 'unsafe'...whatever that meant.
So, helpfully, my host sent me the following link:
http://blog.foks.se/files/gallery-2.3-full-safemode.zip
This worked first time, so hopefully it'll work for you as well...
Posts: 4338
That's a version that's been hacked to run in Safe Mode, and has no official support. You may run into problems with it later. If your host won't disable Safe Mode then it's much better that you should find a different host - one that understands that safe mode is a stupid idea and adds nothing to security (and that, incidentally, it has been removed from the next release of php).
Everyone who helps out on this Forum will give you the same very very strong advice - change hosts.