Page 1 of 5
[Extension] Banner Language
Posted: Tue May 15, 2012 10:38 pm
by AvanOsch
This is the official "Banner Language" extension Topic.
You can find the extension here:
http://www.opencart.com/index.php?route ... on_id=6451
Re: [Extension] Banner Language
Posted: Mon May 21, 2012 1:54 pm
by polewest
Hi,
I have just install the extension using vqmod and when I updated my banners to add the link to my second language, an error message appeared saying:
Notice: Error: Duplicate entry '133' for key 'PRIMARY'
Error No: 1062
INSERT INTO banner_image SET banner_id = '9', link = '', image = 'data/Elephant.gif', banner_image_id = '133', title = 'test1', language_id = '1' in /big/dom/mywebsite/www/system/database/mysql.php on line 49
Maybe I missed something in the installation or maybe I am not using it properly. pLease help.
Thanks.
Polewest
Re: [Extension] Banner Language
Posted: Mon May 21, 2012 6:32 pm
by AvanOsch
Hello Polewest,
I've tracked the error down, and this is a bug...
Thanks for the report.
Will fix a.s.a.p.
Re: [Extension] Banner Language
Posted: Mon May 21, 2012 8:34 pm
by AvanOsch
Bug fixed.
vQMod installs only have to replace the vQMod xml.
For manual installations, update 2 lines in: "admin/model/design/banner.php" with the new changes.
Enjoy.
Re: [Extension] Banner Language
Posted: Mon May 21, 2012 10:56 pm
by polewest
Hi,
Thanks for the prompt response. I updated the file with the new version but unfortunately still get the same error message.
Thanks in advance
Polewest
Re: [Extension] Banner Language
Posted: Mon May 21, 2012 10:57 pm
by pap116
i uploaded xml file and the second language foto is missing from catalog view. Also i cant put title icon for both languages. OC1.5.2.1
Re: [Extension] Banner Language
Posted: Tue May 22, 2012 6:22 am
by AvanOsch
Bugs should be fixed now.
I did fix a bug the last update, there just was another one in there...

