InMotion Hosting Support Center

Prestashop main page error

Category: Prestashop 15

npoulis
Asked:
2014-11-21 8:31 am EST

Hits: 803
Hi on my initial prestashop page I get the following errors:

Warning: Cannot modify header information - headers already sent by (output started at /home/invent33/public_html/config/config.inc.php:1) in /home/invent33/public_html/classes/controller/FrontController.php on line 654

Warning: Cannot modify header information - headers already sent by (output started at /home/invent33/public_html/config/config.inc.php:1) in /home/invent33/public_html/classes/controller/FrontController.php on line 655

Warning: Cannot modify header information - headers already sent by (output started at /home/invent33/public_html/config/config.inc.php:1) in /home/invent33/public_html/classes/Tools.php on line 132

What is happening?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User

0

TJEdens
Staff
10,077 Points
2014-11-21 9:08 am EST
Hello Npoulis,

Have you made any changes to the core files as prestashop works clean out of the installation on all of our servers. Have you tried re-installing prestashop? I did take a look at your account files and your config.inc.php file had a lot of blank lines before and after the actual code. This has been known to be an issue in the past, however I removed the blank spaces and the error persist. Which leads me to either more blank space is being used in other files or core files have been modified.

Kindest Regards,
TJ Edens

You must login before you can post a comment about this answer.

Thanks, I had changed defines.inc.php to enable error reporting
define('_PS_MODE_DEV_', true) set to true. Probably the default setting of utf-8 of the Cpanel editor adds blank lines. Now I deleted some more blank lines in "defines.inc.php" and everything works fine.

Thanks for your help.
Nick Poulis
npoulis
8 Points
2014-11-21 9:32 am EST
Like this Question?

Related Articles

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!