otts Posted January 24, 2011 Share Posted January 24, 2011 I am using the latest version of Prestashop and am using the PayPal v1.7.1 Module. I am not sure what I am doing incorrectly, but when testing the purchase of a product everything works until I try to click the Paypal button. Upon doing so I am redirected to the main page of my store except the URL now reads http://blackrockpowdercompany.com/modules/paypal/redirect.php.I am not sure what further details I need to provide so that someone might be able to help me. My website address is www.blackrockpowdercompany.com. I have added all of the correct Paypal information such as email address, and I have configured the Paypal side according to the instructions given by the module.!I have also put together a Prestashop testing site that I have configured using my personal Paypal account and it redirects the way it is supposed to. I have taken the files ../modules/paypal/redirect.php and compared them side by side and there is no difference, so my problem does not lie their. I am out of options at this point and have no clue where to look.Any help would be appreciated and please ask me any questions that might help you helping me solve this. Thank you so much for your time Link to comment Share on other sites More sharing options...
Troy Posted January 24, 2011 Share Posted January 24, 2011 You can try to ftp "Paypal" into your modules again and see whether it works. I had the same problem before Link to comment Share on other sites More sharing options...
otts Posted January 24, 2011 Author Share Posted January 24, 2011 I tried uploading the module via FTP twice and I still get the same problem. This is the worst feeling getting this far in a project only to realize that one simple process is going to stop me if I don't find a solution. I wish I could just pay someone to look at it since this is my first dealings with an ecommerce site.Again, if anyone knows of a solution I am all ears. And thank you for your time in assisting me Troy! Link to comment Share on other sites More sharing options...
Pixel Posted January 24, 2011 Share Posted January 24, 2011 Your site is getting a 500 internal server error when it attempts to access modules/paypal/redirect.phpYour server appears to be running PHP as FastCGI - you might want to first check your file/folder permissions are correct. .php files need to be 600, .tpl and other files can be 644. Folders need to be 755If the permissions seem Ok, ask your hosting company to look at the logs. Link to comment Share on other sites More sharing options...
otts Posted January 24, 2011 Author Share Posted January 24, 2011 I will do that and let you know what I come up with Pixel. Thank you!Also I forgot to ask, do all of the files and folders on the entire site need to be set up with these permissions or just the files in the paypal folder? And another thing. I created a duplicate site for testing and did nothing different as far as setup is concerned, yet, the redirect works just fine on the testing site but not on the main site I need it to work on. I am stumped. Link to comment Share on other sites More sharing options...
carvemore Posted January 25, 2011 Share Posted January 25, 2011 I had the exact same issue..did what was suggested above and changed my paypal file permissions to 755 and worked no issue. Now for the speed issue..on to reading..new at all this also. Link to comment Share on other sites More sharing options...
otts Posted January 25, 2011 Author Share Posted January 25, 2011 Thanks carvemore for the advice. However, I double checked all of the permissions and everything is set as it is supposed to be. I have hired a developer that has built many sites with Prestashop to look at the issue and this is the first thing he looked at and he determined that all of my permissions were set correctly as well. I have hired him to troubleshoot the issue and see if he can find a solution but he seems stumped as well. I guess we will wait and see. Thank you all so much for your input and please, if someone can think of something we haven't then feel free to share. There has to be a logical solution somewhere. Meanwhile I am going to go over the server logs. Link to comment Share on other sites More sharing options...
otts Posted January 25, 2011 Author Share Posted January 25, 2011 Ok, I actually checked one last time and did find one file with the incorrect permission and changed it and it worked. Thank you all for taking the time to help me and offer advice. It WORKED!!! Yay! Link to comment Share on other sites More sharing options...
devilstoybox Posted January 30, 2011 Share Posted January 30, 2011 i have this problem, just changed the permissions in modules/paypal and its still coming up with the 500 internal error plus a 404 error. Link to comment Share on other sites More sharing options...
Housy Posted May 13, 2011 Share Posted May 13, 2011 i have this problem, just changed the permissions in modules/paypal and its still coming up with the 500 internal error plus a 404 error. I had the same problem. You must change directory and file permissions. Set all Prestashop directories to 0755, all files to 0644 and it should work without any problems.Hope this was helpful.Cheers,Housy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now