Page 1 of 6

Post OpenCart 1.4.4 Bugs Here!

Posted: Tue Mar 16, 2010 2:14 am
by i2Paq
Daniel, thank you for your hard work!

To all forummers: Please post here all bugs (and those you think they are bugs) or other issues that are releated to the OC release 1.4.4 from the 15th of March 2010.

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Tue Mar 16, 2010 7:28 am
by paulsvang
Got this error when after I installed a fresh copy of OC1.4.4
I changed the php settings to enable larger file upload. I tried uploading 5mb file and it went okay. Then when I tried an 8mb file, I get this error.

Code: Select all

Notice: Undefined index: download_description in /home/syncroho/public_html/test/store/admin/controller/catalog/download.php on line 392Warning: Invalid argument supplied for foreach() in /home/syncroho/public_html/test/store/admin/controller/catalog/download.php on line 392Notice: Undefined index: download in /home/syncroho/public_html/test/store/admin/controller/catalog/download.php on line 398Notice: Undefined index: download in /home/syncroho/public_html/test/store/admin/controller/catalog/download.php on line 70Notice: Undefined index: remaining in /home/syncroho/public_html/test/store/admin/model/catalog/download.php on line 18Notice: Undefined index: download_description in /home/syncroho/public_html/test/store/admin/model/catalog/download.php on line 26Warning: Invalid argument supplied for foreach() in /home/syncroho/public_html/test/store/admin/model/catalog/download.php on line 26Warning: Cannot modify header information - headers already sent by (output started at /home/syncroho/public_html/test/store/admin/index.php:63) in /home/syncroho/public_html/test/store/system/engine/controller.php on line 27

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Tue Mar 16, 2010 7:35 am
by scot80
Why do you changed e.g. Zone 201 and 202 in the database?

This is unnecessary and totaly wrong. The Zones are called "Niederösterreich" and "Oberösterreich" not "Nieder" and "Ober".

It seems there are many changes in zone names with special characters that has no sense.

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Tue Mar 16, 2010 7:42 am
by Qphoria
It was likely an accident due to some encoding change. Just fix it in your store.

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Tue Mar 16, 2010 11:29 am
by paulsvang
ahh. Everything working great. Had to recheck php.ini file and correct some settings.

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Tue Mar 16, 2010 11:54 am
by allenshea
What should I do with "Approve" in customer, should I Approve all the customer here?

But when I try to Approve customer, I got

Code: Select all

Error: E-Mail sender required!
is this a bug?

I think my mail works, I can got info of Update Order and New Customer mail(added some code in create.php). But I can not got new order, Why?

Thanks,

Allen

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Tue Mar 16, 2010 12:53 pm
by rph
Minor Bug: utf8_bin case sensitivity is throwing off order by name sorting.

/catalog/model/catalog/category.php
public function getCategories

Code: Select all

$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_description cd ON (c.category_id = cd.category_id) LEFT JOIN " . DB_PREFIX . "category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '" . (int)$parent_id . "' AND cd.language_id = '" . (int)$this->config->get('config_language_id') . "' AND c2s.store_id = '" . (int)$this->config->get('config_store_id') . "' ORDER BY c.sort_order, cd.name");
fix

Code: Select all

$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_description cd ON (c.category_id = cd.category_id) LEFT JOIN " . DB_PREFIX . "category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '" . (int)$parent_id . "' AND cd.language_id = '" . (int)$this->config->get('config_language_id') . "' AND c2s.store_id = '" . (int)$this->config->get('config_store_id') . "' ORDER BY c.sort_order, LCASE(cd.name)");
/catalog/model/catalog/information.php
public function getInformations

Code: Select all

$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "information i LEFT JOIN " . DB_PREFIX . "information_description id ON (i.information_id = id.information_id) LEFT JOIN " . DB_PREFIX . "information_to_store i2s ON (i.information_id = i2s.information_id) WHERE id.language_id = '" . (int)$this->config->get('config_language_id') . "' AND i2s.store_id = '" . (int)$this->config->get('config_store_id') . "' ORDER BY i.sort_order, id.title ASC");
fix

Code: Select all

$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "information i LEFT JOIN " . DB_PREFIX . "information_description id ON (i.information_id = id.information_id) LEFT JOIN " . DB_PREFIX . "information_to_store i2s ON (i.information_id = i2s.information_id) WHERE id.language_id = '" . (int)$this->config->get('config_language_id') . "' AND i2s.store_id = '" . (int)$this->config->get('config_store_id') . "' ORDER BY i.sort_order, LCASE(id.title) ASC");

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Tue Mar 16, 2010 2:39 pm
by OSWorX
Qphoria wrote:It was likely an accident due to some encoding change. Just fix it in your store.
Unfortunately too many times too many accidents.

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Tue Mar 16, 2010 2:49 pm
by rph
Bug: Multiple category cache files are being generated because of differing $parent_id instead of a single one.
Version: 1.4.4 and earlier
Code Location: getCategories in /admin/model/catalog/category.php
How to reproduce: Delete cache files, go to Admin->Catalog->Categories

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Tue Mar 16, 2010 7:09 pm
by Daniel
allenshea wrote:What should I do with "Approve" in customer, should I Approve all the customer here?

