Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Getting fatal error (database.php)


Recommended Posts

Hello :


I was making changes, trying to install redirect.php and now I get the following error.


Fatal error: Cannot redeclare tep_db_connect() (previously declared in /hsphere/local/home/boosten/turbonation.com/catalog/includes/functions/database.php:13) in /hsphere/local/home/boosten/turbonation.com/catalog/includes/functions/database.php on line 13


I think I retored all the files that I changed but i could be wrong.


Thanks :



Link to comment
Share on other sites

Hmmm bizarre one,


sounds like database.php is being included (required) twice possibly in application_top.


require(DIR_WS_FUNCTIONS . 'database.php');


It should only be 'required' once in application_top, nowwhere else (except possibly in a paymeny module add-on)

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...