redfordnl Posted September 7, 2017 Share Posted September 7, 2017 (edited) Hello everyone, I have a problem in Back Office with the tab Settings/Store Contact. Website is almost done with editing, just need to fill out some information about the Store like store name, adress, longitude/altitude etc. But when I press "Save" it automatically downloads a PHP file called "index.php". So I can't add a store locator or change store information. On all other tabs "save" button works, I've checked already. Also deleted cache through BO and also through FTP (../cache/smarty/cache). Turned on/off cache BO and also "Force Compile". Still not working in this tab. Also turned on error report but this is doing nothing because download starts directly when pressing "save". When I open the PHP file (index.php) it says: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>200 OK</title> </head><body> <h1>OK</h1> <p>The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.</p> </body></html> Strange because only in this tab it is not working like the rest of BO. Maybe delete "index.php" through FTP in cache folder? Or another solution possible? Thanks in advance! Greetings from the Netherlands Edited September 7, 2017 by redfordnl (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted September 7, 2017 Share Posted September 7, 2017 This might be the case if you use NGINX with some faulty configuration. If you try to open your front end page with adding index.php like this http://exampleshop.com/index.php What happens then? Link to comment Share on other sites More sharing options...
redfordnl Posted September 7, 2017 Author Share Posted September 7, 2017 (edited) Hello Scully, Thank you for quick answer. It goes directly to home page. Nothing strange... Edited September 7, 2017 by redfordnl (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted September 7, 2017 Share Posted September 7, 2017 You might check others having the same issue.... Some threads say that modules like visual composer or other lead to this kind of problems. https://www.google.ch/search?q=site%3Aprestashop.com+%22The+server+is+temporarily+unable+to+service+your+request+due+to+maintenance+downtime+or+capacity+problems.%22&ie=utf-8&oe=utf-8 Link to comment Share on other sites More sharing options...
redfordnl Posted September 7, 2017 Author Share Posted September 7, 2017 Hello Scully, Yes I'm familiar with Error 500/503 etc. But that's not the problem. It's downloading an index.php file instead of saving and I don't know why it does that. Normally delete cache should fix the problem. But not this time... Link to comment Share on other sites More sharing options...
redfordnl Posted September 7, 2017 Author Share Posted September 7, 2017 Hello everyone, Easy fix... Should knew this also ... Thanks Scully for your quick support! 1) Create php.ini file with the following:memory_limit = 32Mmax_input_vars = 5000post_max_size = 32M2) place the php.ini file in your prestashop/admin folder3) verify that the info is correct by placing a phpinfo.php file into the same directory with the following code:<?php phpinfo(); ?>4) navigate in your browser to the phpinfo.php file5) If everything worked then the paramaters should correspond 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