Community Forums

Post any OpenCart 1.4.7 Bugs here!

Bug reports here

Re: Post any OpenCart 1.4.7 Bugs here!

Postby i2Paq » Thu Apr 15, 2010 9:19 am

a_smith wrote:issue with 147 admin countries list (admin-system-localisation-countries).
not all countries from db show up on the list.


Why did you not read the whole of this topic as this "bug" is mentioned on page one + the fix is there to.

"BO Country and Zone hard coded limit"
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] BTW + Verzend & betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 9858
Joined: Mon Nov 09, 2009 11:00 am
Location: Winkel - The Netherlands

Re: Post any OpenCart 1.4.7 Bugs here!

Postby a_smith » Thu Apr 15, 2010 9:39 am

i2Paq wrote:
a_smith wrote:issue with 147 admin countries list (admin-system-localisation-countries).
not all countries from db show up on the list.


Why did you not read the whole of this topic as this "bug" is mentioned on page one + the fix is there to.

"BO Country and Zone hard coded limit"


I read the whole thread, have all official fixes applied include BO hard coded limit limit.

My files :
admin\controller\localisation\country.php and admin\controller\localisation\zone.php lines 165-170

Code: Select all
      $data = array(
         'sort'  => $sort,
         'order' => $order,
         'start' => ($page - 1) * 10,
         'limit' => $this->config->get('config_admin_limit')
      );


this fix doesn't work (for me).

I did apply this fix to 'very fresh' OC test installation with no other changes after install. it won't work. some countries are duplicated over different tabs and the last countries from the list won't show up on the list/missing
a_smith
 
Posts: 5
Joined: Wed Apr 14, 2010 2:25 pm

Re: Post any OpenCart 1.4.7 Bugs here!

Postby i2Paq » Thu Apr 15, 2010 9:46 am

a_smith wrote:
i2Paq wrote:
a_smith wrote:issue with 147 admin countries list (admin-system-localisation-countries).
not all countries from db show up on the list.


Why did you not read the whole of this topic as this "bug" is mentioned on page one + the fix is there to.

"BO Country and Zone hard coded limit"


I read the whole thread, have all official fixes applied include BO hard coded limit limit.

My files :
admin\controller\localisation\country.php and admin\controller\localisation\zone.php lines 165-170

Code: Select all
      $data = array(
         'sort'  => $sort,
         'order' => $order,
         'start' => ($page - 1) * 10,
         'limit' => $this->config->get('config_admin_limit')
      );


this fix doesn't work (for me).

I did apply this fix to 'very fresh' OC test installation with no other changes after install. it won't work. some countries are duplicated over different tabs and the last countries from the list won't show up on the list/missing


It must be something else as no-one else has this problem.

Did you do a new install after you found out about this issue?
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] BTW + Verzend & betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 9858
Joined: Mon Nov 09, 2009 11:00 am
Location: Winkel - The Netherlands

Re: Post any OpenCart 1.4.7 Bugs here!

Postby a_smith » Thu Apr 15, 2010 11:42 am

i2Paq wrote:It must be something else as no-one else has this problem.
Did you do a new install after you found out about this issue?


!!don't be confused. it's not 10 limit hardcoded issue, its something else!!

1. newly downloaded 147 package, new db, clean install, default setup
2. go to admin/system/localisation/countries
- only 10 countries shown per page (per tab) and this is 10 limit hardcoded in zone.php and country.php files (line 169 for both files: 'limit' => 10)
3. go to the last page (last tab) which is nr 12. the last entry on the list is 'Libyan Arab Jamahiriya'. all other countries in alphabetical order are missing as there is no future tabs (13, 14, 15...)
4. all countries over different tabs are unique.

now:

5. apply BO 10 limit fix (change line 169 in zone.php/country.php to
Code: Select all
'limit' => $this->config->get('config_admin_limit')
)
6. go to page/tab 1 of the countries list. now you see 20 countries per page (default setup).
7. check what countries are shown on page1 (from Afghanistan to Belarus)
8. go to page2 and check the countries (from Armenia to Brazil). first 10 countries on tab2 are Afganistan to Belarus and that's meant they are duplicated as already shown on tab1 (second 10's).
9. go to page3 (Belgium to Cayman Islands). and again first 10 countries on page3 are Belgium to Brazil which mean all are duplicated from second 10 countries from the previous page.
10. go to last tab12. Very last country on the list is Mali. No other tabs, no consecutive countries are available

