X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   News and Announcements (https://forum.x-cart.com/forumdisplay.php?f=28)
-   -   X-Cart v4.4.5 released (https://forum.x-cart.com/showthread.php?t=62444)

cflsystems 02-20-2012 11:21 AM

Re: X-Cart v4.4.5 released
 
This bug from 4.4.4 - http://forum.x-cart.com/showpost.php?p=327056&postcount=56 and reported - https://bugtracker.qtmsoft.com/view.php?id=40527

STILL EXISTS IN 4.4.5

Come on QT - does anyone checks the forum and bug tracker? This is the second bug I find in 4.4.5 that was reported long time before the release and not fixed. Are we going in circles?

ADDISON 02-20-2012 11:27 AM

Re: X-Cart v4.4.5 released
 
Shall I give you a gun, a knife, an arrow Steve? It is not for the first time when this is happening. This is the main reason I forgot completely about Bugtracker. Ideas also is for making money, and so on.

Don't be upset, you are a great guy in a wrong place.

Quote:

Originally Posted by cflsystems
This bug from 4.4.4 - http://forum.x-cart.com/showpost.php?p=327056&postcount=56 and reported - https://bugtracker.qtmsoft.com/view.php?id=40527

STILL EXISTS IN 4.4.5

Come on QT - does anyone checks the forum and bug tracker? This is the second bug I find in 4.4.5 that was reported long time before the release and not fixed. Are we going in circles?


cflsystems 02-20-2012 12:12 PM

Re: X-Cart v4.4.5 released
 
Thanks am2003, I can understand if it was reported a week or 2 or even 3 before the relase and not fixed but when it is 4 months... it just pisses me off

ADDISON 02-20-2012 12:54 PM

Re: X-Cart v4.4.5 released
 
Now you can see with your own eyes that what community says it is not so important. Always what QT wants is on the first place. You are a great guy and very dedicated to XC. I appreciate your work, but I don't understand why your dedication is not rewarded. Not in money or gold, just including your ideas in XC. Anyway, it is hilarious how they said it is fixed, and actually it is not.

Quote:

Originally Posted by cflsystems
Thanks am2003, I can understand if it was reported a week or 2 or even 3 before the relase and not fixed but when it is 4 months... it just pisses me off


flyclothing 02-22-2012 04:10 PM

Re: X-Cart v4.4.5 released
 
Changelog part 2[*] 06 Dec 2011, aim - Improvement (0107971 ): Added Asynchronous Tracking to the Google Analytics module.

Now that this has been added, Google analytics is showing up twice on our site. Should it be there twice?

common_files/modules/Google_Analytics/ga_code_async.tpl
common_files/modules/Google_Analytics/ga_code.tpl

cflsystems 02-23-2012 02:38 PM

Re: X-Cart v4.4.5 released
 
4.4.5 has issues with XC OPC in IE. You may experience one or more of the following: shipping and/or payment methods will not update when changed, cart contents may disappear when changing shipping methods, the selected shipping and/or payment methods may not highlight when changed until you click second time of it. This is also present on the demo site. XC 4.4.5 comes with jquery 1.7.1 and in my testing this is the reason fo rthe above. Replace the jqury load call in service_js.tpl with version 1.6.2 and all works. the easiest way just replace the line with

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>

flyclothing 02-23-2012 02:40 PM

Re: X-Cart v4.4.5 released
 
Steve,

You're like a janitor for x-cart...always cleaning up a mess! :)

cflsystems 02-23-2012 02:47 PM

Re: X-Cart v4.4.5 released
 
Someone has to do it :)

flyclothing 02-23-2012 02:51 PM

Re: X-Cart v4.4.5 released
 
By the way, what exactly do we replace in:

common_files/customer/service_js.tpl

with

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>

cflsystems 02-23-2012 02:59 PM

Re: X-Cart v4.4.5 released
 
Don't just blindly follow though :) test on your install first and if not working then do it. And test the whole site not only checkout page

{load_defer file="lib/jquery-min.js" type="js"}

cflsystems 02-23-2012 03:02 PM

Re: X-Cart v4.4.5 released
 
Another bug and it has been present in 4.4.x since its first release - if Flyout menus are enabled and there is jquery popup (for example go to contact us page and click send without any details) categories stay highlighed instead of greyd out like the rest of the page - go here and click on submit - http://demo.x-cart.com/demo/help.php?section=contactus&mode=update

flyclothing 02-23-2012 06:40 PM

Re: X-Cart v4.4.5 released
 
I tested the site on IE and found the issue. You had to click twice for either the shipping or payment to change. The fix you provided fixed it.

Thanks again.

2coolbaby 03-06-2012 05:25 PM

Re: X-Cart v4.4.5 released
 
Quote:

Originally Posted by cflsystems
4.4.5 has issues with XC OPC in IE. You may experience one or more of the following: shipping and/or payment methods will not update when changed, cart contents may disappear when changing shipping methods, the selected shipping and/or payment methods may not highlight when changed until you click second time of it. This is also present on the demo site. XC 4.4.5 comes with jquery 1.7.1 and in my testing this is the reason fo rthe above. Replace the jqury load call in service_js.tpl with version 1.6.2 and all works. the easiest way just replace the line with

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>


Can you give more exact instructions on what to replace with what? I was confused on exactly what you were doing to fix this problem.

cflsystems 03-06-2012 08:51 PM

Re: X-Cart v4.4.5 released
 
Replace this line

{load_defer file="lib/jquery-min.js" type="js"}

with this

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>

in skin/common_files/customer/service_js.tpl

cflsystems 03-11-2012 03:34 PM

Re: X-Cart v4.4.5 released
 
There is for some time now. As the quote stated - in your my licenses section. Upgrades within the same branch are not only database but files upgrade as well

elmirage001 03-11-2012 06:03 PM

Re: X-Cart v4.4.5 released
 
Quote:

Originally Posted by cflsystems
There is for some time now. As the quote stated - in your my licenses section. Upgrades within the same branch are not only database but files upgrade as well

Hi Steve, Thanks

2coolbaby 03-16-2012 01:32 PM

Re: X-Cart v4.4.5 released
 
Quote:

Originally Posted by cflsystems
Replace this line

{load_defer file="lib/jquery-min.js" type="js"}

with this

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>

in skin/common_files/customer/server_js.tpl



I do not have a server_js.tpl here. I do have a service_js.tpl. Could it be a typo, or do I have a problem?

I am having serious problems with IE customers being able to check out. When they enter in the address it sticks on processing and then says Error refresh, which does not work either.

2coolbaby 03-16-2012 01:38 PM

Re: X-Cart v4.4.5 released
 
I did replace it in service_js.tpl, but the problem still persists. I am able to reproduce it on IE 9. No problem with my other browsers.

cflsystems 03-16-2012 01:58 PM

Re: X-Cart v4.4.5 released
 
Sorry, yes servoce_js.tpl (I corrected my post). This fix works, I can confirm, you have 3rd party skin so the problem could be there. You can switch back to the original XC code and see if it works better for you

2coolbaby 03-16-2012 04:01 PM

Re: X-Cart v4.4.5 released
 
Original xc code didn't work either, which is why I changed it. Thanks for trying. I guess I get to ask Phil, since this is his smart template.

2coolbaby 03-16-2012 08:58 PM

Re: X-Cart v4.4.5 released
 
According to Phil, the Smart Template does not modify anything in checkout, so the problem has nothing to do with the template. So back at an x-cart issue.

Just so you know, outside of the template, I have no mods at all in the store. I was going to get totally upgraded to the new one before adding mods in.

cflsystems 03-16-2012 10:06 PM

Re: X-Cart v4.4.5 released
 
Well I've tested a lot of new and upgraded 4.4.5 carts and this version works with either jquery - 1.6.x or 1.7.x, the only the problem is the one mentioned in the original post. So it has to be your cart. If you have upgraded it from an earlier version are you sure the upgrade was fully and succesfully applied?

elmirage001 03-17-2012 06:05 AM

Re: X-Cart v4.4.5 released
 
Quote:

Originally Posted by cflsystems
Well I've tested a lot of new and upgraded 4.4.5 carts and this version works with either jquery - 1.6.x or 1.7.x, the only the problem is the one mentioned in the original post. So it has to be your cart. If you have upgraded it from an earlier version are you sure the upgrade was fully and succesfully applied?

Hi Steve, I would appreciate your advice on the "Address Book". You alerted us to the issues with it in one of your 4.4.4 posts and I've experienced problems with it in 4.4.5.

Since I can't just turn it off as a module I'm thinking of commenting out the user access links. Is there a better way? I know you have the best solution.

Thank you for all you do!

cflsystems 03-17-2012 08:55 AM

Re: X-Cart v4.4.5 released
 
Not sure what issue you are talking about. Commenting out links may prevent custmers from accessing it from the site but may not if they know exact url

elmirage001 03-17-2012 09:24 AM

Re: X-Cart v4.4.5 released
 
Quote:

Originally Posted by cflsystems
Not sure what issue you are talking about. Commenting out links may prevent custmers from accessing it from the site but may not if they know exact url

Here is your post: http://forum.x-cart.com/showpost.php?p=328319&postcount=66

cflsystems 03-17-2012 09:53 AM

Re: X-Cart v4.4.5 released
 
This is bug in XC, check the bugtracker or ask QT to provide you a fix. If this is the issue you are having

bf2017 03-18-2012 11:27 PM

Re: X-Cart v4.4.5 released
 
I was using 4.4.4 Gold, and installed a fresh copy of 4.4.5 Gold, and now when I try to generate a thumbnail in the Add Products page I get the error message:

"Could not convert image using the GD library. Please contact administrator"

Anybody else have this problem, and is there a fix?

bigredseo 03-19-2012 01:13 AM

Re: X-Cart v4.4.5 released
 
Quote:

Originally Posted by bf2017
"Could not convert image using the GD library. Please contact administrator"
Anybody else have this problem, and is there a fix?


Sounds like a possible GDLib install issue or path issue. Have you checked with your host? Maybe there's something custom in the php.ini or .htaccess for the new install that's not in the other install you have (if it's on the same machine).

Acquamarina 03-20-2012 05:50 AM

Re: X-Cart v4.4.5 released
 
I remember seeing a post from Steve about the image upload after I experienced the problem. If I remember that right there is a bug from 4.4.4 that was not fixed in 4.4.5. I also noticed on IE when I get the same message that it is trying to download instead of upload. Unfortunately, that is on the lower bar on the left corner of the screen and only lasts a couple of seconds, so I can't really copy the text that appears, there is not enough time. Do you see the same?

Were you using IE as a browser? I get that warning in IE only. Firefox and Chrome work fine. Have you tried another browser besides IE? I would check that first.

bf2017 03-21-2012 08:15 PM

Re: X-Cart v4.4.5 released
 
Quote:

Originally Posted by bf2017
I was using 4.4.4 Gold, and installed a fresh copy of 4.4.5 Gold, and now when I try to generate a thumbnail in the Add Products page I get the error message:

"Could not convert image using the GD library. Please contact administrator"

Anybody else have this problem, and is there a fix?


I am using the latest FF, and I have checked with my host who assures me that the proper GD is loaded on my server, but I am still getting the error and cannot generate thumbnails. I have also tried this with IE9 and Safari. No luck.

I asked X-Cart, and they denied my question because I don't have a support subscription which I think is ridiculous.

So does anybody have a suggestion or know what in 4.4.5 has changed or how to fix?

:-k

cflsystems 03-21-2012 08:45 PM

Re: X-Cart v4.4.5 released
 
Go to admin / tools / summary and check on the link for php details (down the page where environment info is). On the page that shows search "gd", you should see somehting like this


gd

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.10
WBMP Support enabled
XPM Support enabled
XBM Support enabled

If you don't see it there is no GD library installed, if you see it note the image types enabled. In 4.4.5 on the settings page you can specify the image type to be used when generating images

bf2017 03-21-2012 09:02 PM

Re: X-Cart v4.4.5 released
 
Thanks Steve. My GD is:

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled

I don't see:

libJPEG Version 6b
libPNG Version 1.2.10

So I asked my host to look into it, and they said that they have verified that the libs are installed.

I also couldn't find on the settings page where you can specify which image type to use.

qualiteam 03-22-2012 11:39 PM

Re: X-Cart v4.4.5 released
 
It is available on the Settings -> General settings -> Appearance page -> "Image type for generated thumbnails".

cflsystems 03-24-2012 08:19 AM

Re: X-Cart v4.4.5 released
 
Bug in include/version.php

This line

Code:

$variants_in_use = func_query_first_cell("SELECT COUNT(*) FROM $sql_tbl[classes] WHERE avail='Y' AND is_modifier=''");

will throw sql error if product options module is off - xcart_classes table not defined in $sql_tbl array. To fix replace this

Code:

$variants_in_use = func_query_first_cell("SELECT COUNT(*) FROM $sql_tbl[classes] WHERE avail='Y' AND is_modifier=''");
 if ($variants_in_use)
  echo "<br />Variants (in use)";


with

Code:

if (!empty($active_modules['Product_Options'])) {
 $variants_in_use = func_query_first_cell("SELECT COUNT(*) FROM $sql_tbl[classes] WHERE avail='Y' AND is_modifier=''");
 if ($variants_in_use)
  echo "<br />Variants (in use)";
}


chadders 04-05-2012 03:18 AM

Re: X-Cart v4.4.5 released
 
Quote:

Originally Posted by bf2017
I am using the latest FF, and I have checked with my host who assures me that the proper GD is loaded on my server, but I am still getting the error and cannot generate thumbnails. I have also tried this with IE9 and Safari. No luck.

I asked X-Cart, and they denied my question because I don't have a support subscription which I think is ridiculous.

So does anybody have a suggestion or know what in 4.4.5 has changed or how to fix?

:-k


I had exactly the same problem, and managed to solve it by following the trail through the language files, which led finally to the file \include\func\func.image.php. If you go to line 1179 (or thereabouts), you'll see that its says:

$thumb_image_type = $config['Appearance']['generated_thumbnail_type'];

The problem is that it's referring to an an entry in the config table. For me and for others it seems there is no entry called 'generated_thumbnail_type' in the 'Appearance' category.

Rather than mess about with the database I simply edited that line in func.image.php to read:
$thumb_image_type = "jpeg";

I suppose you could equally well make it a png if you needed transparency, but that would probably lead to bigger file sizes for your images

qualiteam 04-05-2012 03:43 AM

Re: X-Cart v4.4.5 released
 
You can try and apply the following SQL patch to add the missing option:
Code:

INSERT INTO xcart_config VALUES ('generated_thumbnail_type','Image type for generated thumbnails','png','Appearance',195,'selector','png','png:png\njpeg:jpeg\ngif:gif','');

cflsystems 04-09-2012 11:47 AM

Re: X-Cart v4.4.5 released
 
Address book bug:

Add customer with address within a country with states, select a state as well. Save. Look at customer's address book - all shows ok

Modify that customer's address and change country to one without states, save. Look at customer's address book - state still shows. XC doesn't pass an empty state field so updating customer address in this case will not pass new value for state and will keep the old one in there

QT - please fix and provide patch now not in few months with next XC release

cflsystems 04-10-2012 09:22 AM

Re: X-Cart v4.4.5 released
 
This is the fix for the above post - https://bugtracker.qtmsoft.com/view.php?id=41102

cflsystems 04-12-2012 09:59 AM

Re: X-Cart v4.4.5 released
 
USPS bug in 4.4.5, it may be present in other versions as well. It may be due to resent USPS changes though. Apparently USPS requires "girth" to be passed with each request and it cannot be 0. XC has a field for girth in USPS settings in admin and it defaults to 0. It is not possible to enter correct number there until package dimensions are known. Width, length and height are also 0 by default but XC calculates them if they are not specified or 0 to USPS standards. XC does not caluculates girth (at least in 4.4.5) and just passes whatever is specified in admin USPS settings and if it is 0 USPS returns error instead of rates.

How to fix:

1. In shipping/mod_USPS.php find

Code:

$dim_girth_xml = "<Girth>".func_units_convert(func_dim_in_centimeters(@$specified_dims['girth']), 'cm', 'in', 1)."</Girth>";

and just before it add

Code:

    // added by CFL Systems to calculate girth if 0
    $new_box = array (
    'length' => $pack['length'],
    'width' => $pack['width'],
    'height' => $pack['height']
    );
 
    $specified_dims['girth'] = ($specified_dims['girth'] > 0) ? $specified_dims['girth'] : func_girth($new_box);
    // added by CFL Systems to calculate girth if 0


OR if you don't want to modify php files

2. Just enter a number > 0 in the girth field in admin USPS settings

flyclothing 04-12-2012 10:02 AM

Re: X-Cart v4.4.5 released
 
Steve,

Does this happen after adding the new USPS patch provided from X-Cart? I don't think we are having any issues yet, but havent upgraded.


All times are GMT -8. The time now is 03:24 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.