aakarshan29 Posted January 21, 2012 Share Posted January 21, 2012 Hi. I have posted my PS problem before on the forum but it proved of no luck to me. Actually , my prestashop is displaying a blank page whenever one types an invalid url. Earlier it used to redirect to an error page inside prestashop which said that the url is invalid. But now it is displaying a simple white page. I tried debug module but found no errors. Neither is 'page not found' module registering any invalid URLs. If anyone experienced the same or knows the probable cause of the issue and the fix, please let me know. I shall be thankful to you. Regards. Link to comment Share on other sites More sharing options...
musicmaster Posted January 21, 2012 Share Posted January 21, 2012 I am not sure what debug module you are using. A page not found calls "404.php" which calls "config/config.inc.php" which (usually) calls "controllers/PageNotFoundController.php". As a programmer you could plant debugging commands (something like "echo 'this is line 5';" along the track. You might start with switching the debugging in "config/config.inc.php" on: @ini_set('display_errors', 'on'); define('_PS_DEBUG_SQL_', true); Please provide some information: what PS version are you using and did you change anything from the code? Link to comment Share on other sites More sharing options...
aakarshan29 Posted January 21, 2012 Author Share Posted January 21, 2012 Thanks for the speedy reply. I am using PS 1.4.6.1 and didn't change anything in the code except changing some colours in global.css and a background. I am not into coding but can do modifications if provided with a tutorial. Link to comment Share on other sites More sharing options...
musicmaster Posted January 25, 2012 Share Posted January 25, 2012 Sometimes those problems are related to friendly url's. If you use those it might help to (re)generate the .htaccess. Otherwise you might make the changes I suggested in config.inc.php. Keep a copy of the original so that you can restore it if you make an error or are finished experimenting. Link to comment Share on other sites More sharing options...
musicmaster Posted January 29, 2012 Share Posted January 29, 2012 One element I missed: the cache. I think I once saw something similar after I switched the pretty urls off while I kept caching etc. on. Link to comment Share on other sites More sharing options...
Recommended Posts