But when I try to Approve customer, I got

Code: Select all

Error: E-Mail sender required!
is this a bug?

I think my mail works, I can got info of Update Order and New Customer mail(added some code in create.php). But I can not got new order, Why?

Thanks,

Allen
tjhat is a bug i need to fix.

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Tue Mar 16, 2010 7:15 pm
by Daniel
rph wrote:Bug: Multiple category cache files are being generated because of differing $parent_id instead of a single one.
Version: 1.4.4 and earlier
Code Location: getCategories in /admin/model/catalog/category.php
How to reproduce: Delete cache files, go to Admin->Catalog->Categories
I'm not sure this is a bug. it means that you can get any part of the category structure without having to go through the db.

Post OpenCart 1.4.3 Bugs Here!

Posted: Wed Mar 17, 2010 4:03 am
by i2Paq
In the \admin\language\english\english.php

You have two 999 error messages pointing to the same:

Code: Select all

$_['error_upload_999']        = 'Warning: Please check the form';
$_['error_upload_1']          = 'Warning: The uploaded file exceeds the upload_max_filesize directive in php.ini!';
$_['error_upload_2']          = 'Warning: The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form!';
$_['error_upload_3']          = 'Warning: The uploaded file was only partially uploaded!';
$_['error_upload_4']          = 'Warning: No file was uploaded!';
$_['error_upload_6']          = 'Warning: Missing a temporary folder!';
$_['error_upload_7']          = 'Warning: Failed to write file to disk!';
$_['error_upload_8']          = 'Warning: File upload stopped by extension!';
$_['error_upload_999']        = 'Warning: No error code avaiable!';

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Wed Mar 17, 2010 6:04 am
by jayson
Daniel wrote:
allenshea wrote:What should I do with "Approve" in customer, should I Approve all the customer here?

But when I try to Approve customer, I got

Code: Select all

Error: E-Mail sender required!
is this a bug?

I think my mail works, I can got info of Update Order and New Customer mail(added some code in create.php). But I can not got new order, Why?

Thanks,

Allen
tjhat is a bug i need to fix.
Hallo Daniel,

Thanks for the wonderful job. I know this has already been asked previously, in any case just wondering if
you had already made this minor fixed...???

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Wed Mar 17, 2010 9:02 am
by okstated
I'm gonna go ahead and report this as a bug, I had it under support. It happens on a fresh install out of the box after I've setup SSL and the SSL works fine for admin logins, just not store account login. It does this whether I have SEF urls turned on or not.

I get a URL that looks like this below
https://http//index.php?route=account/login
when trying to visit the account log in page.

Notice there's no domain name in that URL at all.

I added the proper URL for //HTTPS section of the config.php file in the admin directory.

It would be nice to know where and what to change so I could take care of this myself as well. Thanks.

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Wed Mar 17, 2010 11:30 am
by klutz
define('HTTPS_SERVER', 'https://' . substr($config->get('config_url'), 0, 7));
define('HTTPS_SERVER', 'https://' . substr($config->get('config_url'), 7));

it's OK!

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Wed Mar 17, 2010 3:16 pm
by gadget-store.ch
Hello

first of all: thanks for this great piece of software!

BUT the bug:
moneybookers ist not working. if i select moneybookers at checkout process, the button to proceed the payment with moneybookers will not work. the button is there but when i click on it, nothing happens.

best regards

Tax classes/rates priority

Posted: Wed Mar 17, 2010 5:49 pm
by coffeeandteaCZ
Hello,

not as bug as not verified piece.

When are you setting the tax classes and rates, and you give the same priority to the more tax rates, the system at the frontend does take only one tax rate. For ex. Tax 10% - priority 1, Tax 20% - priority 1 -> in this situation system uses only 20% VAT.

I thought i will run crazy of because i was not able to find out why it handles badly the taxes. I think that it can be fixed only by adding validator to look after set priority - if already exist, give error.

Bye

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Wed Mar 17, 2010 8:52 pm
by Daniel
okstated wrote:I'm gonna go ahead and report this as a bug, I had it under support. It happens on a fresh install out of the box after I've setup SSL and the SSL works fine for admin logins, just not store account login. It does this whether I have SEF urls turned on or not.

I get a URL that looks like this below
https://http//index.php?route=account/login
when trying to visit the account log in page.

Notice there's no domain name in that URL at all.

I added the proper URL for //HTTPS section of the config.php file in the admin directory.

It would be nice to know where and what to change so I could take care of this myself as well. Thanks.
this is not a buig. you have done something wong.

post a link to your site.

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Wed Mar 17, 2010 10:01 pm
by pgfady
Hello, Daniel

Just wondering did you fix the bug where you try to Apporve customers and you get this error

Code: Select all

Error: E-Mail sender required!

Re: Post OpenCart 1.4.4 Bugs Here!

Posted: Wed Mar 17, 2010 10:14 pm
by okstated
Daniel wrote: this is not a bug. you have done something wrong.

post a link to your site.
Hi Daniel. I sent you a private message with my website information.
Thanks.