Jump to content

[Solved] Cart Block - breaks Front Office, Smarty error?


Recommended Posts

I upgraded my client's shop to PrestaShop 1.4.1 on April 27, and my client has been adding products without incident. He and I were surprised when last weekend, the front office went blank (neither he nor I had touched any settings or physical files, but an employee had recently been adding products.)

Activating the error reporting revealed this:

Fatal error: Call to undefined method Smarty::getConfigVars() in /home/content/48/6349548/html/shop/modules/blockcart/blockcart.php on line 91


I have since been able to get the front office running, but it required my deactivating the Cart Block.

Shop is here: http://vintagenosbicycleparts.com/shop/

I had the blockcart.tpl code manually pasted into the header.tpl file, as the client wanted it at the top rather than in a sidebar; I removed that code and tried inserting it via hooks into left or right columns, but the error persists any time I activate the module.

I can't fathom what might have happened to have this sudden breakage. I have tried uploading a fresh copy of the cart module, but can't get it to display.

Can anyone help me? Client is hosted on GoDaddy, if that helps, running PHP 5.2.17.
Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...