Not working after installation

Having trouble installing serendipity?
Post Reply
Gunpriest
Posts: 1
Joined: Sat Aug 19, 2006 2:33 pm

Not working after installation

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

Re: Not working after installation

Post 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
# 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/
aacircle
Regular
Posts: 50
Joined: Sun Oct 02, 2005 11:04 am
Contact:

failed to open stream: Permission denied

Post 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:
** English Teacher and Student Site **

http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: failed to open stream: Permission denied

Post 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
# 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/
aacircle
Regular
Posts: 50
Joined: Sun Oct 02, 2005 11:04 am
Contact:

Permissions

Post by aacircle »

Yes, 777 was given to both HTTP/Request.php and serendipity_event_weblogping.php
** English Teacher and Student Site **

http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Permissions

Post 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
# 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/
aacircle
Regular
Posts: 50
Joined: Sun Oct 02, 2005 11:04 am
Contact:

Post by aacircle »

Done. Different error now.


Warning: Smarty error: unable to read resource:
** English Teacher and Student Site **

http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
aacircle
Regular
Posts: 50
Joined: Sun Oct 02, 2005 11:04 am
Contact:

Post 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!
** English Teacher and Student Site **

http://www.aacircle.com.au/blog
ESL Blog It! "Real Stories from Real Teachers!"
Post Reply