Permission error

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
anannsul
Regular
Posts: 20
Joined: Thu Sep 25, 2008 5:31 am

Permission error

Post by anannsul »

My blog use to work just fine... the other one I installed on another server works fine as well..

here is the error..

serendipity error: could not include [root url hidden for protection]blog//serendipity_config_local.inc.php - exiting.
Please create the file yourself or check permissions

Could someone help me please? I have tried editing the permission through ftp and through writing the file to change it... But it says the same thing that it can't be done...
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Re: Permission error

Post by judebert »

First, check to make sure that file actually exists. Second, verify its permissions: we're looking for at least readable and executable by the web user. If 744 doesn't work, try 755. 777 should be unnecessary, and some hosts will actually block scripts with such loose permissions.

Next, which version of Serendipity are using, and can we visit your URL ourselves to see if we can glean any additional information?
Judebert
---
Website | Wishlist | PayPal
anannsul
Regular
Posts: 20
Joined: Thu Sep 25, 2008 5:31 am

Re: Permission error

Post by anannsul »

744? hmm for some reason it's automatically been done to 644 the other one is like it.. as for version.. i couldn't tell you. =\ i can't log in to the admin either..

I'll write to the host and see if they can change the permission on the file.

I'll let you know if it works...
anannsul
Regular
Posts: 20
Joined: Thu Sep 25, 2008 5:31 am

Re: Permission error

Post by anannsul »

Finally.. they fixed the permission...

and now I'm getting this error

Warning: Smarty error: unable to read resource: "404.tpl" in anannsul.com/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1092
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Permission error

Post by garvinhicking »

Hi!

This error should only happen when s9y is not able to read files inside the templates/ directory...?!

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/
anannsul
Regular
Posts: 20
Joined: Thu Sep 25, 2008 5:31 am

Re: Permission error

Post by anannsul »

Hmm, Do you know what the permissions are suppose to be?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Permission error

Post by garvinhicking »

Hi!

Please see the faq on s9y.org, there should be an item about permissions. In summary, PHP/s9y needs read privileges for everything, and execute privileges for all directores. Write privileges only for templates_c, serendipity_config_local.inc.php, uploads and .htaccess.

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