Page 1 of 1
Installing latest Snapshot 200411291337 on Mac OS X
Posted: Mon Nov 29, 2004 6:22 pm
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

Re: Installing latest Snapshot 200411291337 on Mac OS X
Posted: Mon Nov 29, 2004 6:25 pm
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
Posted: Mon Nov 29, 2004 6:33 pm
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?

Posted: Mon Nov 29, 2004 6:38 pm
by SecretSurfer
Now I’m a registered member

Posted: Tue Nov 30, 2004 9:08 am
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.
Posted: Tue Nov 30, 2004 12:59 pm
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.
Posted: Tue Nov 30, 2004 1:12 pm
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.
Posted: Tue Nov 30, 2004 1:20 pm
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
Posted: Tue Nov 30, 2004 1:25 pm
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!
Posted: Tue Nov 30, 2004 1:29 pm
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.
Posted: Tue Nov 30, 2004 1:32 pm
by SecretSurfer
I will do my very best, Miss Sophie

Posted: Tue Nov 30, 2004 2:11 pm
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.
Posted: Tue Nov 30, 2004 2:46 pm
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!
Posted: Tue Nov 30, 2004 2:51 pm
by SecretSurfer
The lastest snapshot (s9y_200411301439) is already up and running
Thanks a lot!