error with paypal

Hi there,

When i place a “test order”,i go to paypal page normally,but if i click in the inside the paypal page to go back to shop,i get the folowing error:





Warning: file_get_contents([url]http://www.funkysheila.com/shop/image.php?target=barcode_image&id=3&type=C128B&width=250&height=60&xres=1&font=3[/url]) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in /home/funkyshe/public_html/shop/core/fn_common.php on line 2363



Warning: file_get_contents([url]http://www.funkysheila.com/shop/image.php?target=barcode_image&id=3&type=C128B&width=250&height=60&xres=1&font=3[/url]) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in /home/funkyshe/public_html/shop/core/fn_common.php on line 2363



any ideas?

Apply 755 permissions to /core/

Apply 644 permissions to /fn_common.php



It’s possible that you may been to CHMOD other files if this error reoccurs that the get_file_contents call can refer to multiple files.



If you are using Paypal Pro then you will need to do the same for paypal_cert.txt

[quote name=‘JesseLeeStringer’]Apply 755 permissions to /core/

Apply 644 permissions to /fn_common.php[/QUOTE]

Is it possible to set 755 to ALL folders and 644 to ALL files in my root folder?


[quote name=‘JesseLeeStringer’]If you are using Paypal Pro then you will need to do the same for paypal_cert.txt[/QUOTE]



I’m not using it,i’m just setting up the basic one.But in case that i need,where can i find the file “paypal_cert.txt”?:smiley:

____________________________

it works now,the permissions were correct,the problem was that the root folder was pass protected,so it was causing conflict when redirecting