Post by AvanOsch » Tue May 15, 2012 10:38 pm

This is the official "Banner Language" extension Topic.
You can find the extension here: http://www.opencart.com/index.php?route ... on_id=6451

User avatar
Active Member

Posts

Joined
Sat Sep 03, 2011 9:17 pm

Post by polewest » Mon May 21, 2012 1:54 pm

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

Newbie

Posts

Joined
Mon May 21, 2012 1:48 pm

Post by AvanOsch » Mon May 21, 2012 6:32 pm

Hello Polewest,

I've tracked the error down, and this is a bug...
Thanks for the report.
Will fix a.s.a.p.

User avatar
Active Member

Posts

Joined
Sat Sep 03, 2011 9:17 pm

Post by AvanOsch » Mon May 21, 2012 8:34 pm

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.

User avatar
Active Member

Posts

Joined
Sat Sep 03, 2011 9:17 pm

Post by polewest » Mon May 21, 2012 10:56 pm

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

Newbie

Posts

Joined
Mon May 21, 2012 1:48 pm

Post by pap116 » Mon May 21, 2012 10:57 pm

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

Newbie

Posts

Joined
Mon May 21, 2012 10:54 pm

Post by AvanOsch » Tue May 22, 2012 6:22 am

Bugs should be fixed now.
I did fix a bug the last update, there just was another one in there... :drunk:

User avatar
Active Member

Posts

Joined
Sat Sep 03, 2011 9:17 pm

Post by polewest » Tue May 22, 2012 12:00 pm

Thanks AvanOsh, It works well now. Really good extension. Exactly what I was looking for.

Newbie

Posts

Joined
Mon May 21, 2012 1:48 pm

Post by AvanOsch » Tue May 22, 2012 5:49 pm

Thanks you for reporting the bug.
Glad you like it!

User avatar
Active Member

Posts

Joined
Sat Sep 03, 2011 9:17 pm

Post by SimonHavelock » Fri Aug 31, 2012 3:44 am

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):
Image

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 />

Newbie

Posts

Joined
Wed Aug 15, 2012 3:19 am

Post by AvanOsch » Fri Aug 31, 2012 6:06 am

Did you do a manual installation?
Or are you using vQMod?

User avatar
Active Member

Posts

Joined
Sat Sep 03, 2011 9:17 pm

Post by SimonHavelock » Fri Aug 31, 2012 5:01 pm

Manual Installation.

Newbie

Posts

Joined
Wed Aug 15, 2012 3:19 am

Post by AvanOsch » Fri Aug 31, 2012 8:36 pm

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...

User avatar
Active Member

Posts

Joined
Sat Sep 03, 2011 9:17 pm

Post by tolinho » Fri Aug 31, 2012 10:42 pm

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!

New member

Posts

Joined
Sat Jul 21, 2012 2:01 am

Post by AvanOsch » Fri Aug 31, 2012 11:06 pm

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! :laugh:

Ah, wait...
You mean the "Manufacturers Banners".
You WON'T have different images for "Catalog --> Manufacturers"...

Anyways,
Thanks for your comment!

User avatar
Active Member

Posts

Joined
Sat Sep 03, 2011 9:17 pm

Post by tolinho » Sat Sep 01, 2012 2:07 am

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!

New member

Posts

Joined
Sat Jul 21, 2012 2:01 am

Post by AvanOsch » Sat Sep 01, 2012 2:10 am

tolinho wrote:Thanks for this mod!
My pleasure.
Enjoy!

User avatar
Active Member

Posts

Joined
Sat Sep 03, 2011 9:17 pm

Post by ALandi » Sun Sep 09, 2012 6:13 am

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.

Newbie

Posts

Joined
Tue Jun 05, 2012 3:49 pm

Post by AvanOsch » Sun Sep 09, 2012 6:41 am

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

User avatar
Active Member

Posts

Joined
Sat Sep 03, 2011 9:17 pm

Post by ALandi » Sun Sep 09, 2012 8:02 pm

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.

Newbie

Posts

Joined
Tue Jun 05, 2012 3:49 pm
Who is online

Users browsing this forum: No registered users and 4 guests