can you see it now?
a_smith
 
Posts: 5
Joined: Wed Apr 14, 2010 2:25 pm

Re: Post any OpenCart 1.4.7 Bugs here!

Postby i2Paq » Thu Apr 15, 2010 11:51 am

a_smith wrote:
i2Paq wrote:It must be something else as no-one else has this problem.
Did you do a new install after you found out about this issue?


!!don't be confused. it's not 10 limit hardcoded issue, its something else!!

*knip*

can you see it now?


Confirmed!

I'm sorry, you are right.

Last country is Mali, last page is page 12, page 2 and page 3 contain the same country's.
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] BTW + Verzend & betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 9858
Joined: Mon Nov 09, 2009 11:00 am
Location: Winkel - The Netherlands

Re: Post any OpenCart 1.4.7 Bugs here!

Postby a_smith » Thu Apr 15, 2010 12:14 pm

Confirmed!

hallelujah!
a_smith
 
Posts: 5
Joined: Wed Apr 14, 2010 2:25 pm

Re: Post any OpenCart 1.4.7 Bugs here!

Postby Qphoria » Thu Apr 15, 2010 1:44 pm

Well its the same bug with the countries. I was just giving the "quick fix" but wasn't the full fix, forgetting you guys aren't programmers

1. EDIT 3 files:
admin/controller/localisation/country.php
admin/controller/localisation/zone.php
admin/controller/catalog/download.php

2. FIND:
Code: Select all
$data = array(
   'sort'  => $sort,
   'order' => $order,
   'start' => ($page - 1) * 10,
   'limit' => 10
);

3. REPLACE WITH:
Code: Select all
$data = array(
         'sort'  => $sort,
         'order' => $order,
         'start' => ($page - 1) * $this->config->get('config_admin_limit'),
         'limit' => $this->config->get('config_admin_limit')
      );
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18242
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Post any OpenCart 1.4.7 Bugs here!

Postby a_smith » Thu Apr 15, 2010 1:59 pm

Qphoria wrote:Well its the same bug with the countries. I was just giving the "quick fix" but wasn't the full fix, forgetting you guys aren't programmers

when I look at full fix code it seems to be so obvious :-)

anyway
for this time you scored,
it fix the issue - confirmed
a_smith
 
Posts: 5
Joined: Wed Apr 14, 2010 2:25 pm

Re: Post any OpenCart 1.4.7 Bugs here!

Postby rednet » Thu Apr 15, 2010 2:18 pm

$this->config->get('config_admin_limit')
admin/controller/localisation/download.php and home.php files, have the same problem?.
rednet
 
Posts: 12
Joined: Tue Feb 09, 2010 10:09 pm

Re: Post any OpenCart 1.4.7 Bugs here!

Postby Qphoria » Thu Apr 15, 2010 2:22 pm

Yea.. you mean admin/controller/catalog/download.php
Same fix.
I guess my global find/replace didn't work so well

I don't see any problem in the home file. Just the country, zone, and download
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18242
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Post any OpenCart 1.4.7 Bugs here!

Postby i2Paq » Thu Apr 15, 2010 2:25 pm

Qphoria wrote:I guess my global find/replace didn't work so well


pruts0r

;D
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.

BUGs?: Known BUGS for All OC Versions.

[How to] BTW + Verzend & betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 9858
Joined: Mon Nov 09, 2009 11:00 am
Location: Winkel - The Netherlands

Re: [MOD] - Put payment terms into an ajax thickbox popup

Postby MrConn » Sat Apr 17, 2010 5:50 pm

For some reason it calls the Terms & Conditions in account registration on my site...
The text on the link says Privacy Policy, but when the popup opens it shows Terms & Condition...
This is 1.4.7...
Image
Nemmelig.no - Billige Gadgets!
MrConn
 
