Blog stopped working

Having trouble installing serendipity?
Post Reply
david@mediacopy
Regular
Posts: 56
Joined: Sun May 18, 2008 5:50 pm

Blog stopped working

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Blog stopped working

Post by garvinhicking »

Hi!

Sounds as if your hoster changed user ownerships.Please contact him so that proper privileges can be restored.

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/
david@mediacopy
Regular
Posts: 56
Joined: Sun May 18, 2008 5:50 pm

Post by david@mediacopy »

Cheers ! Will do.
david@mediacopy
Regular
Posts: 56
Joined: Sun May 18, 2008 5:50 pm

Post 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 :D
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
david@mediacopy
Regular
Posts: 56
Joined: Sun May 18, 2008 5:50 pm

Post by david@mediacopy »

Cheers - I'll check it out.
david@mediacopy
Regular
Posts: 56
Joined: Sun May 18, 2008 5:50 pm

Post 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 ?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
david@mediacopy
Regular
Posts: 56
Joined: Sun May 18, 2008 5:50 pm

Post by david@mediacopy »

My server admin has just reset the attributes and the all is now working. . . . Cheers for your help on this. : :D
Post Reply