Page 1 of 10

OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Mon Dec 20, 2010 4:27 am
by Qphoria
This thread is for ALL v1.4.9.3 bugs. Please keep them in one thread instead of multiple threads as it is easier to search and fix them. New bugs and fixes will be updated in this first post so check here often.

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Mon Dec 20, 2010 9:35 am
by allenshea
Good job, Q,

I have upgraded to 1.4.9.3, but currently, I don't see the SPECIAL PRICE in product list if the date is 0000-00-00, it works if special items have a date but is there is another way to get them to work for 0000-00-00

If you could kindly add SPECIAL PRICE in product_form.tpl would be great as well

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Tue Dec 21, 2010 2:53 am
by Qphoria
I've never used 0000-00-00 for dates but I can add it in the next version.

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Thu Dec 23, 2010 10:35 am
by alimname
search box does not work on product pages

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Thu Dec 23, 2010 11:16 am
by JAY6390
I can confirm that I've had a weird issue with the search too - The problem is this line

Code: Select all

	url = location.protocol + "//" + location.host + "/" + pathArray[1] + '/';
It assumes you are in a subfolder for your location, when in fact it's not always the case
You can fix it using

Code: Select all

    url = '<?php echo HTTP_SERVER; ?>';
instead. This needs to be done in

Code: Select all

/catalog/view/theme/your-theme/template/common/header.tpl

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Thu Dec 23, 2010 12:24 pm
by Qphoria
JAY6390 wrote:I can confirm that I've had a weird issue with the search too - The problem is this line

Code: Select all

	url = location.protocol + "//" + location.host + "/" + pathArray[1] + '/';
It assumes you are in a subfolder for your location, when in fact it's not always the case
You can fix it using

Code: Select all

    url = '<?php echo HTTP_SERVER; ?>';
instead. This needs to be done in

Code: Select all

/catalog/view/theme/your-theme/template/common/header.tpl
Yea.. that old IE8 bug.. I never did get around to that.. but if that fixes it great.. Also deleting IE8 from your computer fixes that a whole lot of other problems (like famine, disease, gout... IE causes them all)

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Thu Dec 23, 2010 5:13 pm
by SapporoGuy
Getting a date standard that includes times would be good feature to have in the base code.

@ ie
It is the MOST EXPENSIVE item in the world (well, not if you consider XP) ... imagine how much money could be transfered to education and famine if you didn't have spend time and money on fixing those 2.

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Thu Dec 23, 2010 7:41 pm
by JAY6390
It was actually in chrome that I had the issue

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Thu Dec 23, 2010 7:55 pm
by i2Paq
There is a bug in the BO -> System -> Settings -> Option Tab: Invoice Start No.: (Set the starting number the invoices will begin from.)

This will only work if there are no Invoices yet, after generating an Invoice you can set whatever you like in that box but the system will completely ignore that and just generate the next Invoice-no with 1.
The Prefix function does work.

This is in all version that has this function.

See also: [BUG] Setting new Invoice startno does not work.

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Thu Dec 23, 2010 7:57 pm
by i2Paq
i2Paq wrote:There is a bug in the BO -> System -> Settings -> Option Tab: Invoice Start No.: (Set the starting number the invoices will begin from.)

This will only work if there are no Invoices yet, after generating an Invoice you can set whatever you like in that box but the system will completely ignore that and just generate the next Invoice-no with 1.
The Prefix function does work.

This is in all version that has this function.

See also: [BUG] Setting new Invoice startno does not work.
As 2011 is just around the corner I think a quick fix is needed.

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Thu Dec 23, 2010 8:56 pm
by Qphoria
JAY6390 wrote:It was actually in chrome that I had the issue
LIES AND SLANDER!
The original issue was IE only
http://forum.opencart.com/viewtopic.php ... 33#p108330

