lightbabbi Posted July 31, 2016 Share Posted July 31, 2016 (edited) As I wrote in the title, I can’t re-build the product's search index. When I click on it, after a few minutes, my VPS goes in error “500 Internal Server Error”.If I refresh the page, the whole site does not loads, so I have to manually reboot the VPS. This happen even if i press “Add to the index the missing products”. No products are added, same 500 error. I have 3610 products, and only 810 are indexed. My version of PrestaShop is the last one: 1.6.1.6. “max_execution_time” in Plesk is set on 30000 PHP version is 5.3. I’m freaking out guys. Any suggestions? Sorry for my english, I'm from Italy. Edited July 31, 2016 by lightbabbi (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted August 1, 2016 Share Posted August 1, 2016 I think the first thing you need to do is to find out what is the real cause of 500 Internal Server error. This error is very general, it could be error on your server including PHP script running error from PrestaShop or outside of PrestaShop. If you have not enabled debug mode, you can try to set _PS_MODE_DEV_ to true in file /config/defines.inc.php and try again to see if there is any detailed errors displayed. Link to comment Share on other sites More sharing options...
lightbabbi Posted August 2, 2016 Author Share Posted August 2, 2016 Debug mode is ON. no error in home page and BO Link to comment Share on other sites More sharing options...
musicmaster Posted August 3, 2016 Share Posted August 3, 2016 Rebuilding the index happens by Ajax. So you won't see an error on your page. Instead you should look in your error log or in your console to see what values were returned. Alternatively you could use Prestools. As its re-indexation is largely the same algorithm it might return the same values/problems. Link to comment Share on other sites More sharing options...
lightbabbi Posted August 3, 2016 Author Share Posted August 3, 2016 At least I've added all my products to the search index by clicking Add missing products to index. I’ve done this several several times, obtaining 500 Internal Server Error all the time. But, how could this be possible? In my Php settings on Plesk, "max_execution_time" is set on 30000 seconds! Link to comment Share on other sites More sharing options...
musicmaster Posted August 3, 2016 Share Posted August 3, 2016 until you look at the error messages you can't know for sure that this is a timemout problem. Link to comment Share on other sites More sharing options...
lightbabbi Posted August 4, 2016 Author Share Posted August 4, 2016 So how can I know exactly the cause of the 500 error message? Link to comment Share on other sites More sharing options...
shokinro Posted August 4, 2016 Share Posted August 4, 2016 you may look into yous hosting server log to see if you can find anything. you may ask your hosting service provider support to help, they know where to get that errors. Link to comment Share on other sites More sharing options...
nikunjtagadiya Posted August 12, 2016 Share Posted August 12, 2016 my ajax search for product working very good and fast but when i type any 3 or 4 words and hot enter for search its take too much time 2 or 3 min for display result anyone plaese help me in this issue. 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