Page 1 of 1

Smarty Error

Posted: Tue Jun 27, 2006 8:15 pm
by dev9
Hello Development Team,

I just registered. First off, great development work on this platform. Keep it up.

I have upgraded to 1.0 from 0.9 and though my host has not upgraded,
I've uploaded 1.0, tweaked mySQL, and have successfully made the blog work. The host is APlus.net. I've sent them a note to upgrade and they've commented that they will in about 30 days.

I did have to fix a few things including some of the code in various event plug-ins. After my initial upload and green light install, I could not get the event plug-ins to load or even present a page of choices. I fixed some corrupted files based on the exceptions thrown. It is now up and running.

Here is one issue that remains after I create and save a new entry:

Warning: Smarty error: unable to read resource: "" in /home/u5/folder/html/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1088

I was hoping you guys could provide an answer. Thanks in advance.

Dev

Re: Smarty Error

Posted: Tue Jun 27, 2006 8:17 pm
by garvinhicking
Hi!

First off, thanks for your enthusiasm and motivation to get things working. We hope it was not a big hassle. :)

[quote
Here is one issue that remains after I create and save a new entry:

Warning: Smarty error: unable to read resource: "" in /home/u5/folder/html/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
[/quote]

Usually this error can happen if the "preview_iframe.tpl" file was not uploaded or is missing in the templates/default/ directory.

I just also committed a fix to our 1.1 version branch where the error message of this is more clearer, by including the filename. :-D

Best regards,
Garvin

Posted: Tue Jun 27, 2006 8:35 pm
by dev9
Garvin,

Bingo! Thanks for your prompt and enthusiastic reply. It did the trick.

Thanks,

Dev

Posted: Tue Jun 27, 2006 8:35 pm
by garvinhicking
Hi!

Great! You're welcome - and have fun! :-)

Best regards,
Garvin

Posted: Fri Aug 25, 2006 7:53 pm
by .g@sp.
i've got the same error message, so i tried your solution, but unfortunately it doesn't change anything...

Code: Select all

Warning: Smarty error: unable to read resource: "" in /home.13/d/e/f/defactoa/www/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
what can i do ??

i still can go to the admin (without any style :roll: ) but i didn't change anything before having this error...

Any idea ??

(my s9y : http://www.defacto-asbl.be/blog/)

Posted: Fri Aug 25, 2006 10:34 pm
by garvinhicking
Hi!

You are definitely either missing a file or you have no write/read permissions to templates_c or a template file.

You might want to use serendipity 1.1, it should tell you which file it is missing in those versions.

Else you will need to check if you have EVERY file of the serendipity release directory, check that ALL files are readable, and all files in templates_c writable.

Regards,
Garvin

Posted: Sat Aug 26, 2006 12:38 pm
by .g@sp.
i'm gonna update my old 0.9 version to the 1.1 beta version.
i've made a backup of my existing files and of my DB.
So, now i just have to copy all the files extracted of the serendipity-1.1-beta1.tar.gz file in the serendipity folder on my server ? (except config_local.inc.php)
Is that right ?
I'm a little bit afraid doing a mistake...

(P.S. the templates_c dir has just the .EMPTY file, it looks weird :? )

Posted: Sat Aug 26, 2006 12:51 pm
by garvinhicking
Hi!

That'S right. Copy all files over your current install. The FAQ also convers this in depth :)

Best regards,
Garvin

Posted: Sat Aug 26, 2006 2:08 pm
by .g@sp.
it continues here