Community Forums

OFFICIAL v1.4.9.3 BUG THREAD. POST ALL BUGS HERE

Bug reports here

Re: Downloads Not Displaying in Admin

Postby JAY6390 » Fri Dec 24, 2010 9:08 am

SiteE@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 should delete all but the currency and language you want to use, then use CSS to hide the elements - either display: none; or visibility: hidden

You need a currency and a language :)
ImageImageImage

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


Image
User avatar
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

Postby Lao » Mon Dec 27, 2010 5:53 pm

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?
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
User avatar
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

Postby SapporoGuy » Mon Dec 27, 2010 6:10 pm

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.
930sc ... because it is fun!
User avatar
SapporoGuy
 
Posts: 1133
Joined: Mon Nov 01, 2010 11:29 am

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

Postby Lao » Mon Dec 27, 2010 6:22 pm

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?
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
User avatar
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

Postby Skipper » Mon Dec 27, 2010 8:38 pm

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

Postby Xsecrets » Mon Dec 27, 2010 9:19 pm

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

Postby Qphoria » Tue Dec 28, 2010 7:01 am

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

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

Postby Qphoria » Tue Dec 28, 2010 7:02 am

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

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

Postby Skipper » Tue Dec 28, 2010 11:07 am

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

Postby krittawit_st » Tue Dec 28, 2010 4:50 pm

in catalog/model/shipping/flat.php on line 27
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

Postby Lao » Tue Dec 28, 2010 4:57 pm

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
User avatar
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

Postby Qphoria » Tue Dec 28, 2010 9:35 pm

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

Google feed and discounted price v1.4.9.3

Postby david25 » Wed Dec 29, 2010 3:04 pm

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 !
david25
 
Posts: 33
Joined: Mon May 31, 2010 5:49 pm

Re: Google feed and discounted price v1.4.9.3

Postby Qphoria » Wed Dec 29, 2010 6:42 pm

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

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

Postby krittawit_st » Thu Dec 30, 2010 9:32 am

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

Postby Qphoria » Thu Jan 06, 2011 3:58 am

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

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

Postby Lao » Thu Jan 06, 2011 3:43 pm

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.

Order_Edit.JPG
Order_Edit.JPG (51.5 KiB) Viewed 1734 times
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
User avatar
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

Postby Qphoria » Thu Jan 06, 2011 4:57 pm

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.
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18212
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

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

Postby Lao » Thu Jan 06, 2011 5:34 pm

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'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
User avatar
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

Postby berushka » Thu Jan 06, 2011 7:21 pm

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.
User avatar
berushka
 
Posts: 253
Joined: Wed Mar 03, 2010 9:40 am
Location: Czech Republic

PreviousNext

Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 9 guests

Hosted by Arvixe Web Hosting