Jump to content

Big problems after install a theme - Warning: Cannot modify header information


Recommended Posts

Hi there! everything was working good in a fresh installing, im looking for a them and after to install a theme, got big errors, right now i can't accedd to admin panel . theme is this one:

https://www.leotheme.com/prestashop/themes/313-leo-gamegear.html

Installed this one and everything was problem.

i tried to fix but searching any similar problem but i can't see where to check more, so far this is what i get:

Warning: Cannot modify header information - headers already sent by (output started at /home/tmracing/public_html/tienda/classes/Cookie.php:1) in /home/tmracing/public_html/tienda/classes/Cookie.php on line 337

Any input please?

Thank you in advance!

Edited by walter (see edit history)
Link to comment
Share on other sites

this is what i found in cookie.php from 333 line to 338.

 

}
        if (PHP_VERSION_ID <= 50200) { /* PHP version > 5.2.0 */
            return setcookie($this->_name, $content, $time, $this->_path, $this->_domain, $this->_secure);
        } else {
            return setcookie($this->_name, $content, $time, $this->_path, $this->_domain, $this->_secure, true);
        }

 

where Line 337 

 return setcookie($this->_name, $content, $time, $this->_path, $this->_domain, $this->_secure, true);


any help will be appreciate it a lot! thank you!

Edited by walter (see edit history)
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...