Fatal error: Cannot redeclare smartypants()

xmacinfo - March 25, 2005 - 04:40
Project:SmartyPants
Version:4.5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

#1

jhriggs - March 25, 2005 - 13:32

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

#2

xmacinfo - March 26, 2005 - 20:40

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.

 
 

Drupal is a registered trademark of Dries Buytaert.