Smarty Error

Found a bug? Tell us!!
Post Reply
dev9
Posts: 2
Joined: Tue Jun 27, 2006 7:51 pm

Smarty Error

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

Re: Smarty Error

Post 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
# 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/
dev9
Posts: 2
Joined: Tue Jun 27, 2006 7:51 pm

Post by dev9 »

Garvin,

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

Thanks,

Dev
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

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

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/
.g@sp.
Regular
Posts: 50
Joined: Thu Apr 20, 2006 2:01 pm
Location: Brussels, Belgium

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

Post 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
# 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/
.g@sp.
Regular
Posts: 50
Joined: Thu Apr 20, 2006 2:01 pm
Location: Brussels, Belgium

Post 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 :? )
Sorry for my poor english ;)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

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

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/
.g@sp.
Regular
Posts: 50
Joined: Thu Apr 20, 2006 2:01 pm
Location: Brussels, Belgium

Post by .g@sp. »

it continues here
Sorry for my poor english ;)
Post Reply