yasser4ever1 Posted May 20, 2017 Share Posted May 20, 2017 I have prestashop 1.6 and now i am translating modules and when i save i get redirected to a blank page but my newly translations are saved i don't understand why this is happening although it didn't happen while i was translating the Frontoffice translations.I have a godaddy economy hosting package and here is my custom php.ini file max_input_vars = 5000 post_max_size = 128M upload_max_filesize = 256M memory_limit = 128M Link to comment Share on other sites More sharing options...
shokinro Posted May 20, 2017 Share Posted May 20, 2017 Have you tried to set _PS_DEV_MODE_ to true in file /config/defines.inc.php to see what errors displayed? Link to comment Share on other sites More sharing options...
yasser4ever1 Posted May 20, 2017 Author Share Posted May 20, 2017 I change it to true on file config/defines.inc.php as follows define('_PS_MODE_DEV_', true); But nothing changed i still see blank page Link to comment Share on other sites More sharing options...
yasser4ever1 Posted May 20, 2017 Author Share Posted May 20, 2017 I just tried somethin .. the translation form submit to AdminTranslationsController so i added @ini_set('display_errors', 'on'); @error_reporting(E_ALL | E_STRICT); At the beginning of the file and then i found this error Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/modules/spblocknewsletter/translations/ar.php:1) in /home/username/public_html/classes/Tools.php on line 252 Do you got any ideas what should i do from this point ? Link to comment Share on other sites More sharing options...
shokinro Posted May 20, 2017 Share Posted May 20, 2017 I do not think this warning has anything to do with the issue you are facing. It is something else. Instead of, the warning message because of your 2 lines if it is inserted into wrong places. So it is better to remove it. you can try to add following red line inside of redirect() function to see what happens. protected function redirect($save_and_stay = false, $conf = false) { die("break here"); $conf = !$conf ? 4 : $conf; ... 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