Jump to content

How do I debug this problem


Recommended Posts

Hi,

 

I use prestashop 1.5.6.1

 

I Show my error report below:

 

Strict Standards: Declaration of FrontController::displayHeader() should be compatible with that of FrontControllerCore::displayHeader() in /hermes/bosnaweb06a/b641/ipg.reddoorcom/override/classes/controller/FrontController.php on line 119 Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosnaweb06a/b641/ipg.reddoorcom/classes/Validate.php:1) in /hermes/bosnaweb06a/b641/ipg.reddoorcom/classes/controller/FrontController.php on line 639 Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosnaweb06a/b641/ipg.reddoorcom/classes/Validate.php:1) in /hermes/bosnaweb06a/b641/ipg.reddoorcom/classes/controller/FrontController.php on line 640 Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosnaweb06a/b641/ipg.reddoorcom/classes/Validate.php:1) in /hermes/bosnaweb06a/b641/ipg.reddoorcom/classes/Tools.php on line 130

 

Before this problem appeared, I just edit code Validate.php & form.tpl.

 

I used this teaching web below:

http://mypresta.eu/en/art/developer/prestashop-product-page-full-rich-editor.html#validate_class_change 

 

But it's no use and my web has something error.

How should I do to solve?

Link to comment
Share on other sites

You likely installed a module that includes an override of the FrontController class.

 

In v1.5.6.1, the FrontController class has a function named displayHeader.  It takes 1 parameter as shown below

public function displayHeader($display = true)

You need to ensure the override that was installed has the same exact signature as this.

Link to comment
Share on other sites

and regarding to the override:

you use Frontcontroller override as bellini mentioned

 

 

FrontControllerCore::displayHeader() in /hermes/bosnaweb06a/b641/ipg.reddoorcom/override/classes/controller/FrontController.php on line 119 

 

problem is also there, with this override

do you know for what purposes it is there?

note that some non-default module created it probably

do you installed some non default modules recently?

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...