Jump to content

weird 500 sever error after trying to configure native Product Comments module. Problem and (temporary) solution.


Recommended Posts

This weird bug was sleeping bomb in my clean install of PS 1.7.7.1 until I tried to configure Product Comments module (v4.2.1) that was installed along with PS itself.

I've got blank screen and 500 server error in Developer tools. After manually turning on dev mode and error reporting I've got following message:

1577811873_ScreenShot2021-03-01at12_08_52.thumb.jpg.ce48b8e771a371ad027ff03f8287a62f.jpg

a bit of googling gave me the idea that problem somehow related to Symfony's understanding of /src/PrestaShopBundle/Resources/config/services/core/file.yml

So, here is problem part of that file highlighted:1145384406_ScreenShot2021-03-01at12_10_25.jpg.94eca1b145912314ff40e3abe8254088.jpg

fixed version that worked for me:

270498725_ScreenShot2021-03-01at12_10_41.jpg.7aac466731fe6df82676bc2f19e14211.jpg

Not sure, if it will lead any errors in future, but for now it works. Would like to hear back from developers if current solution is fine, or I should fix it some other way?

 

 

Edited by mfdenis (see edit history)
Link to comment
Share on other sites

  • mfdenis changed the title to weird 500 sever error after trying to configure native Product Comments module. Problem and (temporary) solution.
  • 2 months later...

It seems this error was somehow related to completey another module (third party), and modifications of YAML file corrupted updating to next version of prestashop. solution - removed outdated module, restored original yaml file. be cautious!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...