smarty class not displaying 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
lvarney

smarty class not displaying content

Post by lvarney »

I seem to have a bit of a bizarre problem with the smarty.class.php file in the lib/smarty/ folder.

I edited some content today within CMS made simple and it seemed to save fine, no errors occurred, but when I came to view the page it stopped about 1/4 of the way through loading.

I have since deleted the content of this particular page content and added just one line of text - still no luck. There are other pages that all contain content consisting of a mixture of HTML/PHP and they work fine - I am only having a problem with this one page i edited via the WYSIWYG editor within cms made simple.

I have narrowed it down to the following line on the index.php page (which is near the end of the file):-
$html = $smarty->fetch('template:'.$pageinfo->template_id) . "\n";

And within the smarty.class.php file I have found that it errors on this line:-
include($_smarty_compile_path);

If you search through the smarty.class.php file it's the second occurrance of this line that it fails to run.

Unfortunately there are no error messages displayed to screen, it just displays the top HTML section of the page and then ceases to display/run anything further - I did try to get some text displayed after the above lines but nothing is displayed so the code is simply breaking at that point within the smarty.class.php.

If anyone can offer any help or if I can provide any further information that may help you to help please let me know! I would appreciate any help anyone can offer.

Thanks,
Laura
Locked

Return to “CMSMS Core”