Page 1 of 1

Permission error

Posted: Fri May 01, 2009 9:24 am
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...

Re: Permission error

Posted: Fri May 01, 2009 9:10 pm
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?

Re: Permission error

Posted: Sat May 02, 2009 12:17 am
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...

Re: Permission error

Posted: Mon May 04, 2009 10:51 pm
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

Re: Permission error

Posted: Tue May 05, 2009 12:19 pm
by garvinhicking
Hi!

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

Regards,
Garvin

Re: Permission error

Posted: Tue May 05, 2009 10:27 pm
by anannsul
Hmm, Do you know what the permissions are suppose to be?

Re: Permission error

Posted: Wed May 06, 2009 2:48 pm
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