Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / payment module page is NOT working

payment module page is NOT working

Locked

Views: 2,344

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
29 Jul 2007, 9:17 PM
#1
naitsirhc26 avatar

naitsirhc26

New Zenner

Join Date:
Feb 2007
Posts:
37
Plugin Contributions:
0

payment module page is NOT working

Hello,

I couldn't find whether or not this has been reported before but the Payment Module page is not working. Example: http://www.fakewebsite.com/store/admin/modules.php?set=payment

When I try to go to the page I get an IE Error and it can't display the page. In FireFox, the page is just completely blank.

What is weird is that the Order Total and Shipping Module pages work perfectly. Another odd thing is that the Payment page will work randomly after every 100th click or so.

Any thoughts?

Thanks!

29 Jul 2007, 11:00 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: payment module page is NOT working

What Payment modules are installed?

If you only had Check/Money Order moneyorder installed and all others Removed ... does the page work?

30 Jul 2007, 8:06 AM
#3
naitsirhc26 avatar

naitsirhc26

New Zenner

Join Date:
Feb 2007
Posts:
37
Plugin Contributions:
0

Re: payment module page is NOT working

Hey Linda, I think you are absolutely correct in saying this. The two modules I have installed are the Check/Money Order AND the PayPal Payment Module.

My only problem is that the page will not open so that I can Un-install the PayPal module to see if the page works.

Do you have any suggestions of how I can un-install it any other way? Any MySQL code to run? I am really stumped here!

Thanks!

Christian

31 Jul 2007, 1:01 AM
#4
naitsirhc26 avatar

naitsirhc26

New Zenner

Join Date:
Feb 2007
Posts:
37
Plugin Contributions:
0

Re: payment module page is NOT working

I couldn't find the "edit post" button, but does anyone know how I can un-install the PayPal module so I can do what Linda said to do?

Other than using MySQL, what can I do? Also, if I do have to use MySQL, what code what I upload into it?

Like I said before, I am stumped! LOL

31 Jul 2007, 2:32 AM
#5
ajeh avatar

ajeh

Oba-san

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

Re: payment module page is NOT working

IF you go to the Modules ... Payments ... in your admin and receive errors then you either have a broken payment module, have mixed up the code and the language files, have duplicate class names in 2 or more modules or have bad files ...

Look in the directory:
/includes/modules/payment

Check that these match what comes with a clean Zen Cart v1.3.7.1 ...

Then check:
/includes/languages/english/modules/payment

Check that these match what comes with a clean Zen Cart v1.3.7.1 ...

31 Jul 2007, 6:20 AM
#6
naitsirhc26 avatar

naitsirhc26

New Zenner

Join Date:
Feb 2007
Posts:
37
Plugin Contributions:
0

Re: payment module page is NOT working

Thanks Linda for the help.

What I did was re-uploaded a clean version of both of the files you told me to upload.

This time when I clicked on the Payment Module link in the Admin area, it worked BUT then I tried to click on the PayPal module link, and then I got an Internet Error. And now when I go to click on the Payment Module, it doesn't work anymore.

This is what I was explaining when I was saying it is very random.

Does this give you any further detail as to what is wrong?

Thanks Linda!

Cheerful Trails,

Christian

31 Jul 2007, 7:06 PM
#7
naitsirhc26 avatar

naitsirhc26

New Zenner

Join Date:
Feb 2007
Posts:
37
Plugin Contributions:
0

Re: payment module page is NOT working

Okay, so I went here to the Zen-Cart site, found the PayPal patches, and installed them.

Then when I went into the Payment Module page in the Admin area, it worked for a second, and I un-installed the PayPal module (because this is what is says to do after installing the patch) but then after I clicked that, the page went error.

So now I am in an even bigger predicament, because now my customers can't pay with PayPal. LOL

31 Jul 2007, 7:12 PM
#8
naitsirhc26 avatar

naitsirhc26

New Zenner

Join Date:
Feb 2007
Posts:
37
Plugin Contributions:
0

Re: payment module page is NOT working

So basically, I had a clean version of the files, and then installed the patch, and un-installed the PayPal IPN module, but now it still doesn't work. : )

31 Jul 2007, 8:08 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: payment module page is NOT working

