Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Cannot redeclare ...


medicor24

Recommended Posts

Posted

I have installed a new contrib (easy coupons). Whenever I want to get the coupon page on admin I get the following error:

 

Fatal error: Cannot redeclare genpassword() (previously declared in /web/1/000/035/596/115692/htdocs/admin/easy_coupons.php:14) in /web/1/000/035/596/115692/htdocs/admin/includes/functions/general.php on line 51

 

... where is the problem? Any advice welcome ;o)

Posted
I have installed a new contrib (easy coupons). Whenever I want to get the coupon page on admin I get the following error:

 

Fatal error: Cannot redeclare genpassword() (previously declared in /web/1/000/035/596/115692/htdocs/admin/easy_coupons.php:14) in /web/1/000/035/596/115692/htdocs/admin/includes/functions/general.php on line 51

 

... where is the problem? Any advice welcome ;o)

 

You are including a file twice and by doing so function genpassword() is being declared twice which is kicking an error.

Posted

Have you gone over the install instructions again?

Seems you have admin/easy_coupons.php:14 &admin/includes/functions/general.php on line 51 calling for the same thing

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
Have you gone over the install instructions again?

Seems you have admin/easy_coupons.php:14 &admin/includes/functions/general.php on line 51 calling for the same thing

 

Thanx for your help! That's it!

Archived

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

×
×
  • Create New...