OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
Re: Downloads Not Displaying in Admin
You should delete all but the currency and language you want to use, then use CSS to hide the elements - either display: none; or visibility: hiddenSiteE@se wrote: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 ......
You need a currency and a language


Better Product SEO URL's - Perfectly structured product links
Better Category SEO URL's - Give subcategories the same SEO keyword
SEO URL's Route Editor - Fix all of your index.php links

-

JAY6390 - Posts: 4636
- Joined: Wed May 26, 2010 3:47 pm
- Location: United Kingdom
Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
After updating from 1.4.9.2 to 1.4.9.3 yesterday I can no longer access Sales/Customers in Admin. It looks like it doesn't find the page.
Any idea why?
Any idea why?
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
-

Lao - Posts: 219
- Joined: Tue Nov 23, 2010 7:31 am
- Location: Craiova, Romania
Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
Need to post a little more.
Can you see the link?
What kind of error happens?
Double check to see if you uploaded "ALL" the files.
Can you see the link?
What kind of error happens?
Double check to see if you uploaded "ALL" the files.
930sc ... because it is fun!
-

SapporoGuy - Posts: 1133
- Joined: Mon Nov 01, 2010 11:29 am
Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
I already checked that.
It seems the problem was with the Gzip compression I "played" with earlier. My fault. Is there any gain in putting anything greater than 0 in Gzip compression?
It seems the problem was with the Gzip compression I "played" with earlier. My fault. Is there any gain in putting anything greater than 0 in Gzip compression?
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
-

Lao - Posts: 219
- Joined: Tue Nov 23, 2010 7:31 am
- Location: Craiova, Romania
Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
I find the get() function in system/library/cache.php a little strange. At least, the return() statement should be moved up into the if($handle) block. Otherwise, the foreach() would be useless and a simple $files[0] would do the trick.
IMHO, the function should look like this
Being here, the __construct() may have some small optimisation as well. The if() in this snippet is pretty useless, as the unlink() will take care of this anyway.
IMHO, the function should look like this
- Code: Select all
public function get($key) {
$files = glob(DIR_CACHE . 'cache.' . $key . '.*');
if ($files) {
foreach ($files as $file) {
$cache = '';
$handle = fopen($file, 'r');
if ($handle) {
$cache = fread($handle, filesize($file));
fclose($handle);
return unserialize($cache);
}
}
}
}
Being here, the __construct() may have some small optimisation as well. The if() in this snippet is pretty useless, as the unlink() will take care of this anyway.
- Code: Select all
if (file_exists($file)) {
@unlink($file);
}
- Skipper
- Posts: 8
- Joined: Thu Jan 07, 2010 7:48 am
Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
Skipper wrote:
Being here, the __construct() may have some small optimisation as well. The if() in this snippet is pretty useless, as the unlink() will take care of this anyway.
- Code: Select all
if (file_exists($file)) {
@unlink($file);
}
actually since display error notices are on by default then the if() is needed otherwise you will get error notices displayed.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
- Xsecrets
- Posts: 5042
- Joined: Sat Oct 24, 2009 7:51 pm
- Location: FL US
Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
Lao wrote:I already checked that.
It seems the problem was with the Gzip compression I "played" with earlier. My fault. Is there any gain in putting anything greater than 0 in Gzip compression?
When there are no errors on the page, gzip should work fine and improve page speed. Only in the case where there are errors should gzip cause the page to not load. Check the error log for errors on that page

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
Xsecrets wrote:Skipper wrote:
Being here, the __construct() may have some small optimisation as well. The if() in this snippet is pretty useless, as the unlink() will take care of this anyway.
- Code: Select all
if (file_exists($file)) {
@unlink($file);
}
actually since display error notices are on by default then the if() is needed otherwise you will get error notices displayed.
Yea this is a race condition and the if() was added to try to help the problem with an error message stating that the unlink failed because the file doesn't exist. It's still not a 100% solution tho

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
Not sure I can follow you. The following snippet is 100% quiet at the unlink(). Because of the at-operator, I assume.
- Code: Select all
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', '1');
@unlink("blafasel");
- Skipper
- Posts: 8
- Joined: Thu Jan 07, 2010 7:48 am
Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
in catalog/model/shipping/flat.php on line 27
should be

- Code: Select all
'title' => $this->language->get('text_title'),
should be
- Code: Select all
'title' => $this->language->get('text_description'),

