serendipity_admin.php could not be found

Having trouble installing serendipity?
Post Reply
francisco
Regular
Posts: 42
Joined: Thu Jul 21, 2005 9:33 pm

serendipity_admin.php could not be found

Post by francisco »

It seems when I did the installation somehow I indicated a wrong path.
I was able to get to the admin page by manually typing the URL, but would like to fix it.

From the admin page I go into
Configuration
Paths

and the path there is correct
Any suggestions?
The Error shows
<url>serendipity_admin.php

It's missing the "/" between URL and program name.
kidgoo
Regular
Posts: 71
Joined: Thu May 12, 2005 6:53 am

Post by kidgoo »

Make sure you have a trailing / in the paths section. Ex:

/var/www/blog should be /var/www/blog/

Brett
francisco
Regular
Posts: 42
Joined: Thu Jul 21, 2005 9:33 pm

Post by francisco »

Thanks that works.
Wouldn't it be wise for the program to check for this?
It's a near trivial change which would help clueless newbies like myself. :-)
kidgoo
Regular
Posts: 71
Joined: Thu May 12, 2005 6:53 am

Post by kidgoo »

It may be wise, but the admin page does say explicitly "Do not forget trailing slashes for directories!" and it even gives examples...At least if you're using the English localization...
francisco
Regular
Posts: 42
Joined: Thu Jul 21, 2005 9:33 pm

Post by francisco »

kidgoo wrote:It may be wise, but the admin page does say explicitly "Do not forget trailing slashes for directories!" and it even gives examples...At least if you're using the English localization...
Didn't see it.
Why would it be so bad to check it on the code?
kidgoo
Regular
Posts: 71
Joined: Thu May 12, 2005 6:53 am

Post by kidgoo »

I didn't write the code for it, but in general, allowing users to get sloppy with the configuration is a Bad Idea. Checking code and emiting warnings is one thing, but altering configuration data is a whole other...I think it may be more important that the notice to include the trailing slash was in an inconspicuous place than that it isn't corrected automatically when saved.

Brett
Post Reply