Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Payment modules error - can someone advise?

Payment modules error - can someone advise?

Locked

Views: 1,085

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
21 Nov 2008, 4:06 PM
#1
paulf avatar

paulf

New Zenner

Join Date:
Nov 2008
Posts:
6
Plugin Contributions:
0

Payment modules error - can someone advise?

Hi

I have been having major problems with the payment module displaying with the edit buttons appearing on the right hand side. I took the steps of downgrading the php version from 5.2.6 to version 4 . something.

I am now getting the following error messages

Warning: main(/usr/local/psa/home/vhosts/uggboots4you.co.uk/httpdocs/includes/modules/paypal/paypal_curl.php) [function.main]: failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/uggboots4you.co.uk/httpdocs/includes/modules/payment/paypaldp.php on line 15

I have had a look at the line 15 and it says

require_once(DIR_FS_CATALOG . DIR_WS_MODULES . /paypal/paypal_curl.php);

Can anyone advise me as i am beginning to think i will not be able to fix this bug.

Paul

21 Nov 2008, 5:04 PM
#2
litepockets avatar

litepockets

Zen Follower

Join Date:
Apr 2008
Location:
Covington, Washington, United States
Posts:
206
Plugin Contributions:
0

Re: Payment modules error - can someone advise?

This error is simply telling you that paypal_curl.php cannot be found in your /includes/modules/paypal folder... re-upload that file...

22 Nov 2008, 4:32 PM
#3
paulf avatar

paulf

New Zenner

Join Date:
Nov 2008
Posts:
6
Plugin Contributions:
0

Re: Payment modules error - can someone advise?

Thank you for replying to my question. The file is definately on the server in that location.

Can you advise anything else to why it is not finding it?

Paul

litepockets:

This error is simply telling you that paypal_curl.php cannot be found in your /includes/modules/paypal folder... re-upload that file...

22 Nov 2008, 5:01 PM
#4
paulf avatar

paulf

New Zenner

Join Date:
Nov 2008
Posts:
6
Plugin Contributions:
0

Re: Payment modules error - can someone advise?

The files are definately on the server. I just cannot understand why it is not working. Is it best not to use WS FTP to upload zencart files to the server???

Paul

22 Nov 2008, 5:11 PM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Payment modules error - can someone advise?

wsftp pro is fine

but you may want to go ahead and try uploading the files again

( minus the 2 configuratin files )

22 Nov 2008, 5:30 PM
#6
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Payment modules error - can someone advise?

Not sure if this will apply to your situation, but in the past I've found that permissions settings for certain files have prevented the PHP script from finding them. Maybe this is something to look in to.

Also, I recommend upgrading back PHP 5.2.6, because all future versions of Zen Cart will require PHP 5 as a minimum.

22 Nov 2008, 6:33 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: Payment modules error - can someone advise?

paulf:

Warning: main(/usr/local/psa/home/vhosts/uggboots4you.co.uk/httpdocs/includes/modules/paypal/paypal_curl.php) [function.main]: failed to open stream:** No such file or directory** in ...The error message is pretty clear: the file doesn't exist on the server in the location where it's expecting it.

paulf:

Can anyone advise me as i am beginning to think i will not be able to fix this bug.It's not a Zen Cart bug. You're missing the file.

22 Nov 2008, 7:51 PM
#8
paulf avatar

paulf

New Zenner

Join Date:
Nov 2008
Posts:
6
Plugin Contributions:
0

Re: Payment modules error - can someone advise?

Hi

Ive managed to fix the problem. I am not sure whether it was the permission not set on the server or the file not uploading properly.

I am happy ive managed to fix the problem and thank you for your help on this.

Paul

Merlinpa1969:

wsftp pro is fine

but you may want to go ahead and try uploading the files again

( minus the 2 configuratin files )