Inform-All Posted April 23, 2016 Share Posted April 23, 2016 Hi, I have a CMS page that has arround 90+ links. All of them without any language code because it fits for more languages. Before it worked fine, but now every time it display's this error: [Debug] This page has moved Please use the following URL instead: http://xxx.nl/index.php?id_cms=35&controller=cms&id_lang=7 So my "config/defines.inc.php" is fine (debug off) and php.ini is also fine. Even checked classes/link.php all of them are fine. I kinda run out on ideas where to check. So any input would be great. Prestashop 1.6.4 No friendly URL's (For now) Link to comment Share on other sites More sharing options...
El Patron Posted April 23, 2016 Share Posted April 23, 2016 Hi, maybe it's set incorrect, it should be false not off. define('_PS_MODE_DEV_', false); 1 Link to comment Share on other sites More sharing options...
Inform-All Posted April 23, 2016 Author Share Posted April 23, 2016 Hi, maybe it's set incorrect, it should be false not off. define('_PS_MODE_DEV_', false); Yeah it's set to 'false'. Link to comment Share on other sites More sharing options...
El Patron Posted April 23, 2016 Share Posted April 23, 2016 please use this module, it will display your phpinfo information as known by PrestaShop, i.e. after load. https://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/ then you can look/search on the php error settings, also it will tell you where the php.ini is being loaded. Link to comment Share on other sites More sharing options...
Inform-All Posted April 26, 2016 Author Share Posted April 26, 2016 (edited) please use this module, it will display your phpinfo information as known by PrestaShop, i.e. after load. https://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/ then you can look/search on the php error settings, also it will tell you where the php.ini is being loaded. As results: display errors - Local value On, master value: off php.ini is indeed set to false not off. Still no idea where to search. Edited April 26, 2016 by Inform-All (see edit history) Link to comment Share on other sites More sharing options...
andresams Posted September 14, 2017 Share Posted September 14, 2017 (edited) I solved this, I realized that the function php_strip_whitespace at AdminPerformanceController.php was returning NULL. That was because I edited my defines.inc.php on cpanel to enable and then disable the debug mode, and that corrupted or turned the file into binary. I solved this by uploading a new defines.inc.php, overwriting the existent file. Edited September 14, 2017 by andresams (see edit history) 1 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