code display on template page

Author Message

Nhu Nguyen

Tuesday 24 May 2005 6:05:47 pm

Hi, I was messing with the Design code and the result is this:

http://truyentranh.com/news/

Anybody has any idea how to fix this? Please?

kracker (the)

Tuesday 24 May 2005 6:58:09 pm

Nhu,

Kudos on the very unique and pleasing site design used by your eZ publish installation.

It happens to be the nicest design I've seen in some time in a personal eZ publish site :)

Sorry, I'm not certain just what you've done to create this display output errors.

I would suggest reviewing the design/ templates for errors or omissions in the eZ template language (common), also review the settings/ in the same manner.

If you have been editing files in the kernel/ or lib/ directories, review those as well.

If that does not solve the problem, could also (arguably faster) move your existing site to the side,

 mv html truyentranh_com_corrupt

reinstall and then copy over your alterations made previously to the design/ and settings/ directories back over into the newly reinstalled eZ publish one by one, by hand to restore the desired look of your site.

This seems complicated but with so few changes made to most eZ publish installations it is relatively simple to do and educational process :)

happy hacking,
//kracker

<i>FSF : Richard M. Stallman : The Free Software Movement and the GNU/Linux Operating System, given at LinuxTag, July 2000</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Bruce Morrison

Tuesday 24 May 2005 11:38:29 pm

Hi Nhu

Have you tried clearing the cache?

My guess is that one of the compiled files is missing an opening <?php and is being traeted as a text file. In stead of being read and processed it is being displayed when it is read (that is why it is appearing before the HTML.

If clearing the cache does not work then have a look at you override.ini files for the missing initial <?php

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Nhu Nguyen

Wednesday 25 May 2005 3:21:47 pm

Thanks for the compliment. This error probably take me a long time to fix :( :(

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.