Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Cannot redeclare class authorizenet


Guest

Recommended Posts

Posted

Hello,

 

I have the following problem :( :

 

Fatal error: Cannot redeclare class authorizenet in C:wampp2htdocscatalogincludesmodulespaymentauthorizenet.php on line 13

 

Does anybody know how to fix this :? ?

 

Suggestions are welecome :D !!

 

 

Thx a lot,

Milchbazi

  • 2 weeks later...
Posted

What page are you accessing when you get this error?

 

It appears that the page may be trying to instantiate the authoriznet class but it has already been previously done.

 

Eric

Posted

Strange: It works in english but not in german or an other language.

 

Now I'm confused :shock: and need special help :roll: . Does anybody know the reason and how to fix this?

 

By the way: It's in the admin panel under Modules -> Payment.

 

Now are all modules working (in english)

 

STRANGE!!!!

 

 

 

Thanx for answers! :D

Milchbazi

Posted

Did you happen to copy the authorizenet.php file and/or modify it for a new payment method?

 

If so, verify that you changed the class name as you cannot have 2 classes with the same name.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

Thanx a lot for your help. I fixed it.

 

I copied wrong files in includes/language/german/modules. The files with the classes :roll:

 

*edit* happens :?

 

Milchbazi

 

*edit* - Please contain your language on these forums.... bad language will not be tolerated.

 

Thankyou,

 

Johnson

Archived

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

×
×
  • Create New...