[SOLVED] installation problems, session errors?

tritesnikov

Joined: 2005-04-06
Posts: 2
Posted: Wed, 2005-04-06 01:42

I recently installed gallery 2 from cvs and am getting some errors when I first access it to set it up. The following errors appear at the top of the page and I'm not quite sure where they are coming from as I don't have any problems with phpbb or coppermine which I also have installed:

Warning: session_start() [function.session-start]: open(/root/tmp/sess_d3dcffcf5880a2e7299d4f09529cff9c, O_RDWR) failed: Permission denied (13) in /usr/local/apache2/htdocs/gallery2/install/index.php on line 74

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /usr/local/apache2/htdocs/gallery2/install/index.php:74) in /usr/local/apache2/htdocs/gallery2/install/index.php on line 74

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/local/apache2/htdocs/gallery2/install/index.php:74) in /usr/local/apache2/htdocs/gallery2/install/index.php on line 74

Any help is appreciated.
----

Gallery URL (optional):
Gallery version: 2..0 Beta from cvs as of 4/5/05
Webserver (with version):apache 2.0.53 from source
Datatabase (with version):mysql 4.1.10a
PHP version (eg 4.2.1):5.0.3
phpinfo URL (optional):
Graphics Toolkit(s):imagemagick
Operating system: mandrake 10.1
Web browser/version: firefox 1.0.2
G1 version (for migration bugs):

 
tritesnikov

Joined: 2005-04-06
Posts: 2
Posted: Wed, 2005-04-06 03:09

Well, I figured out the problem. I just set session.save_path = "/tmp" in the php.ini file. I don't really know where it was picking up the /root/tmp/ setting from, but whatever it works now. Hopefully if anybody else has this problem, this post will help.