justinjiang Posted April 23, 2014 Share Posted April 23, 2014 (edited) when I test my payment, I have got a error message, said the order.php not found or unable to stat. can anyone help me, thanks a lot. here is the whole error log: [Wed Apr 23 12:52:28 2014] [error] [client 78.151.31.253] script '/var/www/vhosts/eastwaycateringsupplies.com/httpdocs/order.php' not found or unable to stat, referer: https://www.eastwaycateringsupplies.com/shop/gb/order-confirmation?id_module=120&id_cart=177&key=294784569810f499c1c41890d6673302&err=&orderid=13 I'm currently using Prestashop 1.5.6. attachment is my order.php file location. Edited April 23, 2014 by justinjiang (see edit history) Link to comment Share on other sites More sharing options...
DevNet Posted April 23, 2014 Share Posted April 23, 2014 Hi, Since PrestaShop 1.6, all root file are deprecated and the dispatching system (over the index.php file) with controllers usage is the way to solve your issue. Regards Link to comment Share on other sites More sharing options...
justinjiang Posted April 23, 2014 Author Share Posted April 23, 2014 Hi, Since PrestaShop 1.6, all root file are deprecated and the dispatching system (over the index.php file) with controllers usage is the way to solve your issue. Regards sorry but im using the prestashop 1.5.6 Link to comment Share on other sites More sharing options...
vekia Posted April 23, 2014 Share Posted April 23, 2014 order.php file exists in your prestashop installation root directory? Link to comment Share on other sites More sharing options...
DevNet Posted April 23, 2014 Share Posted April 23, 2014 Hum :/ and i suppose you've got this file "order.php" on your root folder ?Have you activate the display errors ? Link to comment Share on other sites More sharing options...
justinjiang Posted April 23, 2014 Author Share Posted April 23, 2014 order.php file exists in your prestashop installation root directory? I have no idea, how can I find it? where is the location? Thank you Link to comment Share on other sites More sharing options...
justinjiang Posted April 23, 2014 Author Share Posted April 23, 2014 Hum :/ and i suppose you've got this file "order.php" on your root folder ? Have you activate the display errors ? my order.php is on my httpdocs/shop folder. also how can i activate the display errors? thanks Link to comment Share on other sites More sharing options...
justinjiang Posted April 23, 2014 Author Share Posted April 23, 2014 order.php file exists in your prestashop installation root directory? my order.php is on my httpdocs/shop folder. i have add the picture on the first post, Link to comment Share on other sites More sharing options...
DevNet Posted April 23, 2014 Share Posted April 23, 2014 Is your permission of file are ok ? Like your index.php file for example ? Link to comment Share on other sites More sharing options...
justinjiang Posted April 24, 2014 Author Share Posted April 24, 2014 Is your permission of file are ok ? Like your index.php file for example ? sorry i am just a new user of Preatashop, how can i check my permission of file are ok? Thanks Link to comment Share on other sites More sharing options...
DevNet Posted April 24, 2014 Share Posted April 24, 2014 Go to your ftp root folder. You'll see the chmod of index.php file. Verify the chmod of order.php file. Also, you mus activate error messages. Displaying error messagesPrestaShop's default settings prevent the customer to see any server error message or any debugging code. You, on the other hand, need this information in order to correct any potential mistake in your code. To that end, open the /config/defines.inc.php file, and edit it to set _PS_MODE_DEV_ to true: /* Debug only */ define('_PS_MODE_DEV_', true); Regards Link to comment Share on other sites More sharing options...
justinjiang Posted April 24, 2014 Author Share Posted April 24, 2014 Go to your ftp root folder. You'll see the chmod of index.php file. Verify the chmod of order.php file. Also, you mus activate error messages.Displaying error messagesPrestaShop's default settings prevent the customer to see any server error message or any debugging code. You, on the other hand, need this information in order to correct any potential mistake in your code. To that end, open the /config/defines.inc.php file, and edit it to set _PS_MODE_DEV_ to true: /* Debug only */ define('_PS_MODE_DEV_', true); Regards I cannot find the chmod in the root folder, what exactly is the chmod, i do not quite understand Link to comment Share on other sites More sharing options...
vekia Posted April 24, 2014 Share Posted April 24, 2014 chmod it's "name" of permission for files, like on windows OS you can define if file is "read only", etc. watch this video: 1 Link to comment Share on other sites More sharing options...
justinjiang Posted April 26, 2014 Author Share Posted April 26, 2014 chmod it's "name" of permission for files, like on windows OS you can define if file is "read only", etc. watch this video: Thanks a lot i get it now, i just contact with my sever company to solve out this. thanks Link to comment Share on other sites More sharing options...
vekia Posted April 26, 2014 Share Posted April 26, 2014 in most of cases you can change chmods by yourself you will save a lot of time then 1 Link to comment Share on other sites More sharing options...
justinjiang Posted April 26, 2014 Author Share Posted April 26, 2014 in most of cases you can change chmods by yourself you will save a lot of time then my sever company just reply me and said its because the PHP is as "Apache", that's why i dont have the permission. but the problem I changed my site under "Apache" ownership, it's because I have received the "500 Internal Server Error" before, then the supporter help me changed the PHP running as "Apache" to solved out this problem. if I change the PHP run as "FastCGI", am i going to receive the same "500 Internal Server Error" problem? which is best for the PS running as? "Apache" or "FastCGI"? this payment problem is drive me crazy now, i have spend about one month with it, hope you can help me, Vekia. best wish Link to comment Share on other sites More sharing options...
AdrianaM Posted July 25, 2016 Share Posted July 25, 2016 Hi! Some customers (and it's very weird because it not apply to all) have problem with checkout and order confirmation. The Http error 500 occured: The nikbutik.pl page isn’t workingnikbutik.pl is currently unable to handle this request. HTTP ERROR 500 and it's failed to load http://nikbutik.pl/adres?back=order.php%3Fstep%3D1 page. Befor I had a onepagecheckout modul and everything worked fine till this morning. Then occured error and I turn off the modul, but error still exsist. Really I don't have any ideas what to check or do next. It's like system can't get some of clients addresses... I will be very very grateful for any help!! Link to comment Share on other sites More sharing options...
AdrianaM Posted July 26, 2016 Share Posted July 26, 2016 Problem was in public_html/override/contorllers/front - I delete all files except index.php and now error don't appear anymore Link to comment Share on other sites More sharing options...
Recommended Posts