cant see content

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
binh25

cant see content

Post by binh25 »

Hi all
I got this weird problem where I can edit and enter content and the content is fairly large
maybe 10 page or so with a couple of images..but after I finish edit and submit the content
I cant view the content of the page
I can click on the link/menu but there is no content show up

anyone know why? I'm using latest stable release 0.13

Regards
Binh
HMTKSteve
Forum Members
Forum Members
Posts: 23
Joined: Fri May 26, 2006 5:56 pm

Re: cant see content

Post by HMTKSteve »

I had this problem and it ended up being an issue with the template I was using.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: cant see content

Post by Dr.CSS »

code for template...
link?
input need more input...
one page is 10 pages long??....
not really good webmanship... have any idea how much scrolling that would be.. not to mention how long it would take the dialup crowd to view your page...
does anything show up?
binh25

Re: cant see content

Post by binh25 »

Mark
I use standard template that comes with 0.13 havent made any changes
to any part of the 0.13 release

I use it for internal/intranet documentation and so bandwith issues is not a problem.
our system docos is big that why it's come down to that.

I thought it maybe a PHP problem rather 0.13 itself.

Anyway I went and compile my own PHP/Apache and Mysql with stock standard option
ie, configure

I use Apache 2.2, MYSQL 5 and PHP 5 and this time I have a different errors

it goes something like this

Fatal error: Smarty error: [in content:content_en line 519]: syntax error:
unrecognized tag 'echo' (Smarty_Compiler.class.php, line 580) in
/opt/amp/apache2/htdocs/cms/lib/smarty/Smarty.class.php on line 1095


and the unrecognise tag change for each big document ie sometimes I get a echo tag unrecognize
other times I get files tag unrecognise but all in all it only happen when the document is large

is it possible 0.13 cant handle large documents?

Regards
Binh
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: cant see content

Post by tsw »

sounds more like you have { or } characters in your page. smarty uses { and } as control characters and if you want to include those characters into your page you have to use {literal} {/literal} or html encode.
binh25

Re: cant see content

Post by binh25 »

Awesome :) thanks tsw
I edit the doco and use source and put in {literal} {/literal} tag and all is well.

warm regards
Locked

Return to “CMSMS Core”