hamish Posted January 20, 2011 Share Posted January 20, 2011 I have followed the instructions within the paypal module but every time i go to click the pay with paypal button i get the following page displayed"Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."Im just building a very very simple shop to sell one item and only want to accept paypal ...my shop is at www.realphotographersforum.com/shopany help would be greatly appreciated! Link to comment Share on other sites More sharing options...
optiplex1 Posted January 20, 2011 Share Posted January 20, 2011 contact your service provider he solve your problem or check your connection work properly. Link to comment Share on other sites More sharing options...
hamish Posted January 20, 2011 Author Share Posted January 20, 2011 its definitely nothing to do with my connection or the servers connection, everything else works fine .. is that what you mean?the problem is either in how i have set up prestashop or how i have set up paypal ... i just dont know which or how to find outbtw, i have searched for the problem and the only solution i could find was to do with file permissions ... i have set the file permissions to 755 for the paypal directory and 644 for its content ... this is what i read to be correct file permissions, can anyone confirm that this is correct?also if it is any help the url for the above problem is http://www.realphotographersforum.com/shop/modules/paypal/redirect.php Link to comment Share on other sites More sharing options...
coxylad Posted January 20, 2011 Share Posted January 20, 2011 Thats correct,Directory for the modules 755 and 644 for the files in the dir.Use the file manager in Cpanel or your web end config... not the ftp program as this often does not workI have just done this after the same errors.Good Luck Link to comment Share on other sites More sharing options...
hamish Posted January 20, 2011 Author Share Posted January 20, 2011 cheers for the reply, unfortunately i have had no luck ...i checked the file permissions in cpannel, they were as they should be, i changed then to the same values (if that makes sense?)still no luck...any more thoughts? Link to comment Share on other sites More sharing options...
hamish Posted January 20, 2011 Author Share Posted January 20, 2011 this is the error message in the error log if that opens any mental doorsSoftException in Application.cpp:601: Directory "/home/realphoto/public_html/shop/modules" is writeable by group, referer: http://www.realphotographersforum.com/shop/order.php Link to comment Share on other sites More sharing options...
Robert G. Posted January 20, 2011 Share Posted January 20, 2011 Have a look here: http://www.google.co.uk/#sclient=psy&hl=en&q;="SoftException+in+Application.cpp:601:"&fp=1Eventhough you stated you chmodded the folders correctly, it does really appear to be an issue with the modules and/or paypal folder being group/world-writable (777). Link to comment Share on other sites More sharing options...
tomerg3 Posted January 20, 2011 Share Posted January 20, 2011 It is 100% permission issue, you can read more about it at http://www.presto-changeo.com/content/13-fixing-error-500 Link to comment Share on other sites More sharing options...
hamish Posted January 20, 2011 Author Share Posted January 20, 2011 i have definitely changed them ... i have tried in filezilla and cpanel - one changes the other every time i try so they both seem to work - see screen capsstill getting the same problem?i have had suggested to me that they need to be 777 and that it needs to be how i have set it ... neither option works ... Link to comment Share on other sites More sharing options...
tomerg3 Posted January 20, 2011 Share Posted January 20, 2011 1) Change /modules itself to 755.In general, nothing should be 777, your host (and many others) block php files from executing if they are (or in a folder that is) 777 Link to comment Share on other sites More sharing options...
Robert G. Posted January 20, 2011 Share Posted January 20, 2011 Same goes for the other folders as well, unless specifically instructed to do so (e.g. the cache and /img folder). Link to comment Share on other sites More sharing options...
tomerg3 Posted January 20, 2011 Share Posted January 20, 2011 nothing should be 777 period, unless your server is configured poorly and can only write to files from php files if they (and the folders) are 777, in which case, I would highly recommend switching hosts.... Link to comment Share on other sites More sharing options...
hamish Posted January 21, 2011 Author Share Posted January 21, 2011 so basically, the prestashop instructions are incorrect?I have just set all the mods to 755 and the paypal dir content to 644 and hey-presto it worksthanks everyone ... that was really starting to get frustrating ... especially as this site is effectively a trial run for being able to offer it to a client who has specifically requested paypal and paypal was the only thing i have struggled to get working! the last ecommerce site we built was on magento ... i cant even begin to tell you how much easier to use presta shop is compared to magento ... not to mention the much much better support forum ... thanks againregards (a very happy) Hamish Link to comment Share on other sites More sharing options...
Robert G. Posted January 21, 2011 Share Posted January 21, 2011 tomerg3 has a point with not setting chmod 777 on any folder, but if you'd only have set it on the folders mentioned in the installation instructions, you'd have been fine. Glad to hear you got it resolved!p.s.On Magento vs PrestaShop: they're in a different league altogether: Magento is great for high-traffic 10.000+ product stores (loadbalancing over multiple servers, just to name an advantage) but does have a higher learning curve, whereas PrestaShop is excellent for the beginning / medium store running on a single server.(And yes, I love PrestaShop for that!) Link to comment Share on other sites More sharing options...
hamish Posted January 21, 2011 Author Share Posted January 21, 2011 this is what confused me "While you have your FTP connected to your Web hosting server, make sure the following PrestaShop folders have ‘write’ permissions (also known as “CHMOD 777” – explanation of file permissions here) but do not apply these permissions recursively (to their subfolders): /config, /upload, /download, /tools/smarty/compile. Then make sure the following folders have ‘write’ permissions and apply these permissions recursively (to their subfolders): /img, /mails, /modules, /themes/prestashop/lang, /translations"http://www.prestashop.com/wiki/Installing_And_Updating_PrestaShop_Software/Based on that, I applied 777 to the folders it told me ... to be honest, reading it again... I still cant see how I went wrong? Link to comment Share on other sites More sharing options...
Robert G. Posted January 21, 2011 Share Posted January 21, 2011 Hm, you're right, that does sound odd. That text instructing you to apply it recursively is not there in the French installation instructions as far as I can tell (but then again, my French is rusty at best). Link to comment Share on other sites More sharing options...
hamish Posted January 21, 2011 Author Share Posted January 21, 2011 ah well, its working now, and hopefully this thread should provide some help to other people who might get stuck in the same way ... unless of course im the only one ... Link to comment Share on other sites More sharing options...
Recommended Posts