If this is your first visit, check our documentation. To post, register or login.

PayPal stopped working - missing file

Locked

Started by tmscrap on 3 Dec 2008, 4:49 PM · Views: 901

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
3 Dec 2008, 4:49 PM
#1
tmscrap avatar

tmscrap

New Zenner

Join Date:
Apr 2008
Location:
Duncan, BC Canada
Posts:
12
Plugin Contributions:
0

PayPal stopped working - missing file

Pay Pal Pro has suddenly stopped working - the Payment Module screen shows the following:

Warning: include(/home/xxxx/public_html/xxxx/includes/languages/english/modules/payment/adcpaypaldp.php) [function.include]: failed to open stream: No such file or directory in /home/xxxx/public_html/xxxx/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/xxxx/public_html/xxxx/includes/languages/english/modules/payment/adcpaypaldp.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/public_html/tmstore/admin/modules.php on line 173

Fatal error: Cannot redeclare class paypaldp in /home/xxxx/public_html/xxxx/includes/modules/payment/paypaldp.php on line 1637

When I click on the Pay Pal settings it does not even open to allow me to re-install Pay Pal...

How could it suddenly not work - any help appreciated - I have removed the actual path and substituted xxxx above.

The site is https://www.1scrap.com if you wish to see what is happening.

Thanks for any help you can offer -

Allan

3 Dec 2008, 9:29 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: PayPal stopped working - missing file

Looks like you renamed your /includes/modules/payment/paypaldp.php file to adcpaypaldp.php but didn't do the same in your /includes/languages/english/modules/payment folder. And, the system is trying to locate a language file for your renamed payment module.

Solution: NEVER rename a .php file by just adding a prefix to the name. ALWAYS change the ".php" to something like ".php.bak" or ".php1" or ".old" or ".bak" ... or just delete the thing altogether.

.
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.

3 Dec 2008, 9:33 PM
#3
tmscrap avatar

tmscrap

New Zenner

Join Date:
Apr 2008
Location:
Duncan, BC Canada
Posts:
12
Plugin Contributions:
0

Re: PayPal stopped working - missing file

Hi Dr. Byte - that is the strange part of this..I have no recollection of renaming the but adc are my initials so it is possible. I will have another look and see if I can sort that out. Thanks for your input...

Allan

3 Dec 2008, 9:38 PM
#4
tmscrap avatar

tmscrap

New Zenner

Join Date:
Apr 2008
Location:
Duncan, BC Canada
Posts:
12
Plugin Contributions:
0

Re: PayPal stopped working - missing file

Thanks again...this is now resolved. Must have done that when I switched to the Pay Pal Pro version.

:clap: