Page 1 of 1
Smarty error: unable to read resource
Posted: Mon Oct 10, 2005 11:34 pm
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.
Re: Smarty error: unable to read resource
Posted: Tue Oct 11, 2005 12:46 pm
by garvinhicking
That can happen if your templates_c directory is missing or not writable (chmod 777) by the webserver!
Regards,
Garvin
Posted: Tue Oct 11, 2005 1:14 pm
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
Posted: Tue Oct 11, 2005 3:57 pm
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
Posted: Tue Oct 11, 2005 4:29 pm
by volume4
Which are the configuration files I have to review? Just want to make sure I did not miss one. Thanks!
Posted: Tue Oct 11, 2005 6:01 pm
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
Posted: Tue Oct 11, 2005 6:45 pm
by volume4
Thanks Garvin!

The problem was indeed with alues inside the database table mentioned.