Post by balloonprint » Tue Aug 28, 2018 7:26 am

Hi ,
I just tried to add new options (Opencart 2.3.0.2) and on save it bring me to blank page and do not save it. Can anyone advice how to fix it?
There is was no changes or new extensions on site for few weeks and it seems this bug come out with no reason...

Newbie

Posts

Joined
Tue Aug 16, 2016 1:55 am

Post by rjcalifornia » Tue Aug 28, 2018 7:57 am

balloonprint wrote:
Tue Aug 28, 2018 7:26 am
Hi ,
I just tried to add new options (Opencart 2.3.0.2) and on save it bring me to blank page and do not save it. Can anyone advice how to fix it?
There is was no changes or new extensions on site for few weeks and it seems this bug come out with no reason...
Check the error log for recent errors

Image


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by balloonprint » Mon Sep 03, 2018 5:07 pm

PHP Notice: Undefined variable: username in /home/......../admin/view/template/common/column_left.tpl on line 5

Newbie

Posts

Joined
Tue Aug 16, 2016 1:55 am

Post by balloonprint » Mon Sep 03, 2018 5:08 pm

i do not understand what is it mean and how to fix it.
PHP Notice: Undefined variable: username in ..../admin/view/template/common/column_left.tpl on line 5

Newbie

Posts

Joined
Tue Aug 16, 2016 1:55 am

Post by straightlight » Mon Sep 03, 2018 7:13 pm

An old bug probably.

In your admin/controller/common/common_left.php file,

find:

Code: Select all

$data['lastname'] = $user_info['lastname'];
add below:

Code: Select all

$data['username'] = $user_info['username'];
Then, find:

Code: Select all

$data['lastname'] = '';
add below:

Code: Select all

$data['username'] = '';
This should resolved the issue.

The most generated errors being found on Opencart forum originates from contributed programming. The increased counters are caused by posted redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 6 guests