Unable to PREVIEW and only PARTIALLY PUBLISHES

Having trouble installing serendipity?
Post Reply
ginabella
Regular
Posts: 7
Joined: Sun Jul 09, 2006 12:22 am

Unable to PREVIEW and only PARTIALLY PUBLISHES

Post by ginabella »

I just installed Serendipity 1.0 with PHP 4.3.10 but am still experiencing some problems. I am able to create and save (publish and draft options but not able to preview or view my first (and only) Serendipity blog. I get the following error that occurs when I click PREVIEW:

The screen says: Serendipity is now creating the preview of your entry...

Then I see:

Fatal error: Smarty error: [in file:/home/ginabell/public_html/serendipity/templates/default/entries.tpl line 20]: [plugin] (secure mode) modifier 'escape' is not allowed (core.load_plugins.php, line 118) in /home/ginabell/public_html/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1088

I notice that in the templates_c directory there are a number of files that seem to be related to the templates I tried to use - ex. - mt3-chalkboard^%%F8^F82^F82D8BBD%%commentform.tpl.php, etc.

I deleted them and then attempted to use different templates and experienced the same error above and again those files related to each template I tried to use were created in the templates_c directory. I feel that I am very close but have no clue as to how to remedy this situation.

The only template that I have any success with is Newspaper Blog TEMPLATE - which gives me the warning that "Your current template is using a deprecated template method, you are advised to update if possible". The good news is that when I viewed my blog independent of PREVIEW in Internet Explorer I do see my blog name and description - however no published blog entries or categories, and no plug-ins - calendar, search option, etc.

ALSO - What is the difference between Entry and Extended Body?

Thank you!!! :oops:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Unable to PREVIEW and only PARTIALLY PUBLISHES

Post by garvinhicking »

Hi!

Acutally, this error messages tells you that Smarty could not load a function called "escape". This function is provided by Smarty in the file bundled-libs/Smarty/libs/plugins/modifier.escape.php.

If you get this error, it means one of those:

1. Either the file mentioned above does not exist, or is not readable, or is garbaged.

2. It might also be, that the path you configured for Serendipity is wrong, and so Smarty cannot properly define its directory where files are kept.

Solution #2 might be the right one, because you are facing other trouble that also lead me to this. Can you tell how exactly you configured your paths in the Serendipity Configuration? Your URL would also help.
ALSO - What is the difference between Entry and Extended Body?
The "Entry" is like a teaser, and the "extended body" can be used for further text that can only be read if you click on a "read more" link.

Best regardes,
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/
ginabella
Regular
Posts: 7
Joined: Sun Jul 09, 2006 12:22 am

Re: Unable to PREVIEW and only PARTIALLY PUBLISHES

Post by ginabella »

garvinhicking wrote:Hi!

Acutally, this error messages tells you that Smarty could not load a function called "escape". This function is provided by Smarty in the file bundled-libs/Smarty/libs/plugins/modifier.escape.php.

If you get this error, it means one of those:

1. Either the file mentioned above does not exist, or is not readable, or is garbaged.

2. It might also be, that the path you configured for Serendipity is wrong, and so Smarty cannot properly define its directory where files are kept.

Solution #2 might be the right one, because you are facing other trouble that also lead me to this. Can you tell how exactly you configured your paths in the Serendipity Configuration? Your URL would also help.
ALSO - What is the difference between Entry and Extended Body?
The "Entry" is like a teaser, and the "extended body" can be used for further text that can only be read if you click on a "read more" link.

Best regardes,
Garvin
Garvin - thank you SOOOOOOOOOO much - I am so embarassed - I had to upload all files to my server several times and then had to go into just about all the directories and subdirectories - early error messages pointed me to what files were a problem and replacing them and changing rights on several files fixed those problems. With this one I got a PHP editor and looked at the lines specifying the problem. That particular file was not there - as you suspected (as well as quite a few others for some reason although I checked and re-checked the directories previously - although it may very likely be fatigue from marathon work that caused me to miss those files).

Anyhow all seems fine now - can you recommend a file comparison utility that works for LOCAL v REMOTE (FTP) directories.

Again - many many thanks to you!!!!!! Can't wait to spend another marathon session working on the program - I love it. :D
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Unable to PREVIEW and only PARTIALLY PUBLISHES

Post by garvinhicking »

Hi Ginabella!

Great to hear that you figured this out. I'm really sorry for your trouble, I can understand this must be annoying to re-upload. :(

Sadly I don't know many file comparison tools for your tasks...but maybe lookint at www.tucows.com could reveal some good ones? "Windows Commander / Total Commander" I think had a good synchronization facility. I myself usually use "smartFTP".

Best regards and have fun,
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/
Xtian
Posts: 3
Joined: Thu Feb 09, 2006 3:18 pm
Location: Paris, France
Contact:

Re: Unable to PREVIEW and only PARTIALLY PUBLISHES

Post by Xtian »

ginabella wrote:Anyhow all seems fine now - can you recommend a file comparison utility that works for LOCAL v REMOTE (FTP) directories.
I've been using BeyondCompare for a couple of years, now. It was my main tool to update websites. It's very, very good and unexpensive.

Cheers,
Xtian
Post Reply