hi everyone
2017-02-10 11:45:04 - PHP Notice: Undefined variable: username in public_html/system/storage/modification/admin/view/template/common/column_left.tpl on line 5
the error above suddenly occour in error log yesterday
i have tried to install the Integrated VQmod for OpenCart 2 from JNeuhoff to solve the problem.
http://www.opencart.com/index.php?route ... n_id=19501
but my theme collapsed with no reason after installation.
According to the information of the page http://stackoverflow.com/questions/3939 ... e-username, i have tried to replace the column_left.tpl line 5 with the following code:
<img src="<?php echo $image; ?>" alt="<?php echo $firstname; ?> <?php echo $lastname; ?>" title="<?php echo $username; ?>" class="img-circle" />
It is fixed!for half day..........and it appear again...
actually what the problem is?can anyone have any solution else?
Please help,thank you very much
Problem is the image that you use from the user admin in the left col.
- Image,
- You'r name
- You'r usergroup
If you delete the image, the error wil not show and the standard image ico wil show.
Set the permissions to 755 or 777, at some servers you need also to reset the owner from GID and UID
Example in server Directadmin : folders and files have GID or UID name, named apache or other. You can reset the folders and it wil become you'r hosting name.
After that you can chmod folders and files to 755 or 777 if needed.
That should fix the problem
Regards
- Image,
- You'r name
- You'r usergroup
If you delete the image, the error wil not show and the standard image ico wil show.
Set the permissions to 755 or 777, at some servers you need also to reset the owner from GID and UID
Example in server Directadmin : folders and files have GID or UID name, named apache or other. You can reset the folders and it wil become you'r hosting name.
After that you can chmod folders and files to 755 or 777 if needed.
That should fix the problem
Regards
Toni's suggestion worked for me!
Thanks!
chris
Thanks!
chris
Who is online
Users browsing this forum: Bing [Bot], dparakhiya and 339 guests