CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#3190] Error with link rel="canonical" version 1.53

avatar
Created By: Jean-Claude Etiemble (jce76350)
Date Submitted: Sun Mar 22 13:08:16 -0400 2009

Assigned To: Robert Campbell (calguy1000)
Version: 1.5.2
CMSMS Version: None
Severity: None
Resolution: Fixed
State: Closed
Summary:
Error with link rel="canonical" version 1.53
Detailed Description:
In template : Left simple navigation + 1 column
<link rel="canonical" href="{if
isset($canonical)}{$canonical}{else}{$content_obj->GetURL()}{/if}" />

Into Site Admin » Global Settings,
- Enable Custom 404 Message: OK
- Template = Left simple navigation + 1 column

If I have an erreur link from a page, so the Custom 404 page show : 
<link rel="canonical" href="
Fatal error: Call to a member function GetURL() on a non-object in
/home/xxxx/cmsmadesimple/tmp/templates_c/%%42^420^420EE6E6%%tpl_head%3A17.php on
line 7



History

Comments
avatar
Date: 2009-03-22 15:52
Posted By: Ronny Krijt (ronnyk)

Changed default templates with SVN 51.
      
avatar
Date: 2009-03-23 16:27
Posted By: Jean-Claude Etiemble (jce76350)

Works fine 
Thanks

      
Updates

Updated: 2009-03-28 13:29
state: Open => Closed

Updated: 2009-03-22 15:52
resolution_id: => 7