Jump to content

Can not get Debug mode to work in Prestashop 1.6.1.5


Recommended Posts

Sounds like your AJAX calls are failing, in which case you'll need to find the red AJAX call in the Firebug console and then check the Response tab to see the error message. It's possible it is a file permissions issue or a programming issue.

 

If you've made all your changes to PrestaShop as overrides, then it's safe to upgrade without loses your changes. You'll lose all non-override changes in the upgrade and need to re-apply them, so keep a log of your changes and make a backup of your site before upgrading so you can refer back to it if needed.

Link to comment
Share on other sites

When I first started with Prestashop I did not know about the overrides so I made the changes directly. I guess my options are to try and fix my current version or start over with a new version.

 

For now I will try to trouble shoot. 

 

Sounds like your AJAX calls are failing, in which case you'll need to find the red AJAX call in the Firebug console and then check the Response tab to see the error message. It's possible it is a file permissions issue or a programming issue.

 

Please explain how to do the above mentioned?

  • Like 1
Link to comment
Share on other sites

You'll need to install Firefox with the Firebug extension if you haven't already and then press F12 to open Firebug. Then edit a product and you should see something like the following:

post-13933-0-41120200-1476538028_thumb.png

 

As you can see, there are no errors on my PrestaShop v1.6.1.7 test site. In your case, there will be some AJAX calls that are red instead of black. Click the + icon on the left to view the error message in the Response tab. If you have enabled _PS_MODE_DEV_, there should be an error message there that can be used to debug.

Link to comment
Share on other sites

I've added some extra text to one of my product description and clicked on save and stay. The page then refreshes without saving the new added text but all the lines in firebug are black.

 

I've also tried adding to cart then receive a "Your shopping cart is empty." message but the firebug screen was blank.

Link to comment
Share on other sites

Weird. Sounds like something is preventing data being written to the database. It's possible your MySQL user doesn't have permission to write to the database. I'm not sure what else would cause that level problem, except maybe an override that is causing it.

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...