PDA

View Full Version : HELP ! I broke my Admin



ladyk
01-18-2007, 08:01 PM
Urgent help please. I'm not sure what I did, but when I log into my Admin
and go to Payment Modules I get this error :

Fatal error: Call to undefined method paypal::check() in /home/ladykd54/public_html/cart/admin/modules.php on line 134

I noticed looking at the Payment Modules listed on the page that PayPal
and PayPal IPN are no longer listed.

Can someone please help me get back on track? :confused:

michael_s
01-18-2007, 08:15 PM
Did you recently add a new payment module to the modules directory? That can do it sometimes. Also make sure you don't have any non-module files in your payment module directory.

That is the first place to start.

ladyk
01-19-2007, 05:42 AM
Hi Michael;
Thank you for your reply. No, I haven't added any new payment
modules to the Admin. I was trying to install some small contribs
for PayPal and they weren't working out, so I replaced the files I
had edited back to the originals and that was when the error
showed up in the Admin Payment Module. The site itself seems
to be fine, it's just the Admin.

Is there any help? :confused:

Thanks again,
Karen

michael_s
01-19-2007, 08:09 AM
That is definitely where you introduced the problem.

It looks like you may have missed restoring everything back to the original status.

Check in your payment modules directory on the server. You should only have these files in it:

authorizenet.php
cc.php
cod.php
efsnet.php
freecharger.php
geotrust.php
ipayment.php
linkpointms1.php
moneyorder.php
nochex.php
paybox.php
paypal_ipn.php
pm2checkout.php
psigate.php
secpay.php

If you have any paypal modules besides paypal_ipn.php, remove them.

ladyk
01-21-2007, 07:41 AM
Hi Michael;
Sorry for my late reply.
I checked the Payment Modules listed and everything
is there with the exception of Paypal and Paypal Ipn.
The files for IPN still seem to be in the root directories
but not showing in the Admin modules.
I triple checked the files that I attempted to install the
contribs, and can find no trace of them and compared
the files to the originals. The odd thing is, the file where
the error message is stateing I never made any changes to.
Is there any help for me?

michael_s
01-21-2007, 09:12 AM
Make your Payment modules directory only contain the files I have listed. Remove the paypal.php file and only keep or add the paypal_ipn.php file. That is the problem I think.

ladyk
01-22-2007, 07:08 AM
Hi Michael;
I've reinstalled the PayPal IPN files into my root directory
but no change has occured. The error in Admin is still there.
Any other suggestions? :confused:

michael_s
01-22-2007, 07:16 AM
That is not what I advised you to do.

I advised you to delete the paypal.php file from your /includes/modules/payment directory. Do that first.