Post by rkmk1 » Sun Mar 17, 2019 4:38 pm

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
Last edited by rkmk1 on Sun Mar 17, 2019 5:33 pm, edited 1 time in total.

Newbie

Posts

Joined
Sun Mar 17, 2019 4:21 pm

Post by OSWorX » Sun Mar 17, 2019 5:03 pm

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?

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by rkmk1 » Sun Mar 17, 2019 5:11 pm

yes completely forgot about that :laugh: BOM
SOLVED
:bang: (thank you OSWorX )

Newbie

Posts

Joined
Sun Mar 17, 2019 4:21 pm
Who is online

Users browsing this forum: No registered users and 32 guests