Error on Child Pages

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
sschmidt
New Member
New Member
Posts: 3
Joined: Tue Jul 14, 2009 7:44 pm

Error on Child Pages

Post 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?  
Pierre M.

Re: Error on Child Pages

Post 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.
nockenfell
Power Poster
Power Poster
Posts: 751
Joined: Fri Sep 12, 2008 2:34 pm

Re: Error on Child Pages

Post 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}" />
[this message is written with 100% recycled bits]
sschmidt
New Member
New Member
Posts: 3
Joined: Tue Jul 14, 2009 7:44 pm

Re: Error on Child Pages

Post by sschmidt »

Thanks for the help.  That worked.
Locked

Return to “[locked] Installation, Setup and Upgrade”