Page 1 of 1

SOLVED!: OC 1.5.6 Blank page on customer login, logout, and checkout

Posted: Sun Mar 17, 2019 4:38 pm
by rkmk1
Hello,
I would appreciate any help or guidance, I have Opencart 1.5.6.4 with blank page redirection problem. First of all just to say that that on localhost (wampserver) everything works just fine, but on live server this error occurs.
Problem is when customer logins it shows only blank page https://www.website.com/index.php?route=account/login, if you hit https://www.website.com the customer is already logged in.
The same happens when customer logout, and checkout, while on checkout the order is placed (and paid) but redirects blank page.

Error log shows the following error:
2019-03-17 7:56:06 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/www/website.com/catalog/language/english/common/header.php:1) in /home/www/website.com/vqmod/vqcache/vq2-system_engine_controller.php on line 28
2019-03-17 7:56:06 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/www/website.com/catalog/language/english/common/header.php:1) in /home/www/website.com/vqmod/vqcache/vq2-system_engine_controller.php on line 29

What i checked so far is that there is no empty space after the ending php line ?> on any language file or any php file inside catalog folder, checked for missing ";" in the language php files, disabled all third party modifications in the vqmod\xml folder...
Tried with PHP 5.6.4 and 7.0.33 environment with various of settings, and again on localhost there is no error of any kind only on live server.
any help and ideas would be appreciated!
thanks

Re: Help!: OC 1.5.6 Blank page on customer login, logout, and checkout

Posted: Sun Mar 17, 2019 5:03 pm
by OSWorX
A blank and white page means in 99% of all cases an php-error.
And as the message already states:
Cannot modify header information - headers already sent by (output started at /home/www/website.com/catalog/language/english/common/header.php
This file has something wrong inside.
You said you have checked that file already, did you modified it?
And saved it WITH BOM?

Re: Help!: OC 1.5.6 Blank page on customer login, logout, and checkout

Posted: Sun Mar 17, 2019 5:11 pm
by rkmk1
yes completely forgot about that :laugh: BOM
SOLVED
:bang: (thank you OSWorX )