Jump to content

Borken Links between CMS and DB?


edtriccorp

Recommended Posts

Hello,

 

We have a customized theme on our 1.4.11.0 PS. On this link/page : http://www.edtrication.com/content/7-about-us none of the links in the left sidebar display their content to the right as they should. The pages and their content are visible in the TOOLS->CMS section of the backoffice. The content is also visible in the DB. If the pages are disabled via TOOLS->CMS the behavior is such that the store reports:

"Page not available

We're sorry, but the Web address you entered is no longer available

To find a product, please type its name in the field below"

 

If the pages are enabled via CMS then "blank content" or nothing is displayed without error or such. 

 

Guidance on how to troubleshoot this would be highly appreciated.

Thank you,

 

Wess

Edited by edtriccorp (see edit history)
Link to comment
Share on other sites

Thank you Freelance. Now I just need to make sense of the debug output.

Fatal error: Uncaught exception 'SmartyException' with message '{include_php} is deprecated, use SmartyBC class to enable' in /home1/gatesw/public_html/tools/smarty/sysplugins/smarty_internal_compile_include_php.php:52 Stack trace: #0 /home1/gatesw/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(473): Smarty_Internal_Compile_Include_Php->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #1 /home1/gatesw/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(247): Smarty_Internal_TemplateCompilerBase->callTagCompiler('include_php', Array, Array) #2 /home1/gatesw/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2393): Smarty_Internal_TemplateCompilerBase->compileTag('include_php', Array) #3 /home1/gatesw/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(3096): Smarty_Internal_Templateparser->yy_r36() #4 /home1/gatesw/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(3196): Smarty in /home1/gatesw/public_html/tools/smarty/sysplugins/smarty_internal_compile_include_php.php on line 52

Link to comment
Share on other sites

There is a tag in you template cms.tpl that is {include_php}

This is rejected by latest version of smarty

 

add {* before this tag and *} just after.

 

Obviously you may face other problem due this template not been v3 aware. This may be the case on some others of you templates

 

Respond to my PM so we can exchange the file and see how to cope with this one.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...