Jump to content

Pretashop 1.6 admin crush


justask

Recommended Posts

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.

  • Like 1
Link to comment
Share on other sites

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 678

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 679

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/Tools.php on line 134

 

admin message:

 

none (white page)

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

site: http://bionat-bio.com

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 678

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 679

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/Tools.php on line 134

site 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 814



site with www and /index.php: http://www.bionat-bio.com/index.php


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/shop/Shop.php on line 421

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/shop/Shop.php on line 422

 

Admin: still nothing

Link to comment
Share on other sites

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

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

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.

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...