Page 1 of 1

Error on Child Pages

Posted: Thu Jul 30, 2009 6:08 pm
by sschmidt
I upgraded to:

CMS Version 1.6.2

Installed ModulesCMSMailer 1.73.14
FileManager 1.0
MenuManager  1.6.1
ModuleManager  1.3.1
News  2.10.2
nuSOAP  1.0.1
Printing  1.0
Search  1.6.1
ThemeManager  1.1.1
TinyMCE  2.5.1
CGExtensions  1.16
CGFeedMaker  1.0.6

I have no issues with pages display at top level ie. Parent: none  


http://www.dispersetech.com/cms/index.p ... s-of-thumb

If I move to a sub level.. PArent = another page, I get the following error.  


<link rel="canonical" href="
Fatal error: Call to a member function GetURL() on a non-object in /home/ewkco2/public_html/cms/tmp/templates_c/%%FC^FC4^FC44530C%%tpl_head%3A1000.php on line 16


Can someone provide some insight into this?  

Re: Error on Child Pages

Posted: Fri Jul 31, 2009 2:50 pm
by Pierre M.
Hello,

Clear cache ?
What do System Info and System Checksum say about your system's health ?
How is the template (extract) of the broken page ?
You upgraded from what ? How ?

Pierre M.

Re: Error on Child Pages

Posted: Mon Aug 03, 2009 6:18 pm
by nockenfell
i remove this in my template and now it work.

Code: Select all

<link rel="canonical" href="{if isset($canonical)}{$canonical}{else}{$content_obj->GetURL()}{/if}" />

Re: Error on Child Pages

Posted: Sat Aug 22, 2009 1:50 pm
by sschmidt
Thanks for the help.  That worked.