Tho, I just tried it with FF, Chrome, and IE8 and couldn't reproduce it here:
http://unbannable.com/v1493/desktops/pc/hp3065
but I know I saw it at one point

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Thu Dec 23, 2010 9:15 pm
by JAY6390
I'm actually using a two-level deep install that it happened on, ie http://localhost/dir/subdir/index.php?.......
From the JS code it only takes one part, in the case above the dir, not the subdir as well

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Thu Dec 23, 2010 10:24 pm
by Qphoria
JAY6390 wrote:I'm actually using a two-level deep install that it happened on, ie http://localhost/dir/subdir/index.php?.......
From the JS code it only takes one part, in the case above the dir, not the subdir as well
and your fix above seems to fix it all?

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Thu Dec 23, 2010 10:52 pm
by JAY6390
yup did for me

Downloads Not Displaying in Admin

Posted: Fri Dec 24, 2010 1:56 am
by SiteE@se
Files get uploaded, they are listed in the download table of the database, but they are not displaying in the list of downloads in the Admin. It says 'No Results' ..... but 'Showing 1 to 3 of 3 (1 Pages)' at bottom right indicates that there are indeed 3 files, they are just not getting listed.

The files are also not showing as available to mark as a download in the product data screen.

Have tested on 2 separate installations, different domains.

Re: Downloads Not Displaying in Admin

Posted: Fri Dec 24, 2010 2:30 am
by Qphoria
SiteE@se wrote:Files get uploaded, they are listed in the download table of the database, but they are not displaying in the list of downloads in the Admin. It says 'No Results' ..... but 'Showing 1 to 3 of 3 (1 Pages)' at bottom right indicates that there are indeed 3 files, they are just not getting listed.

The files are also not showing as available to mark as a download in the product data screen.

Have tested on 2 separate installations, different domains.
Cannot reproduce. The download system hasn't changed. Do you have multiple languages and possibly not entering the second language entry?

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Fri Dec 24, 2010 3:47 am
by SiteE@se
Cannot reproduce. The download system hasn't changed. Do you have multiple languages and possibly not entering the second language entry?
No, only one language - default English. Languages and currencies set to disabled to avoid the display of the switchers but that shouldn't affect anything, should it?

Re: Downloads Not Displaying in Admin

Posted: Fri Dec 24, 2010 3:55 am
by SiteE@se
Qphoria wrote: Cannot reproduce. The download system hasn't changed. Do you have multiple languages and possibly not entering the second language entry?
This from the error log might shed some light. Nothing is being written to the download_description table:

2010-12-23 17:35:30 - PHP Notice: Undefined index: download_description in xxx/admin/controller/catalog/download.php on line 420
2010-12-23 17:35:30 - PHP Warning: Invalid argument supplied for foreach() in xxx/admin/controller/catalog/download.php on line 420
2010-12-23 17:35:30 - PHP Notice: Undefined index: download_description in xxx/admin/model/catalog/download.php on line 12
2010-12-23 17:35:30 - PHP Warning: Invalid argument supplied for foreach() in xxx/admin/model/catalog/download.php on line 12

Line 420 seems language related?

Re: Downloads Not Displaying in Admin

Posted: Fri Dec 24, 2010 4:21 am
by SiteE@se
SiteE@se wrote:
Line 420 seems language related?
Yup - Definitely language related - caused by me disabling the default and only language. As a result the Download Name field hadn't shown up in the insert download admin page. It still allowed me to choose and submit a file though. Perhaps this could be looked at so that the behaviour would be to return an error on the page itself.

The language switcher code will now just have to be deleted manually from the header.tpl template file. I always thought the advice had been to disable this and the currency in the admin backend? Perhaps things have changed ......

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Posted: Fri Dec 24, 2010 9:21 am
by alimname
JAY6390 wrote:I can confirm that I've had a weird issue with the search too - The problem is this line

Code: Select all

	url = location.protocol + "//" + location.host + "/" + pathArray[1] + '/';
It assumes you are in a subfolder for your location, when in fact it's not always the case
You can fix it using

Code: Select all

    url = '<?php echo HTTP_SERVER; ?>';
instead. This needs to be done in

Code: Select all

/catalog/view/theme/your-theme/template/common/header.tpl
thanks :)