Installing latest Snapshot 200411291337 on Mac OS X

Having trouble installing serendipity?
Post Reply
SecretSurfer

Installing latest Snapshot 200411291337 on Mac OS X

Post by SecretSurfer »

Hello :-)

Today I’ve tried to install the latest snapshot on my Mac OS X based server running PHP5 5.0.2 on 4D WebSTAR. Unfortunately I’m unable to get behind the index page. The server logs the following error...

PHP Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: ) in /Volumes/PLADDE/WEBSTAR/BLOG/index.php on line 10

Running S9Y v. 0.7 with 4D WebSTAR and PHP4 4.3.9 works very well. But none of the tested versions (0.7 and latest snapshot) will work with PHP5.

Could you please help us?

Thanks a lot for your patience :-)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Installing latest Snapshot 200411291337 on Mac OS X

Post by garvinhicking »

That's not a matter of s9y or PHP5, but of a wrongly configured PHP. Please edit your php.ini and see if session.save_path is set correctly! :-)

Good luck,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

Session path ist set to /tmp as it is for PHP4!

If it were a misconfigured php.ini, it should run with PHP 4.3.9 as your version 0.7 does, shouldn’t it?

:-)
SecretSurfer
Regular
Posts: 16
Joined: Mon Nov 29, 2004 6:36 pm
Location: Duesseldorf - Germany
Contact:

Post by SecretSurfer »

Now I’m a registered member :-)
SecretSurfer
Regular
Posts: 16
Joined: Mon Nov 29, 2004 6:36 pm
Location: Duesseldorf - Germany
Contact:

Post by SecretSurfer »

I double-checked all PHP (4 & 5) related session settings and now they aren’t my problem anymore. Now I’m having trouble continuing ’cause the server is logging the following error ...

PHP Fatal error: Call to undefined function serendipity_userLoggedIn() in /Volumes/PLADDE/WEBSTAR/BLOG/sv9/serendipity_admin.php on line 42

It seems some includes doesn’t work :(

btw.: Maybe it’s useful to know I’ve disabled the "iframe" test routine.
*************************************
PHPStar - the missing gear in your web engine
Visit http://phpstar.keywerks.de
*************************************
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

That function sounds like you don't have extracted the right directory scheme? Do you have an 'include' subdirectory with several more subdirectories?

The serendipity_userLoggedIn function is declared in include/functions.inc.php...

Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
SecretSurfer
Regular
Posts: 16
Joined: Mon Nov 29, 2004 6:36 pm
Location: Duesseldorf - Germany
Contact:

Post by SecretSurfer »

Yes, I have the "include" directory and all files needed seem to be in there. The file "functions.inc.php" is present.

I’ve tried to hard-link this file by hacking your "serendipity_config.inc.php" as I did with "functions_config.inc.php", because of the "serendipity_getTemplateFile" function that couldn’t be found otherwise, but it didn’t help :(

It seems to be a general linking problem.
*************************************
PHPStar - the missing gear in your web engine
Visit http://phpstar.keywerks.de
*************************************
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

That is really strange, I could only imagine it to be a MacOS problem. Can you debug if the 'functions.inc.php' is included? Trace the steps that serendipity_config.inc.php does and see if some directories (S9Y_INCLUDE_PATH, ...) are set wrong.

Maybe you even have $serendipity['serendipityPath'] set in a wrong way in your Serendipity configuration?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
SecretSurfer
Regular
Posts: 16
Joined: Mon Nov 29, 2004 6:36 pm
Location: Duesseldorf - Germany
Contact:

Post by SecretSurfer »

garvinhicking wrote:That is really strange, I could only imagine it to be a MacOS problem.
I don’t think so, because everything went fine until s9y v. 0.8
garvinhicking wrote:Can you debug if the 'functions.inc.php' is included? Trace the steps that serendipity_config.inc.php does and see if some directories (S9Y_INCLUDE_PATH, ...) are set wrong.
I will try to debug this!
garvinhicking wrote:Maybe you even have $serendipity['serendipityPath'] set in a wrong way in your Serendipity configuration?
All errors occur while trying to install v0.8 for the first time. No settings done at all!
Last edited by SecretSurfer on Tue Nov 30, 2004 1:29 pm, edited 1 time in total.
*************************************
PHPStar - the missing gear in your web engine
Visit http://phpstar.keywerks.de
*************************************
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Ah, okay - it already happens in installation. I'll also try to debug it...report back if you find something, please :-)

(or drop in to #s9y on IRC-freenode :-)

Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
SecretSurfer
Regular
Posts: 16
Joined: Mon Nov 29, 2004 6:36 pm
Location: Duesseldorf - Germany
Contact:

Post by SecretSurfer »

I will do my very best, Miss Sophie :D
*************************************
PHPStar - the missing gear in your web engine
Visit http://phpstar.keywerks.de
*************************************
SecretSurfer
Regular
Posts: 16
Joined: Mon Nov 29, 2004 6:36 pm
Location: Duesseldorf - Germany
Contact:

Post by SecretSurfer »

I’ve tried to debug your scripts and it seems in file serendipity_config.inc.php on line 141

include_once(S9Y_INCLUDE_PATH . 'include/functions.inc.php');

is never reached. The script seems to exit this file before calling the needed include() or it dies somewhere I cannot figure out.
*************************************
PHPStar - the missing gear in your web engine
Visit http://phpstar.keywerks.de
*************************************
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Thanks a lot, I've found out that due to some changes the snapshot was really not installable.

I have moved around the functions into the right places, but the changes are too numerous to mention here. Please fetch the snapshot on http://www.s9y.info/ generated a few minutes ago, it should work there!
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
SecretSurfer
Regular
Posts: 16
Joined: Mon Nov 29, 2004 6:36 pm
Location: Duesseldorf - Germany
Contact:

Post by SecretSurfer »

The lastest snapshot (s9y_200411301439) is already up and running :D

Thanks a lot!
*************************************
PHPStar - the missing gear in your web engine
Visit http://phpstar.keywerks.de
*************************************
Post Reply