Page 1 of 1

Not working after installation

Posted: Sat Aug 19, 2006 2:43 pm
by Gunpriest
I installed Serendipity on my webspace, permissions were ok and this is what i get:

Warning: serendipity_smarty_init(): Unable to access /var/www/s14b22/html/serendipity/bundled-libs/Smarty/libs/Smarty.class.php in /var/www/s14b22/html/serendipity/include/functions_smarty.inc.php on line 558

Warning: serendipity_smarty_init(/var/www/s14b22/html/serendipity/bundled-libs/Smarty/libs/Smarty.class.php): failed to open stream: Permission denied in /var/www/s14b22/html/serendipity/include/functions_smarty.inc.php on line 558

Fatal error: serendipity_smarty_init(): Failed opening required '/var/www/s14b22/html/serendipity/bundled-libs/Smarty/libs/Smarty.class.php' (include_path='.:/var/www/s14b22/html/serendipity/:/var/www/s14b22/html/serendipity/bundled-libs/') in /var/www/s14b22/html/serendipity/include/functions_smarty.inc.php on line 558

I have no clue what /var/www/ is, guess it is part of the server structure, but i dont have access to this directory.

And i have a question: is it possible to configure Serendipity in a way that is has no own design? All i need is a blog on my index.php-page, included through a simple php-tag, right here, where all that bla bla bla is. No fancy design, the design is already there.

http://www.eve-library.de/

Re: Not working after installation

Posted: Mon Aug 21, 2006 10:17 am
by garvinhicking
Hi!

The errors tell you that the file permissions on the mentioned file (/var/www/s14b22/html/serendipity/bundled-libs/Smarty/libs/Smarty.class.php) is not possible. This means that this file does not have read privileges for your PHP/webserver user. Please check and set it to something like 0644.

Best regards,
GArvin

failed to open stream: Permission denied

Posted: Tue Aug 22, 2006 2:51 pm
by aacircle
I have a similar problem. Have just moved our entire site to a new server, now the blog system doesn't work. Have given bundled-libs/HTTP/Request.php chmod access of 777 but still without luck.

Please see the warning msg at http://www.aacircle.com.au/blog/

Thank you :wink:

Re: failed to open stream: Permission denied

Posted: Tue Aug 22, 2006 2:53 pm
by garvinhicking
Hi!

Are you sure you gave 777 permissions to the right file? Are you sure 777 worked?

The error indicates otherwise.

Best regards,
Garvin

Permissions

Posted: Tue Aug 22, 2006 3:10 pm
by aacircle
Yes, 777 was given to both HTTP/Request.php and serendipity_event_weblogping.php

Re: Permissions

Posted: Tue Aug 22, 2006 3:11 pm
by garvinhicking
Hi!

Please also check if all directories leading to that file contain read permissions (check 'bundled-libs' and 'HTTP' folder permissions)?

Regards,
Garvin

Posted: Tue Aug 22, 2006 3:14 pm
by aacircle
Done. Different error now.


Warning: Smarty error: unable to read resource:

Posted: Tue Aug 22, 2006 3:15 pm
by garvinhicking
Hi!

Please also check the permissions of your other directories. The error can come if your templates directory is not readable, or templates_c is not readable or writable.

Best regards,
Garvin

Posted: Tue Aug 22, 2006 5:22 pm
by aacircle
Finally fixed it. Was just a matter of logging into /blog/serendipity_admin.php and clicking Configuration and checking / editing the required information.

Thanks for your prompt response as always Garvin!