Installation won't start. . . fatal error. . .

Having trouble installing serendipity?
Post Reply
EMG

Installation won't start. . . fatal error. . .

Post by EMG »

I've tried the two latest version of the Serendipity with no luck. Each returns the following error when I access the folder to start the installer:

Warning: Failed opening 'serendipity_config.inc.php' for inclusion (include_path='/usr/sausalito/ui/libPhp') in /home/groups/home/web/serendipity/index.php on line 11

Fatal error: Call to undefined function: serendipity_login() in /home/groups/home/web/serendipity/index.php on line 12

Thanks for any help,

Eric
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Installation won't start. . . fatal error. . .

Post by garvinhicking »

This looks like a garbaged installation file download. Did you check if that mentioned 'serendipity_config.inc.php' file exists? We bundle it with our files, it needs to be there!

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/
EMG

Re: Installation won't start. . . fatal error. . .

Post by EMG »

Yes, checked before I posted and it's there. Would have surprised me if I got two garbage downloads of two different versions from two different servers. I guess anything's possible though.

Somehow I think the key is the Line 11 warning about the "path". I even specifically added that path to my path. . . not to line 11 though. I can't figure that out anyway.

Anyway, would really like to try this out but I'm at a loss.

garvinhicking wrote:This looks like a garbaged installation file download. Did you check if that mentioned 'serendipity_config.inc.php' file exists? We bundle it with our files, it needs to be there!

Regards
Garvin
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Installation won't start. . . fatal error. . .

Post by garvinhicking »

EMG, you are right about your include_path. How/where did you set that? include_path should always include "." as a path!

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/
EMG

Re: Installation won't start. . . fatal error. . .

Post by EMG »

Well, I added the path as listed in the error to the actual path for the server itself. I did not, though I tried unsuccessfully to, add it to the PHP script. I must have made some syntax error and I'm not a coder so I really couldn't see what I did. It just kept returning a parse error for line 11 when I did.

Can you tell me how to add that path to line 11 or is that not necessary. and by "." do you mean root? I've been out of the Linux game for a number of years now and enjoying not having to deal with this stuff. I see now I should have kept my hand in for this eventuality. ;-)

garvinhicking wrote:EMG, you are right about your include_path. How/where did you set that? include_path should always include "." as a path!

Regards,
Garvin
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Installation won't start. . . fatal error. . .

Post by garvinhicking »

EMG, you shouldn't modify the "include_path" setting in serendipity_config at all! Revert any changes you did to that file.

You should modify the include_path setting inside your Apache httpd.conf (php_value include_path ...) or your php.ini file (include_path = ...).

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/
MASiR

Same problem

Post by MASiR »

Warning: Failed opening '//include/compat.inc.php' for inclusion (include_path='.:/usr/freeware/lib32:/usr/people/apache/htdocs/horde/pear') in /serendipity_config.inc.php on line 21
I do not have access to the include path setting on the server, since it is the schools webspace on which each student has his own webspace ..
MASiR

Post by MASiR »

editing a line in the config.inc into define('S9Y_INCLUDE_PATH', '/usr/people/matthij1/public_html/blog/'); got me a bit further ..

But now, after going to step 2 in the install, step 3 is not accessible ..

Can it be that in include/admin/installer.inc.php line 29, you check for $serendipity['GET']['step'] == 3, while is has been POSTed before through the form??
MASiR
Regular
Posts: 22
Joined: Thu Mar 31, 2005 2:30 am

register

Post by MASiR »

decided to register .. makes forum life a lot easier .. ;)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: register

Post by garvinhicking »

This was indeed a bug related to register_globals set to ON on the webserver.

I've fixed the bug in Serendipity's CVS, a beta5 will supposedly be created tomorrow.

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/
Post Reply