Page 1 of 1
cant see content
Posted: Thu May 25, 2006 6:39 am
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
Re: cant see content
Posted: Fri May 26, 2006 6:13 pm
by HMTKSteve
I had this problem and it ended up being an issue with the template I was using.
Re: cant see content
Posted: Fri Jun 02, 2006 5:35 am
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?
Re: cant see content
Posted: Mon Jun 05, 2006 1:38 am
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
Re: cant see content
Posted: Mon Jun 05, 2006 1:48 pm
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.
Re: cant see content
Posted: Tue Jun 06, 2006 2:05 am
by binh25
Awesome

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