justask Posted March 11, 2015 Share Posted March 11, 2015 Hello, I m geting white page www.bionat-bio.com/bioadmin after making some changes to AdminController.php folowing tihs topic: 338513 even I undo changes to this file admin still stuck, please some help restore my prestashop admin and maintenance mode is on Thanks Link to comment Share on other sites More sharing options...
rocky Posted March 12, 2015 Share Posted March 12, 2015 Edit config/defines.inc.php and change line 29 from: define('_PS_MODE_DEV_', false); to: define('_PS_MODE_DEV_', true); You should then see an error message instead of a white page, which should help you to discover the error. 1 Link to comment Share on other sites More sharing options...
justask Posted March 12, 2015 Author Share Posted March 12, 2015 site message: Warning: Cannot modify header information - headers already sent by (output started at /home/bionabvk/public_html/config/defines.inc.php:1) in /home/bionabvk/public_html/classes/controller/FrontController.php on line 678Warning: Cannot modify header information - headers already sent by (output started at /home/bionabvk/public_html/config/defines.inc.php:1) in /home/bionabvk/public_html/classes/controller/FrontController.php on line 679Warning: Cannot modify header information - headers already sent by (output started at /home/bionabvk/public_html/config/defines.inc.php:1) in /home/bionabvk/public_html/classes/Tools.php on line 134 admin message: none (white page) Link to comment Share on other sites More sharing options...
rocky Posted March 12, 2015 Share Posted March 12, 2015 Still hard to help, unfortunately. Since the first warning message is related to a line that does a canonical URL redirect, my guess would be that you changed your domain name or entered an invalid domain name in the "Shop domain" and "SSL domain" fields on the Preferences > SEO & URLs tab. Make sure you are using the domain exactly as entered on that tab. Since you can no longer access your Back Office, you'll need to use phpMyAdmin if you need to change these fields. Go to the ps_configuration table and check the values for PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL. 1 Link to comment Share on other sites More sharing options...
justask Posted March 12, 2015 Author Share Posted March 12, 2015 site: http://bionat-bio.comWarning: Cannot modify header information - headers already sent by (output started at /home/bionabvk/public_html/config/defines.inc.php:1) in /home/bionabvk/public_html/classes/controller/FrontController.php on line 678Warning: Cannot modify header information - headers already sent by (output started at /home/bionabvk/public_html/config/defines.inc.php:1) in /home/bionabvk/public_html/classes/controller/FrontController.php on line 679Warning: Cannot modify header information - headers already sent by (output started at /home/bionabvk/public_html/config/defines.inc.php:1) in /home/bionabvk/public_html/classes/Tools.php on line 134site with /index.php: http://bionat-bio.com/index.php work fine but there is a warning message in header: Warning: Cannot modify header information - headers already sent by (output started at /home/bionabvk/public_html/config/defines.inc.php:1) in /home/bionabvk/public_html/classes/controller/FrontController.php on line 814site with www and /index.php: http://www.bionat-bio.com/index.phpWarning: Cannot modify header information - headers already sent by (output started at /home/bionabvk/public_html/config/defines.inc.php:1) in /home/bionabvk/public_html/classes/shop/Shop.php on line 421Warning: Cannot modify header information - headers already sent by (output started at /home/bionabvk/public_html/config/defines.inc.php:1) in /home/bionabvk/public_html/classes/shop/Shop.php on line 422 Admin: still nothing Link to comment Share on other sites More sharing options...
justask Posted March 12, 2015 Author Share Posted March 12, 2015 Hello, please ask if you need any other information; cPanel access infos... anything could help me domain is bionat-bio.com admin is /bioadmin regards Link to comment Share on other sites More sharing options...
rocky Posted March 13, 2015 Share Posted March 13, 2015 At least the Front Office is working again. A shame the Back Office still isn't working. You can turn off development mode to hide the warning message. I can't think of any other solution other than backing up the files you modified and then replacing them with copies from the original PrestaShop archive. Link to comment Share on other sites More sharing options...
justask Posted March 13, 2015 Author Share Posted March 13, 2015 how to turn off development mode? Link to comment Share on other sites More sharing options...
rocky Posted March 13, 2015 Share Posted March 13, 2015 Follow the instructions in my first reply, but change true to false instead. 1 Link to comment Share on other sites More sharing options...
justask Posted March 13, 2015 Author Share Posted March 13, 2015 how to turn off maintenance mode? Link to comment Share on other sites More sharing options...
rocky Posted March 13, 2015 Share Posted March 13, 2015 Go to the Preferences > Maintenance tab and then change "Enable shop" to "Yes". 1 Link to comment Share on other sites More sharing options...
justask Posted March 13, 2015 Author Share Posted March 13, 2015 I mean from phpMyAdmin, in my case I don't have access to admin Link to comment Share on other sites More sharing options...
rocky Posted March 13, 2015 Share Posted March 13, 2015 It's the PS_SHOP_ENABLE variable in ps_configuration. 1 Link to comment Share on other sites More sharing options...
justask Posted March 13, 2015 Author Share Posted March 13, 2015 Thank you very much for your support and quick answer I need your help reinstall PrestaShop for this site, but I want to keep old data (gategories, products, images, configuration...) is that possible? should I open a new Topic? Link to comment Share on other sites More sharing options...
rocky Posted March 13, 2015 Share Posted March 13, 2015 Yes, you can log in to phpMyAdmin and export all your database tables. As long as you are reinstalling an identical PrestaShop version, you should be able to overwrite the tables with your backup after reinstalling. That will work as long as it's an error in a file that is causing your problem. If the error is in your database, then restoring the backup will break your website again. I hope it works. Good luck. 1 Link to comment Share on other sites More sharing options...
justask Posted March 13, 2015 Author Share Posted March 13, 2015 Hello, Good news, chalenge resolved by updating PrestaShop from 1.6.0.11 to 1.6.0.13, using Softaculous Apps Installer(used to install PrestaShop), in cPanel interfaceThanks again & best regards 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