Page 1 of 1
Blog stopped working
Posted: Sun May 18, 2008 5:58 pm
by david@mediacopy
Hi, I've just tried to see my blog and I get the error:
"serendipity error: could not include /home/davidtap/web/blog/serendipity_config_local.inc.php - exiting.
Please create the file yourself or check permissions"
The site has been working fine for several weeks. A second installation I look after on the same server has the same issue.
I've tried to reset the permissions with a FTP program but the request is denied. I also used the fixperm.php script from the site, but again permission is denied.
I'm trying to back up "serendipity_config_local.inc.php" but no joy and I can't edit it. The current attributes setting is: 700
Edit: This seems to be the only file I can't change the attributes for. I'm also unable to FTP it to my local machine to it back-up.
Any idea's ?
Cheers
David
Re: Blog stopped working
Posted: Sun May 18, 2008 8:52 pm
by garvinhicking
Hi!
Sounds as if your hoster changed user ownerships.Please contact him so that proper privileges can be restored.
regards,
garvin
Posted: Sun May 18, 2008 11:02 pm
by david@mediacopy
Cheers ! Will do.
Posted: Mon May 19, 2008 6:20 pm
by david@mediacopy
they are saying nothing 'should' have changed - BUT they have moved to a new server with a different IP.
Would this affect the install ?
They are trying to get me to reinstall Serendipity, which I don't mind, but I can't make a copy of the "serendipity_config_local.inc.php" file.
I have backed up the old php & SQL - could I use this to restore the old content if need be ?
thanks for your help

Posted: Mon May 19, 2008 7:39 pm
by garvinhicking
Hi!
Yeah. For some plugin caches, s9y stores absolute paths inside the database, to be compatible with shared installs. Sadly thismeans when you move your server (or the paths changes) that you need to use a tool like phpmyadmin to fix up all path occurences. Usually, that should only be the serendipity_pluginlist DB table, but it won't hurt to search the whole database for thepaths.
And of course, paths are stored in theprimary serendipity_config DB table.
.
Regards,
Garvin
Posted: Mon May 19, 2008 8:23 pm
by david@mediacopy
Cheers - I'll check it out.
Posted: Tue May 20, 2008 10:50 am
by david@mediacopy
Sorry, not having much luck with this.
I've checked the sql dump from myadmin and I've found the absolute paths in the tables you mention. The problem is they seem to be exactly the same as the install on the server.
Does the software reference the IP of the server ? I can't see it in the SQL.
I'm starting to think about a fresh install, but as things stand I'm still unable to do anything with the "serendipity_config_local.inc.php" due to it's current 700 permissions setting (and I'm unable to change this.)
If I delete the while install would I then be able to access that file ?
Posted: Tue May 20, 2008 12:26 pm
by garvinhicking
Hi!
Is the serendipity_config_local.inc.php file readable (0444 or 0644 or 0666?) And does it exist at exactly the place where s9y cannot find it?
Regards,
Garvin
Posted: Tue May 20, 2008 12:39 pm
by david@mediacopy
My server admin has just reset the attributes and the all is now working. . . . Cheers for your help on this. :
