whoey Posted April 4, 2017 Share Posted April 4, 2017 both when editing pre-existing products from 1.7.0.6 or when trying to add new products. Oops! An Error OccurredThe server returned a "500 Internal Server Error".Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. That seems like a really big problem. 1 Link to comment Share on other sites More sharing options...
whoey Posted April 4, 2017 Author Share Posted April 4, 2017 works when debug mode is enabled, but not when disabled. 1 Link to comment Share on other sites More sharing options...
Nickless Posted May 10, 2017 Share Posted May 10, 2017 Very strange. I am having the same problem. Did you find a solution other than enabling debug mode? Link to comment Share on other sites More sharing options...
whoey Posted July 13, 2017 Author Share Posted July 13, 2017 1.7.0.6 > 1.7.1.2 on test duplicate setup (sub directory/copy of live site/database) worked fine, upgrade live site and same problem adding new products get a 500 error, unless debug mode is enabled. Link to comment Share on other sites More sharing options...
PabloDev Posted July 19, 2017 Share Posted July 19, 2017 Hi Whoey, I have the same problem for the versión 1.6.1.4, if i try place “PS_MODE_DEV = false” appears “500 Internal Server Error”. Webpage only works in “PS_MODE_DEV = true”. Have you found the solution for this? Thanks Link to comment Share on other sites More sharing options...
whoey Posted July 21, 2017 Author Share Posted July 21, 2017 I have just done a test with 1.7.2.0 (from 1.7.0.6) and this still persists. Rather annoying since 1.7.0.6 has a display bug with product variant that is causing us a bunch of headaches, and obviously running the site in debug mode to add or edit products is also not a solution. Link to comment Share on other sites More sharing options...
whoey Posted July 26, 2017 Author Share Posted July 26, 2017 Some time to play around with this, so I tried again by removing the 1-click upgrade module in prestashop 1.7.0.6, reinstalling via the module addons marketplace (which installs 1-click upgrade 2.1.0) and upgrading to prestashop 1.7.2.0. After upgrade the 1-click upgrade module can be updated to 3.0.2 (all of this was done on a clone of our live install to not have any downtime) No errors on upgrade. 1.7.2.0 works fine with the exception if I try to edit or add a new product I get the 500 error. Enabling debug mode allows products to be added or edited without error. PHP version: 5.6.30 Memory limit: 400M MySQL version: 5.6.35 Link to comment Share on other sites More sharing options...
whoey Posted July 26, 2017 Author Share Posted July 26, 2017 and finally the error from the logs related: PHP Fatal error: Class 'PrestaShopBundle\\Entity\\AttributeRepository' not found in /var/www/domain.com/htdocs/prestashop/vendor/doctrine/orm/lib/Doctrine/ORM/Repository/DefaultRepositoryFactory.php on line 68, referer: https://domain.com/prestashop/index.php/product/catalog?_token= Link to comment Share on other sites More sharing options...
whoey Posted August 25, 2017 Author Share Posted August 25, 2017 Unbelievably, it's a simple solution. Our php was configured with Max execution time: 30, changed to 90 and the problem is gone. Hope this helps someone... Link to comment Share on other sites More sharing options...
whoey Posted August 25, 2017 Author Share Posted August 25, 2017 worked on cloned site, but not live site. Link to comment Share on other sites More sharing options...
garces Posted August 26, 2017 Share Posted August 26, 2017 Unbelievably, it's a simple solution. Our php was configured with Max execution time: 30, changed to 90 and the problem is gone. Hope this helps someone... can you tell me how can i fix it? Link to comment Share on other sites More sharing options...
AmigaINC Posted November 1, 2019 Share Posted November 1, 2019 On 7/26/2017 at 5:08 PM, whoey said: and finally the error from the logs related: PHP Fatal error: Class 'PrestaShopBundle\\Entity\\AttributeRepository' not found in /var/www/domain.com/htdocs/prestashop/vendor/doctrine/orm/lib/Doctrine/ORM/Repository/DefaultRepositoryFactory.php on line 68, referer: https://domain.com/prestashop/index.php/product/catalog?_token= Hi, in which log file did you read this line? 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