Forums / PayPal Express Checkout support / Payment Module Errors

Payment Module Errors

Locked

Started by jund on 15 May 2007, 8:39 PM · Views: 1,856

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
15 May 2007, 8:39 PM
#1
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

Payment Module Errors

**Configuration: **
ZEN CART Version 1.3.7
PHP 5.2.1
WINDOWS IIS 6.0

Went to Admin>Modules>Payment to make changes.
Below are the error messages I received.
My host has backup and restore capability - I restored the admin folder to May 13 and there was no change.

I am using PayPal IPN

The file named paypalwpp_bu.php is a backup of paypalwpp and I do not use it.

Because of the error, I cannot make any changes to any payment modules.

Can anyone please help me?

+++++++++++++++++++++++++++++++
Warning: include(e:/web/public_html/davidollc/gallery_web/includes/languages/english/modules/payment/paypalwpp_bu.php) [function.include]: failed to open stream: No such file or directory in E:\web\public_html\davidollc\gallery_web\admin\modules.php on line 174

Warning: include() [function.include]: Failed opening 'e:/web/public_html/davidollc/gallery_web/includes/languages/english/modules/payment/paypalwpp_bu.php' for inclusion (include_path='.;C:\php5\pear') in E:\web\public_html\davidollc\gallery_web\admin\modules.php on line 174

Fatal error: Cannot redeclare class paypalwpp in E:\web\public_html\davidollc\gallery_web\includes\modules\payment\paypalwpp_bu.php on line 2898
++++++++++++++++++++++
Thank you,
jund

15 May 2007, 8:43 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Payment Module Errors

Change the name.

All *.php files are treated as modules that Zen Cart expects to process. Thus, when it attempts to load a language file matching the name of your backup file, it croaks.

If you want a backup, rename it to .OLD or .BAK or .OFF or .NOTUSED ... anything other than .php

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 May 2007, 11:47 PM
#3
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

Re: Payment Module Errors

Croak it did indeed! And, once again you proved to me and anyone else in attendance - you are exceptional, in my opinion, for two simple reasons...

  1. You respond to real issues immediately
  2. Your answers are always professionally direct and to the point.

I find it interesting that it did not fail until today... it has been that way (misused php) for a long time. And, I have been naively and merrily using the _bu in many of my files. Everytime you cross my path I learn something (and I am probably the OLDEST person in the ZEN CART forum. You just prove that you can teach an old dog new tricks.

Thank you for reading and responding to me in your exceptional manner. I sincerely appreciate you and the way you run your part of the show... and you have fun too!

Respectfully,
jund