Forums / General Questions / Fatal error: Cannot redeclare class paypal

Fatal error: Cannot redeclare class paypal

Locked

Started by lorhan on 22 Jul 2006, 10:06 AM · Views: 3,691

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
22 Jul 2006, 10:06 AM
#1
lorhan avatar

lorhan

New Zenner

Join Date:
Aug 2004
Posts:
37
Plugin Contributions:
0

Fatal error: Cannot redeclare class paypal

Hi,

What causes this error?

Fatal error: Cannot redeclare class paypal in /hsphere/local/home/gladjent/toppshop.net/includes/modules/payment/paypal.php on line 23

Here's line 23 in paypal.php

class paypal extends base {

Is it an DB error?

22 Jul 2006, 10:21 AM
#2
lorhan avatar

lorhan

New Zenner

Join Date:
Aug 2004
Posts:
37
Plugin Contributions:
0

Re: Fatal error: Cannot redeclare class paypal

Hi,

Problem already solved!

22 Jul 2006, 2:55 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 paypal

What was the magic? Always a help to have both the question and the solution ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

29 Jul 2006, 2:48 PM
#4
rebekah avatar

rebekah

Zen Follower

Join Date:
Mar 2006
Posts:
183
Plugin Contributions:
0

Re: Fatal error: Cannot redeclare class paypal

Yes, What was the solution?? I got this error today, only it said "on line 29."

Please help if you can. Thanks.

**TheWindCutter.com**
Professional Microphone Windscreens
*Got wind noise? We've got you covered. *

29 Jul 2006, 2:57 PM
#5
rebekah avatar

rebekah

Zen Follower

Join Date:
Mar 2006
Posts:
183
Plugin Contributions:
0

Re: Fatal error: Cannot redeclare class paypal

Found the problem and solution on this thread...

http://www.zen-cart.com/forum/showthread.php?t=42027&highlight=file+directory+failed+open+stream%3A

I had copied and renamed the original paypal.php file because I edited it but I left the copy in the /includes/modules/payment/ folder and this caused the problem.

Thanks Ajeh!

**TheWindCutter.com**
Professional Microphone Windscreens
*Got wind noise? We've got you covered. *