What is the encountered error from system - > design - > banners ?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
no errors there, but when I look in System -> Error log
I see the same error as josee225 :
2012-05-03 3:50:20 - PHP Notice: Undefined variable: image in /home/***/html/*admin*/controller/design/banner.php on line 381
but the banner works fine in the store front!
I see the same error as josee225 :
2012-05-03 3:50:20 - PHP Notice: Undefined variable: image in /home/***/html/*admin*/controller/design/banner.php on line 381
but the banner works fine in the store front!
In admin/controller/design/banner.php file,
find:
replace with:
Will the error still show ?
find:
Code: Select all
if ($banner_image['image'] && file_exists(DIR_IMAGE . $banner_image['image'])) {
Code: Select all
if (!empty($banner_image['image']) && file_exists(DIR_IMAGE . $banner_image['image'])) {
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thanks. I will update my first instructions which was originally based on the core which is why until I corrected the error, this error message appeared.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
There's also Banners Plus which adds easy-to-use multi-language banners, banner sorting, and individual banner image enabling and disabling.
-Ryan
Who is online
Users browsing this forum: No registered users and 1 guest