G.S Posted November 7, 2018 Share Posted November 7, 2018 Since a few days we try to install the PrestaShop 1.7.4 on our server. We use PHP 7.2 (with CGI + opcache). The frontend works so far, but if we try to open shop/admin/index.php?controller=AdminOrder everything is fine. The problem begins if I try a link which starts like: shop/admin/index.php/module/manage?_token shop/admin/index.php/product/catalog .... Than we will get a 500 - failure The error.log shows: "AH01215: error: cannot stat directory" and "End of script output before headers: php72-cgi," Does anyone knows what to do ? Thank you for your help..... Link to comment Share on other sites More sharing options...
El Patron Posted November 8, 2018 Share Posted November 8, 2018 advanced parms-->performance-->enable ps debug mode recreate issue and copy paste full error here. to me sounds like a truncated file. el Link to comment Share on other sites More sharing options...
G.S Posted November 10, 2018 Author Share Posted November 10, 2018 thank you for your help, the problem is, that I can't open the performance link Is it possible to activate the function on antoher way ? Link to comment Share on other sites More sharing options...
El Patron Posted November 10, 2018 Share Posted November 10, 2018 On 11/8/2018 at 11:28 AM, El Patron said: advanced parms-->performance-->enable ps debug mode recreate issue and copy paste full error here. to me sounds like a truncated file. el 37 minutes ago, G.S said: thank you for your help, the problem is, that I can't open the performance link Is it possible to activate the function on antoher way ? Oh! yes there is, it requires FTP or file manager on your hosting to access the files directly. Here is old post on how to enable debug mode via file system: https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ Link to comment Share on other sites More sharing options...
G.S Posted November 11, 2018 Author Share Posted November 11, 2018 Thank you El, but it seems that this only helps for the frontend. The backend has still the same error 500 page. Is it possible to switch on the debug function for the backend ? Link to comment Share on other sites More sharing options...
El Patron Posted November 11, 2018 Share Posted November 11, 2018 38 minutes ago, G.S said: Thank you El, but it seems that this only helps for the frontend. The backend has still the same error 500 page. Is it possible to switch on the debug function for the backend ? Hi, check the error log on your hosting then. Some errors will never be displayed, i.e. mod_security for example. But enabling debug mode works same front office or back office. Link to comment Share on other sites More sharing options...
G.S Posted November 12, 2018 Author Share Posted November 12, 2018 Hi El, this is what I get from the error.log, if I try to open shop/preferences : [cgi:error] [pid 5390] AH01215: error: cannot stat directory: (shop/admin/index.php/configure/shop), referer: shop/admin/index.php?controller=AdminOrders& [cgi:error] [pid 5390] End of script output before headers: php72-cgi, referer: shop/admin/index.php?controller=AdminOrders Do you have an idea ? Link to comment Share on other sites More sharing options...
El Patron Posted November 12, 2018 Share Posted November 12, 2018 (shop/admin/index.php/configure/shop) does not look to be correct path and the error tells us that it does not existing or we do not have permissions maybe you have change to AdminOrders via 3rd party module? on performance page you can disable 3rd party modules and/or overrides. You can disable them retest, this will tell you 'maybe' if issue with 3rd party module/override. note: my 1.7.4 does not have 'shop-->preferences' navigation https://www.screencast.com/t/sRmU3cVV Link to comment Share on other sites More sharing options...
G.S Posted November 12, 2018 Author Share Posted November 12, 2018 Perfect - now it works ! As you said, I have changed the PHP modus to FastCGI, instead of CGI +opcache and the problem disapears. Many thanks for your help El & medekker ! 1 Link to comment Share on other sites More sharing options...
El Patron Posted November 12, 2018 Share Posted November 12, 2018 that's great and good idea medekker, nice to bump into you. Link to comment Share on other sites More sharing options...
amieetcopain Posted January 25, 2019 Share Posted January 25, 2019 On 11/13/2018 at 3:07 AM, El Patron said: (shop/admin/index.php/configure/shop) does not look to be correct path and the error tells us that it does not existing or we do not have permissions maybe you have change to AdminOrders via 3rd party module? on performance page you can disable 3rd party modules and/or overrides. You can disable them retest, this will tell you 'maybe' if issue with 3rd party module/override. note: my 1.7.4 does not have 'shop-->preferences' navigation https://www.screencast.com/t/sRmU3cVV I have the same problem, can't login the admin panel, the error log is "End of script output before headers: index.php, referer: " Hope anyone can help....thank you 1 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