Fatal Error when reaching first screen of albums.php...

leesteadman901
leesteadman901's picture

Joined: 2002-09-09
Posts: 3
Posted: Mon, 2002-09-09 14:52

Hi,
First up I would just like to praise the hard work and astonsihing software made by you people and the support has been nothing but exceptional and puts shame on a lot of software vendors (even ones that charge for their software!!!).

My cfg:
Apache running on Red Hat 6.2 with FTP and SSH access, connecting via WS_FTP Pro and Putty Telnet/SSH client.

Note: I mention this first because I thought it might plague me but I downloaded jhead for linux and it tried to save itself as a txt file so I thought that was odd so I change file extension to .exe and uploaded it to my cgi bin and that got rid of the red writing saying that it couldn't find file jhead.exe, all *seemed* well...

I have battled through the set-up and managed to pin all errors down to have no red writing when completeing configuration and then clicking 'save..' to get linked to an error page (../albums.php) with the following message (Debug mode is on):

Fatal error: Failed to initialize session module in /home/steadnet/public_html/gallery/session.php on line 51

Any ideas, kicks in the arse, solutions will be much appreciated seeing as this software is so mentallistic and cool I cant wait to use it!!! :smile:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2002-09-10 03:47
Quote:
Hi,
First up I would just like to praise the hard work and astonsihing software made by you people and the support has been nothing but exceptional and puts shame on a lot of software vendors (even ones that charge for their software!!!).

Thanks!

Quote:
Fatal error: Failed to initialize session module in /home/steadnet/public_html/gallery/session.php on line 51

Hmm. Sounds like your PHP installation is not configured to use sessions properly. Check out the PHP diagnostic in the setup wizard and look for the "Sessions" section. Make sure that the sessions feature is turned on correctly. Also make sure that the "session test" diagnostic passes successfully. If you're having trouble with this you might want to talk to your system administrator.

 
leesteadman901
leesteadman901's picture

Joined: 2002-09-09
Posts: 3
Posted: Fri, 2002-09-13 10:43

Hi,
I have run the diagnsotics and it aggrees with what your saying and so I chased up with my web server admin and they promptly replied with this request:

Quote:
>>Can you provide us with more detailed information on how the application uses sessions.
We do support sessions as of PHP V 4.0.6 but some advanced functions are not supported.

Thanks for any help given, Lee Steadman

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-14 03:58

Send them the check_session.php file out of the setup directory; it's an example of the way that the rest of the Gallery code works. If they get that working, then the rest of Gallery will work also.

 
leesteadman901
leesteadman901's picture

Joined: 2002-09-09
Posts: 3
Posted: Mon, 2002-09-16 13:21

Hi,
I don't appear to have a file called that. I have (in the setup directory) a file simarlily named session_test.php - this being the one I think we're talking about, if you could confirm then I'll send that along to my web host's tech support.

Many thanks, Lee Steadman.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-09-18 07:33

Oops, that's what I get for not using a standard naming scheme. Yes, "session_test.php" is the right file.