Re: [Extension] Banner Language
Posted: Tue May 22, 2012 12:00 pm
by polewest
Thanks AvanOsh, It works well now. Really good extension. Exactly what I was looking for.
Re: [Extension] Banner Language
Posted: Tue May 22, 2012 5:49 pm
by AvanOsch
Thanks you for reporting the bug.
Glad you like it!
Re: [Extension] Banner Language
Posted: Fri Aug 31, 2012 3:44 am
by SimonHavelock
Hi! Great extension and it's working almost fully properly, however I keep getting this error (it's normal after clicking "save", then when I click "edit" I see banner split up into two halfs):
with this error in the input field:
Code: Select all
<b>Notice</b>: Undefined index: 2 in <b>/home/.../admin/view/template/design/banner_form.tpl</b> on line <b>62</b>
Line 62 is:
Code: Select all
<input type="text" name="banner_image[<?php echo $image_row; ?>][<?php echo $language['language_id']; ?>][link]" value="<?php echo $banner_image[$language['language_id']]['link']; ?>" size="60" /><br />
Re: [Extension] Banner Language
Posted: Fri Aug 31, 2012 6:06 am
by AvanOsch
Did you do a manual installation?
Or are you using vQMod?
Re: [Extension] Banner Language
Posted: Fri Aug 31, 2012 5:01 pm
by SimonHavelock
Manual Installation.
Re: [Extension] Banner Language
Posted: Fri Aug 31, 2012 8:36 pm
by AvanOsch
Are you sure you applied all changes to all files?
I can't find any faults in the code...
To be sure, compare your files with the "Manual Install" folder.
To be even more sure, just use the vQMod installation...
Re: [Extension] Banner Language
Posted: Fri Aug 31, 2012 10:42 pm
by tolinho
Hi,
Just installed this mod (vQmod version) on opencart 1.5.4.1 and worked perfect.
This mod also allows us to have different images for manufacters, I was not aware, even better
Thanks!
Re: [Extension] Banner Language
Posted: Fri Aug 31, 2012 11:06 pm
by AvanOsch
tolinho wrote:Hi,
This mod also allows us to have different images for manufacters, I was not aware, even better
It does?!?
I wasn't aware of that myself!
Ah, wait...
You mean the "Manufacturers
Banners".
You WON'T have different images for "Catalog --> Manufacturers"...
Anyways,
Thanks for your comment!
Re: [Extension] Banner Language
Posted: Sat Sep 01, 2012 2:07 am
by tolinho
Sorry,
Mybe I should have tryed to explain better
I have two languages.
After installing this mod I fixed the frontpage banner, now has different banner image for each language, then below, the manufacter images for second language were not loading. Normal, because they were not set in the admin.
So under
System > Design > Banners > Manufacturers
I could set those images for the second language also.
This was a surprise
Yes, under Catalog > Manufacturers only one image can be set.
No problem here, because Manufacturer logo will be the same world wide I gess.
Thanks for this mod!
Re: [Extension] Banner Language
Posted: Sat Sep 01, 2012 2:10 am
by AvanOsch
tolinho wrote:Thanks for this mod!
My pleasure.
Enjoy!
Re: [Extension] Banner Language
Posted: Sun Sep 09, 2012 6:13 am
by ALandi
Hi there from support.
I use oc version 1.5.3.1. and installed your module. Had a huge problem after uninstalling it. Did as said on the guide but I'm now unable to enter the page's product page. Cant enter in the admin > System > Design > Banners also. Both show a blank page. I've tried installing it back but pages are still coming blank.
Can you please give me some "grandma style" instructions on how to uninstall it?
Regards.
Re: [Extension] Banner Language
Posted: Sun Sep 09, 2012 6:41 am
by AvanOsch
ALandi wrote:Hi there from support.
I use oc version 1.5.3.1. and installed your module. Had a huge problem after uninstalling it. Did as said on the guide but I'm now unable to enter the page's product page. Cant enter in the admin > System > Design > Banners also. Both show a blank page. I've tried installing it back but pages are still coming blank.
Can you please give me some "grandma style" instructions on how to uninstall it?
Regards.
I presume you did a manual install?
Did you do a "step-by-step" or "file compare" installation?
Can you turn PHP errors on?
If you used vQMod, clear the
YOUR_STORE/vqmod/vqcache/ folder
Re: [Extension] Banner Language
Posted: Sun Sep 09, 2012 8:02 pm
by ALandi
I just uploaded the vqmod file to public_html/vqmod/xml/BannerLanguage.xml. Than to uninstall, I went to admin > system > Design > banner, pasted &uninstall=true in front of
http://promosss.com/admin/index.php?rou ... 2f9e305ca4 and hit Enter. Than went to Extension > Vqmod Manager and Uninstalled the vqmod.
I can now install and uninstall that I only get blank page on the front page's product page, and on admin area Banner page.
The log error in sistems > Erro Log that appears are:
!-- Banner Language for OpenCart >= 1.5.1.3
--------- in /home/alandi/public_html/admin/controller/module/vqmod_manager.php on line 129
2012-09-09 11:48:32 - PHP Warning: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: -------------------------------------------------------------------------------- in /home/*/public_html/admin/controller/module/vqmod_manager.php on line 129
2012-09-09 11:48:32 - PHP Warning: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: ^ in /home/*/public_html/admin/controller/module/vqmod_manager.php on line 129
2012-09-09 11:48:32 - PHP Warning: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: /home/*/public_html/vqmod/xml/BannerLanguage.xml:34: parser error : Comment not terminated
<!-- Banner Language for OpenCart >= 1.5.1.3
--------- in /home/*/public_html/admin/controller/module/vqmod_manager.php on line 129
2012-09-09 11:48:32 - PHP Warning: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: Go to: Admin -- > Sysyem -- > Design -- > Banners in /home/*/public_html/admin/controller/module/vqmod_manager.php on line 129
2012-09-09 11:48:32 - PHP Warning: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: ^ in /home/*/public_html/admin/controller/module/vqmod_manager.php on line 129
2012-09-09 11:48:32 - PHP Warning: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: /home/*/public_html/vqmod/xml/BannerLanguage.xml:34: parser error : Comment not terminated
On Vqmod Manager, I have the following errors:
---------- Date: 2012-09-09 11:56:02 ~ IP : 85.247.67.249 ----------
REQUEST URI : /admin/index.php?route=tool/error_log&token=8ac0cb47a44cec0f328c542f9e305ca4
DOM UNABLE TO LOAD: /home/*/public_html/vqmod/xml/BannerLanguage.xml
---------- Date: 2012-09-09 11:44:43 ~ IP : 85.247.67.249 ----------
REQUEST URI : /index.php?route=product/product&product_id=43
DOM UNABLE TO LOAD: /home/*/public_html/vqmod/xml/BannerLanguage.xml
I appreciate your support.
Regards.