Smarty error: unable to read resource

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
volume4
Regular
Posts: 7
Joined: Wed Sep 28, 2005 8:12 pm
Location: South Africa
Contact:

Smarty error: unable to read resource

Post by volume4 »

Greetings All

I am embedding Serendipity within a website. On my local testing server everything isgoing super! However, when uploading it to the server and testing it there, I get the following error:

Warning: Smarty error: unable to read resource: "" in /home/webadmin/volume4.com/html/japarker/newsforum/bundled-libs/Smarty/libs/Smarty.class.php on line 1088

Any idea what may be causing this? Thank you in advance.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Smarty error: unable to read resource

Post by garvinhicking »

That can happen if your templates_c directory is missing or not writable (chmod 777) by the webserver!

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/
volume4
Regular
Posts: 7
Joined: Wed Sep 28, 2005 8:12 pm
Location: South Africa
Contact:

Post by volume4 »

Greetings Garvin

I have changed the templates_c directory to be read, write and executable by all, chmod 777, but I still get the same error.

Warning: Smarty error: unable to read resource: "" in /home/webadmin/volume4.com/html/japarker/newsforum/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Did you also change the files that may be contained in templates_c? Did you enter your serendipity admin configuration and check that all paths are correct?

The error message can only happen if files are not readable; also check if all Smarty files in the bundled-libs directory are readable for the webserver user?

Regard,s
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/
volume4
Regular
Posts: 7
Joined: Wed Sep 28, 2005 8:12 pm
Location: South Africa
Contact:

Post by volume4 »

Which are the configuration files I have to review? Just want to make sure I did not miss one. Thanks!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Only the file serendipity_config_local.inc.php holds configuration data. But most of the config is stored in the serendipity_config DB table!

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/
volume4
Regular
Posts: 7
Joined: Wed Sep 28, 2005 8:12 pm
Location: South Africa
Contact:

Post by volume4 »

Thanks Garvin! :D The problem was indeed with alues inside the database table mentioned.
Post Reply