- krittawit_st
- Posts: 14
- Joined: Fri Sep 18, 2009 5:06 pm
- Location: Thailand
Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
Qphoria wrote:Lao wrote:I already checked that.
It seems the problem was with the Gzip compression I "played" with earlier. My fault. Is there any gain in putting anything greater than 0 in Gzip compression?
When there are no errors on the page, gzip should work fine and improve page speed. Only in the case where there are errors should gzip cause the page to not load. Check the error log for errors on that page
I get this:
2010-12-27 22:58:53 - PHP Notice: Undefined variable: text_error in /usr/home/clients/HR7409/domains/importpieseauto.ro/catalog/view/theme/default/template/product/category.tpl on line 15
2010-12-28 2:37:07 - PHP Notice: Undefined variable: text_error in /usr/home/clients/HR7409/domains/importpieseauto.ro/catalog/view/theme/default/template/product/category.tpl on line 15
And line 15 of category.tpl is:
- Code: Select all
<div class="content"><?php echo $text_error; ?></div>
Any ideas what I should check or modify?
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
-

Lao - Posts: 219
- Joined: Tue Nov 23, 2010 7:31 am
- Location: Craiova, Romania
Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
Skipper wrote:Not sure I can follow you. The following snippet is 100% quiet at the unlink(). Because of the at-operator, I assume.
- Code: Select all
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', '1');
@unlink("blafasel");
Yes that is, but it bypasses the custom error handler that opencart uses

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Google feed and discounted price v1.4.9.3
New Google base product feed works fine with USD and GBP now, but still does not take discounted price into account.
Is this a bug or is this the way it should work ?
Thank you for your comments !
Is this a bug or is this the way it should work ?
Thank you for your comments !
- david25
- Posts: 33
- Joined: Mon May 31, 2010 5:49 pm
Re: Google feed and discounted price v1.4.9.3
david25 wrote:New Google base product feed works fine with USD and GBP now, but still does not take discounted price into account.
Is this a bug or is this the way it should work ?
Thank you for your comments !
Not really a bug, just needs a feature request to add it

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
Can't move image in image manager.
popup appear, but no list of folder.
it say "Warning: Invalid argument supplied for foreach() in .../admin/controller/common/filemanager on line 378"
how to fix it. thank you.
Edit : It work in chrome but not work in firefox and ie.
popup appear, but no list of folder.
it say "Warning: Invalid argument supplied for foreach() in .../admin/controller/common/filemanager on line 378"
how to fix it. thank you.
Edit : It work in chrome but not work in firefox and ie.
- krittawit_st
- Posts: 14
- Joined: Fri Sep 18, 2009 5:06 pm
- Location: Thailand
Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
Lao wrote:I already checked that.
It seems the problem was with the Gzip compression I "played" with earlier. My fault. Is there any gain in putting anything greater than 0 in Gzip compression?
You should only get a blank page with gzip compression if there is an error. Load that page and check the system error log and see if there was some reason why you got an error

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
I think I encountered another 1.4.9.3 bug.
The story:
Customer orders product, priced 199 RON.
Shipping is priced 25 RON.
Total: 199+25= 224 RON
After talking on the phone, he requested that I add another product, price 89 RON.
After I did this in Admin,
Sub-Total is ok (288 RON), 0.00 I guess it's from the product option, but Total showed it's wrong: 224 RON (it's the OLD Total).
Anyway, bellow it, everything it's ok, I mean the 313.00 RON.
See attachment for clearer understanding.
The story:
Customer orders product, priced 199 RON.
Shipping is priced 25 RON.
Total: 199+25= 224 RON
After talking on the phone, he requested that I add another product, price 89 RON.
After I did this in Admin,
Sub-Total is ok (288 RON), 0.00 I guess it's from the product option, but Total showed it's wrong: 224 RON (it's the OLD Total).
Anyway, bellow it, everything it's ok, I mean the 313.00 RON.
See attachment for clearer understanding.
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
-

Lao - Posts: 219
- Joined: Tue Nov 23, 2010 7:31 am
- Location: Craiova, Romania
Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
The total is not the last row in your picture.. Total should always be last and I think the code assumes the last row will get the update.

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
So all I have to do is change places of Total with Shipping method in Order Totals.
I put Total the very last now.
I put Total the very last now.
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
-

Lao - Posts: 219
- Joined: Tue Nov 23, 2010 7:31 am
- Location: Craiova, Romania
Re: OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE
I think there is a problem with approved customers. I have approving customers switched off in administration. I upgrade from 1.4.0 to 1.4.9.3 and now I see that all customers added before upgrade are also customers awaiting approval. I think it is bug in upgrade script or it is bug in dashboard - if I have switched off customer approving then dashboard haven't show number of customers awaiting approving. And also column Approved in Customers is useless.
berushka .::: Hot Wheels Shop | PetShopáček
-

berushka - Posts: 253
- Joined: Wed Mar 03, 2010 9:40 am
- Location: Czech Republic
Who is online
Users browsing this forum: No registered users and 9 guests













