Page 1 of 1
serendipity_admin.php could not be found
Posted: Thu Jul 21, 2005 11:28 pm
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.
Posted: Fri Jul 22, 2005 12:00 am
by kidgoo
Make sure you have a trailing / in the paths section. Ex:
/var/www/blog should be /var/www/blog/
Brett
Posted: Fri Jul 22, 2005 1:13 am
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.

Posted: Fri Jul 22, 2005 1:48 am
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...
Posted: Fri Jul 22, 2005 5:40 am
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?
Posted: Fri Jul 22, 2005 6:22 am
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