Zen Cart Logo
Forums / Customization from the Admin / Fatal error: Cannot redeclare class moneyorder

Fatal error: Cannot redeclare class moneyorder

Locked

Views: 2,360

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
6 Mar 2007, 9:22 PM
#1
bekinky avatar

bekinky

Zen Follower

Join Date:
Jan 2007
Posts:
97
Plugin Contributions:
0

Fatal error: Cannot redeclare class moneyorder

I am trying to set up payment options and when I log into admin I get thie following error:
Fatal error: Cannot redeclare class moneyorder in ///*//includes/modules/payment/moneyorder.php on line **10

I have restored the file from a raw install but it still persists. The only other mod I have installed is the nochex_apc module.

Help - any ideas?
**

6 Mar 2007, 10:01 PM
#2
bekinky avatar

bekinky

Zen Follower

Join Date:
Jan 2007
Posts:
97
Plugin Contributions:
0

Re: Fatal error: Cannot redeclare class moneyorder

Fixed it now. I had mistakenly uploaded the modules/moneyorder.php file to languages so it was there twice. Good old Jollyjim went in and fixed it for me.

10 Mar 2007, 6:51 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Fatal error: Cannot redeclare class moneyorder

Thanks for the upate ... always a help to know the problem as well as the solution even if you solve the issue yourself ... :smile:

The self loading directories don't like it very much when the language files and code files get mixed up on the modules ... :cry: