Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Nochex works! But......

Nochex works! But......

Locked

Views: 1,140

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Sep 2006, 3:05 PM
#1
waggle_dancer avatar

waggle_dancer

New Zenner

Join Date:
Aug 2006
Location:
UK
Posts:
22
Plugin Contributions:
0

Nochex works! But......

I've managed to get Nochex up and running on the latest Zencart version but as soon as I get to Step 2 of payment I get the messages below showing up at the top of the window:

Warning: payment(includes/languages/english/modules/payment/nochex.php): failed to open stream: No such file or directory in C:\Inetpub\vhosts***********\httpdocs\shop\includes\classes\payment.php on line 62

Warning: payment(): Failed opening 'includes/languages/english/modules/payment/nochex.php' for inclusion (include_path='.;./includes;./pear') in C:\Inetpub\vhosts***********\httpdocs\shop\includes\classes\payment.php on line 62

Oddly I have managed a test payment and it has gone through ok.

I've looked at Line 62, it reads:
include(zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/payment/', $include_modules[$i]['file'], 'false'));
but I'll be honest, I really don't know what I'm looking for. I'm guessing it's a path problem but I'm a bit lost.

Also as soon as I get to this page all the text and graphics on the page have re-sized (larger) as though the page resolution has been changed.
Any ideas anyone?
:down:

5 Sep 2006, 3:41 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Nochex works! But......

Your error messages are telling you the problem: > includes/languages/english/modules/payment/nochex.php> No such file or directory

6 Sep 2006, 1:55 PM
#3
waggle_dancer avatar

waggle_dancer

New Zenner

Join Date:
Aug 2006
Location:
UK
Posts:
22
Plugin Contributions:
0

Re: Nochex works! But......

Thanks Doc. I did realise it was telling me there was no such file but like most Noobs I am nervous of changing too much (in case something really important gets messed up). I wasn't sure whether just to add a file with that name or whether it was pointing in the right direction to start with.
Anyway after a lot of angst I've got it sorted. The re-sized graphics seem to have righted themselves too....probably voodoo or phase of the moon or something like that......

6 Sep 2006, 8:33 PM
#4
tojo_d avatar

tojo_d

New Zenner

Join Date:
Aug 2005
Location:
Glasgow, uk
Posts:
34
Plugin Contributions:
0

Re: Nochex works! But......

Waggle Dancer:

Thanks Doc. I did realise it was telling me there was no such file but like most Noobs I am nervous of changing too much (in case something really important gets messed up). I wasn't sure whether just to add a file with that name or whether it was pointing in the right direction to start with.
Anyway after a lot of angst I've got it sorted. The re-sized graphics seem to have righted themselves too....probably voodoo or phase of the moon or something like that......

Please say how you sorted it!!!

Thanks,
Tony

7 Sep 2006, 6:20 AM
#5
waggle_dancer avatar

waggle_dancer

New Zenner

Join Date:
Aug 2006
Location:
UK
Posts:
22
Plugin Contributions:
0

Re: Nochex works! But......

Hi Tony, as I said, after a lot of angst I did something which wasn't very clever but worked!

I removed the Nochex payment module and went back step by step and "unchanged" everything I had done to any files before I originally installed the Nochex module (only immediately before though).

Then I uploaded the same Nochex module_1.2 (the whole folder) into the Payment module folder. Then I dragged the Nochex.php file out of the Nochex folder and dropped it into Payment folder along with all the other payment phps.

Now I'm pretty sure this is what I did the first time so it might not be a lot of help if you try it and it goes bad for you. But it worked straight off, and apart from putting my own details in I haven't changed a thing.

Maybe I just did something wrong the first time, it's all awfully new to me.

Good luck!