If your payment modules page in the admin isn't working, that is almost always a result of having "extra" files in the /includes/modules/payment folder.

  1. Do not rename files in that folder in order to "keep a backup". You ONLY want .php files there.
  2. Do not put extra files in there that don't have a corresponding "language" file in the /includes/languages/english/modules/payment folder. There must be a file of the SAME name in BOTH folders.
  3. Remember that ONLY language-files should go in the languages folder, and ONLY payment-module "code" files should go in the modules folder. If you mix them up, you'll have problems.

The patch file contains the full and complete folder structure in the zip, so if you retain that structure when unzipping and uploading, you should not run into problems.

So ... go and make sure that the files in the folders mentioned are correct.

31 Jul 2007, 8:22 PM
#10
naitsirhc26 avatar

naitsirhc26

New Zenner

Join Date:
Feb 2007
Posts:
37
Plugin Contributions:
0

Re: payment module page is NOT working

Thanks DrByte. I just checked both the language and module folders and they match up. And they are all .php and no extra files.

Could it possibly be a MySQL error?

31 Jul 2007, 8:49 PM
#11
naitsirhc26 avatar

naitsirhc26

New Zenner

Join Date:
Feb 2007
Posts:
37
Plugin Contributions:
0

Re: payment module page is NOT working

Okay, I am going to try and explain some other things that I have found out, and maybe it will help you to understand what is happening to my system.

So I just deleted and installed a clean version of these folders: **/public_html/store/includes/modules/payment/ **and /public_html/store/includes/languages/english/modules/payment

And THEN I uploaded the latest patch for PayPal.

So everything in those files should be perfectly untouched and working perfectly, BUT when I click on the Payment Module link in Admin, it works for a sec, but then when I click on one of the modules, it goes error.

So what I found is that whenever I upload or change the files and install patches, etc..it works for one minute, and then fails. Otherwise it just fails entirely.

I also found that when I changed the permission of includes/modules/payment to 766 instead of 755 I get this error:

Warning: is_dir(): Stat failed for /home/sleddog-admin/public_html/store/includes/modules/payment/. (errno=13 - Permission denied) in /home/sleddog-admin/public_html/store/admin/modules.php on line 162

But what is weird is when I change the permissions to 755 the Payment Module page opens, but without the modules listed, just these errors.

So this is all that I have found so far. Are there any other folders or files that I should install a clean version of, or is there something I need to check in the MySQL database?

Thanks!

31 Jul 2007, 9:25 PM
#12
drbyte avatar

drbyte

Sensei

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

Re: payment module page is NOT working

Is your server's errorlog available? Does it contain any errors about what's happening when you get the blank pages or the failed module pages ?

31 Jul 2007, 9:41 PM
#13
naitsirhc26 avatar

naitsirhc26

New Zenner

Join Date:
Feb 2007
Posts:
37
Plugin Contributions:
0

Re: payment module page is NOT working

Do you know how I would be able to get ahold of the Server Error Log?

When I click on the link, right now all I get is either a blank page (on firefox) or Internet Explorer can't display the page.

31 Jul 2007, 9:46 PM
#14
drbyte avatar

drbyte

Sensei

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

Re: payment module page is NOT working

You can usually view your server's errorlog by going to your hosting account control panel and selecting the appropriate option there.
Your hosting company should be able to help you find it.

31 Jul 2007, 9:59 PM
#15
naitsirhc26 avatar

naitsirhc26

New Zenner

Join Date:
Feb 2007
Posts:
37
Plugin Contributions:
0

Re: payment module page is NOT working

Thanks DrByte. I will get those error logs and post them here for you to analyze. Have you ever seen a problem like this before? I am thinking it has something to do with my hoster, etc...

Am I going to need to get the database's blood work as well? :laugh: Dr?

LOL.

Thanks,

Christian

1 Aug 2007, 1:36 AM
#16
naitsirhc26 avatar

naitsirhc26

New Zenner

Join Date:
Feb 2007
Posts:
37
Plugin Contributions:
0

Re: payment module page is NOT working

Okay, I got the help of my server (a dear friend of mine) and he fixed it -- mismatched files.

And thank you EVERYONE for your generous help. I really appreciate it.

Cheerful trails,

Christian