Posts: 118
Joined: Tue Mar 23, 2010 12:08 am

Re: Post any OpenCart 1.4.7 Bugs here!

Postby MisoM » Sat Apr 17, 2010 7:53 pm

Hello,

I reloaded install zip again, but I have still one problem. (I upgraded from 1.3.2 to version 1.4.7) If I add some goods to shopping cart, shopping cart is still empty. After when I add goods to the basket, box on right column only change size, but still ist empty, total price is still 0.

Can you help me, where is the problem?

Thanks
MisoM
 
Posts: 6
Joined: Sun Apr 11, 2010 2:26 pm
Location: Slovakia

Re: Post any OpenCart 1.4.7 Bugs here!

Postby eka7a » Sat Apr 17, 2010 8:54 pm

Image
Last edited by Qphoria on Sat Apr 17, 2010 9:05 pm, edited 1 time in total.
Reason: removed solution as it was incorrect
User avatar
eka7a
 
Posts: 177
Joined: Sat Apr 11, 2009 4:59 pm
Location: Türkiye

Re: Post any OpenCart 1.4.7 Bugs here!

Postby Qphoria » Sat Apr 17, 2010 9:18 pm

MisoM wrote:Hello,

I reloaded install zip again, but I have still one problem. (I upgraded from 1.3.2 to version 1.4.7) If I add some goods to shopping cart, shopping cart is still empty. After when I add goods to the basket, box on right column only change size, but still ist empty, total price is still 0.

Can you help me, where is the problem?

Thanks


Edit each product and verify there is a weight class
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18242
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Post any OpenCart 1.4.7 Bugs here!

Postby Qphoria » Sat Apr 17, 2010 9:21 pm

eka7a wrote:Image


Thanks!

Fix:
1. EDIT: catalog/controller/checkout/shipping.php

2. FIND & DELETE (near or at line 87):
Code: Select all
$this->language->load('checkout/shipping');


3. FIND (near or at line 34):
Code: Select all
if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validate()) {


4. BEFORE, ADD:
Code: Select all
$this->language->load('checkout/shipping');
Last edited by i2Paq on Sun Apr 18, 2010 8:36 am, edited 1 time in total.
Reason: Added line-numbers + code tags
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18242
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Post any OpenCart 1.4.7 Bugs here!

Postby eka7a » Sat Apr 17, 2010 9:52 pm

thanks :)
User avatar
eka7a
 
Posts: 177
Joined: Sat Apr 11, 2009 4:59 pm
Location: Türkiye

Re: Post any OpenCart 1.4.7 Bugs here!

Postby MisoM » Sat Apr 17, 2010 10:02 pm

Qphoria wrote:
MisoM wrote:Hello,

I reloaded install zip again, but I have still one problem. (I upgraded from 1.3.2 to version 1.4.7) If I add some goods to shopping cart, shopping cart is still empty. After when I add goods to the basket, box on right column only change size, but still ist empty, total price is still 0.

Can you help me, where is the problem?

Thanks


Edit each product and verify there is a weight class


I have weight class set as kilogram.
MisoM
 
Posts: 6
Joined: Sun Apr 11, 2010 2:26 pm
Location: Slovakia

Re: Post any OpenCart 1.4.7 Bugs here!

Postby rph » Sun Apr 18, 2010 3:30 am

Is there a reason product_tags and product_featured are using utf8_general_ci instead of utf8_bin like the rest of the cart?
-Ryan
VQMod Manager: FREE extension to fully manage your VQMods from Admin!
Admin Enhancement Suite: Powerful Admin features and enhancements
Dependent Options: Option values displayed based on customer input
Catalog Mode: Disable "Add to Cart" and display your store in view-only
Unofficial OpenCart Wiki | Commercial Support and Development
User avatar
rph
 
Posts: 2835
Joined: Thu Jan 07, 2010 9:05 pm
Location: Lincoln, Nebraska

Re: Post any OpenCart 1.4.7 Bugs here!

Postby Qphoria » Sun Apr 18, 2010 4:23 pm

no
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18242
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

PreviousNext

Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 15 guests

Hosted by Arvixe Web Hosting