Download & Extend

Fatal error: Cannot redeclare smartypants()

Project:SmartyPants
Version:4.5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

As soon as I click on Modules I get this error.

Fatal error: Cannot redeclare smartypants() (previously declared in /sites/iqi.org/modules/smartypants/smartypants-php/SmartyPants-PHP.inc:79) in /sites/iqi.org/modules/textile/smartypants-php/SmartyPants-PHP.inc on line 79

Onced smartypants is removed from the modules folder, I can load again the Modules admin page.

Comments

#1

Update your textile installation. Textile used to include smartypants, but the latest updates removed it in favor of this separate module.

#2

Thank you for the quick answer.

I've deleted Textile and enable Smartypants. It's working perfectly. I'll install it on my live web site.

nobody click here