Hi,
After installing, the preview function in Content->Pages displays the following error msg:
Fatal error: Call to a member function GetURL() on a non-object in C:\wamp\apps\cmsmadesimple\tmp\templates_c\%%2B^2B8^2B8175A3%%preview%3AcmsE7.tmp.php on line 14
I tried clearing the cache in the admin settings, but the error persists.
Has anybody experienced this?
I'm using cmsmadesimple 1.5.3, on wamp 2.0g-1, windows 2003 server enterprise sp2.
Much thanks,
Jim
Preview Content not working after install
-
- Forum Members
- Posts: 10
- Joined: Tue Mar 31, 2009 3:33 pm
Re: Preview Content not working after install
Will be correct with next releasecerebus180 wrote: After installing, the preview function in Content->Pages displays the following error msg:
Alby
Re: Preview Content not working after install
I checked my Error Logs when I got hundreds of Fatal Errors, and have been scouring the forums.
I just came across this:
http://forum.cmsmadesimple.org/index.ph ... #msg149871
I just came across this:
http://forum.cmsmadesimple.org/index.ph ... #msg149871
I've just updated my template, and will see if that helps - fingers' crossed!This is caused by the line in the default templates:
GetURL()}{/if}" />
I changed the above line to be
{if isset($canonical)}{elseif isset($content_obj)}GetURL()}" />{/if}
so that the GetURL is not executed and the canonical link is not written at all during preview.