[SOLVED] error loading install/index.php

seabones

Joined: 2005-03-22
Posts: 5
Posted: Tue, 2005-03-22 22:17

Have tried searching the forum but have not found this question before, I hope I am not asking it again.
On two different web servers (my home comp, and my website host) I get this error when trying to load install/index.php

"Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /Volumes/xeon/extraUsers/sea/Sites/houseofart/gallery2/install/index.php on line 74"

Have I overlooked something in the installation process?

----

Gallery URL (optional):
Gallery version: 2.0 beta (dark fibre)
Webserver (with version): Apache 1.3.33
Datatabase (with version):
PHP version (eg 4.2.1): 4.3.10
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system: Linux & Mac
Web browser/version: Safari & Firefox
G1 version (for migration bugs):

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-03-22 22:30

the installer requires session support from PHP.. you'll need to get your PHP working correctly.

 
seabones

Joined: 2005-03-22
Posts: 5
Posted: Tue, 2005-03-22 22:36

According to phpinfo() session support is enabled. Is there some specific set up required? If so where can I find this?
Thanks for your help

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-03-22 23:01

what about write permission for the webserver user on /tmp ?

 
seabones

Joined: 2005-03-22
Posts: 5
Posted: Tue, 2005-03-22 23:07

my web root tmp dir was 777, and the root tmp was 700, I then changed this to 777 but still the same error.
Which of these will it be using anyway?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-03-22 23:13

just the /tmp, that's the absolute path and has nothing to do with your webroot. but mindless may be right about your php not being set up correctly for sessions. maybe google can help.

 
seabones

Joined: 2005-03-22
Posts: 5
Posted: Tue, 2005-03-22 23:21

It does seem odd though that I am getting the same error of two different servers. Could it be a problem with the gallery build which I downloaded? It was the beta from sourceforge (earlier today).
I will talk to my hosting people to see what they say about php sessions.
Thanks for the help

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-03-22 23:31

the very same gallery "build" runs successfully on lots of other setups and no1 had the error you describe.

 
grahamb

Joined: 2005-03-22
Posts: 46
Posted: Tue, 2005-03-22 23:34

Funnily enough I got the beta today and had problems as well. Although it was a different initial issue, I've since run into version & manifest issues with the nightly builds and a direct, complete checkout from CVS too.

http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=27869

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-03-22 23:40

grahamb, please don't cross post your problem. it's something different which will be discussed in your own topic.

 
grahamb

Joined: 2005-03-22
Posts: 46
Posted: Tue, 2005-03-22 23:46
valiant wrote:
grahamb, please don't cross post your problem. it's something different which will be discussed in your own topic.

It wasn't a crosspost as such, more of a pointer for the OP to read to see if it shed any light on his issues.

 
seabones

Joined: 2005-03-22
Posts: 5
Posted: Tue, 2005-03-22 23:48

Solved it!
I am running drupal on my site also, and it put in a .htaccess file with the line php_value session.save_handler user
which messes it up, just commenting it out solves it.
Thanks to opensourcehost who did it

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-03-22 23:50

his problem is related to the php setup, i.e.
"Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /Volumes/xeon/extraUsers/sea/Sites/houseofart/gallery2/install/index.php on line 74"

and your problem is completely different. 'nough said.

 
grahamb

Joined: 2005-03-22
Posts: 46
Posted: Tue, 2005-03-22 23:54

I was reacting more to the fact that we'd both used the same version of code and run into problems, that's all.

Anyway, he's sorted now, so it's academic.

(and yes I know it turned out to be environmental, but it wasn't beyond the realms of possibility that there was some relationship between the two issues, especially given the nature of the disparities I'm coming across. It honeslt was just an attempt to corrobate information, I'm not in the habit of nicking someone else's platform to raise awareness of my own problems. ).

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-03-22 23:59

lol, i'm not arguing, just clarifying that your posts in this topic are irrelevant for seabones.

no offence, just clarifying and trying to not discuss this non-topic any further :)

 
grahamb

Joined: 2005-03-22
Posts: 46
Posted: Wed, 2005-03-23 00:00

Apologies if I've seemed over-aggressive....2m, 3d, 6h and 59m since my last cig ;)