Internal error. To see this error please display the PHP errors. - PrestaShop
0.6 min read
|Problem
Integration Manager is showing the following Alert message from your PrestaShop cart:
Internal error. To see this error please display the PHP errors
Solution
This can be caused by many things in PrestaShop. The first step it to enable errors in PrestaShop so you can see what the actual error message is. To do this:
Access your web server and edit the following PrestaShop file: config/defines.inc.php
- Find the line with the following text: define('_PS_MODE_DEV_', false);
- Change the value to true so it looks like this: define('_PS_MODE_DEV_', true);
If your store is hosted at the root of your website, you can add the following line immediately above the _PS_MODE_DEV_ line for additional security: if (substr($_SERVER['REQUEST_URI'], 0, 4) == '/api')
- Save the file and re-upload the file you your web server if you didn't edit the file already on your web server.
- Wait for Integration Manager to re-attempt connecting to your website and Integration Manager will show a new alert with the actual error message that needs to be fixed.