Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

4.6.5: UPS, Australia Post, Fedex and USPS updated and 58 other improvements

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #11  
Old 10-23-2014, 11:06 AM
 
herber@wirehub.nl herber@wirehub.nl is offline
 

eXpert
  
Join Date: Nov 2002
Posts: 305
 

Default Re: 4.6.5: UPS, Australia Post, Fedex and USPS updated and 58 other improvements

Quote:
Originally Posted by aim
Could you try to enable the " Use speed-up tool for CSS " option
http://demo.x-cart.com/demo/admin/configuration.php#tr_speedup_css
?
Already enabled before the upgrade & still enabled after the upgrade.

If you want acces to my testserver, please send me a PM.

I have a few files that need to be manually patched, but it doesn't matter whether I patch them to 4.6.5 or just leave them and not patch them: this happens every time I try the upgrade.
I reset my virtual machine/testserver to 4.6.4 and try the patch again, same result.
Attached Images
File Type: png double slash.png (59.5 KB, 11 views)
__________________
X-Cart 4.7.12
Reply With Quote
  #12  
Old 10-23-2014, 11:10 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: 4.6.5: UPS, Australia Post, Fedex and USPS updated and 58 other improvements

Just upgraded an old store to 4.6.5. All went well except at the end I get this error message

"NetworkError: 406 Not Acceptable - domain/dev_store/skin/common_files/lib/jquery.cookie.js"

Top menu right hand side menu was screwed. Opening the store and refresh fixed the issue with the menu but the error message is still there. This in admin

Store front shows this
"NetworkError: 404 Not Found - domain/dev_store/skin/ideal_comfort/images/spacer_black.gif"
No such files exists, it is located in common_files.

Cart page shows
Quote:
Error: jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...
domain/dev_store/var/cache/1.064439ad45ab5351a8d55a3f8fe61b54.js
Line 3547
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #13  
Old 10-23-2014, 05:41 PM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: 4.6.5: UPS, Australia Post, Fedex and USPS updated and 58 other improvements

Quote:
Originally Posted by Ksenia
[code]------------------ X-CART v4.6.5 CHANGELOG, part 2 of 3---------------

[!] 01 Jul 2014, aim - Bug (0139698, 0036147)] AOM: Order total and item price changed by themselves during order modification. Fixed.

Brilliant - thank you.
__________________
Multiple instances of X-cart
Reply With Quote

The following user thanks BBM_ for this useful post:
aim (10-23-2014)
  #14  
Old 10-23-2014, 09:00 PM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: 4.6.5: UPS, Australia Post, Fedex and USPS updated and 58 other improvements

Quote:
Originally Posted by cflsystems
Just upgraded an old store to 4.6.5. All went well except at the end I get this error message

"NetworkError: 406 Not Acceptable - domain/dev_store/skin/common_files/lib/jquery.cookie.js"

Top menu right hand side menu was screwed. Opening the store and refresh fixed the issue with the menu but the error message is still there. This in admin

Store front shows this
"NetworkError: 404 Not Found - domain/dev_store/skin/ideal_comfort/images/spacer_black.gif"
No such files exists, it is located in common_files.

Cart page shows

1)It seems the mod_security apache module blocks the 'jquery.cookie.js' resource
http://stackoverflow.com/questions/7660353/jquery-cookie-not-working

The affected calls are
Code:
aim-server[~/www/xcart_4_6_x]$ grep -r "\$\.cookie" skin skin/common_files/modules/EU_Cookie_Law/func.js: $.cookie(key, value, options); skin/common_files/modules/EU_Cookie_Law/func.js: $.cookie(key, null); skin/common_files/admin/main/modules_banner.tpl: $.cookie('hide_dialog_xcart_paid_modules', '1', { expires: new Date(date_time)}); skin/common_files/admin/main/main.tpl: $.cookie('hide_dialog_xcart_news', '1', { expires: new Date(date_time)}); skin/common_files/admin/js/module_tags.js: $.cookie('xcart_selected_tag_'+type, tag); skin/common_files/admin/js/show_company_adv.js: && $.cookie('hide_company_adv') != '1' skin/common_files/admin/js/show_company_adv.js: $.cookie('hide_company_adv', '1', { expires: new Date(date_time)}); aim-server[~/www/xcart_4_6_x]$

We will rename the jquery.cookie.js
to the jquery_cookie.js file

2)I have posted a ticket related to the spacer_black.gif file.

3)How can I reproduce the problem with the jCarousel plugin?
http://stackoverflow.com/questions/3784925/no-width-height-set-for-items-this-will-cause-an-infinite-loop-aborting
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote

The following 3 users thank aim for this useful post:
cflsystems (10-23-2014), Ksenia (10-23-2014), mixon (10-23-2014)
  #15  
Old 10-24-2014, 07:27 AM
 
davefawdon davefawdon is offline
 

Newbie
  
Join Date: Oct 2014
Posts: 6
 

Default Re: 4.6.5: UPS, Australia Post, Fedex and USPS updated and 58 other improvements

Quote:
Originally Posted by herber@wirehub.nl
Already enabled before the upgrade & still enabled after the upgrade.

If you want acces to my testserver, please send me a PM.

I have a few files that need to be manually patched, but it doesn't matter whether I patch them to 4.6.5 or just leave them and not patch them: this happens every time I try the upgrade.
I reset my virtual machine/testserver to 4.6.4 and try the patch again, same result.

Line 54 of top.inc.php is adding the extra '/'

Code:
define('XC_WEB_DS', '/');
__________________
4.6.5
Reply With Quote

The following user thanks davefawdon for this useful post:
aim (10-24-2014)
  #16  
Old 10-24-2014, 11:28 AM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: 4.6.5: UPS, Australia Post, Fedex and USPS updated and 58 other improvements

Quote:
Originally Posted by blog
upgrade script now checks, whether the security patches (or other patches by X-Cart team) were applied or not, if yes, removes them, and patches the files afterwards, adding the most recent version of the code without security vulnerabilities. This makes upgrade procedure easier in most cases, but in case the upgrade fails after this step, you need either to restore the site from backup or apply the aforementioned patches ( security- and bug-fixes) again
A very welcome improvement but I'm interested in some more technical information about how this part works. Hopefully it doesn't replace some files with stock versions before patching like some of the X-Cart add-on installers.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote

The following user thanks cherie for this useful post:
aim (10-24-2014)
  #17  
Old 10-24-2014, 06:39 PM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: 4.6.5: UPS, Australia Post, Fedex and USPS updated and 58 other improvements

Quote:
Originally Posted by cherie
A very welcome improvement but I'm interested in some more technical information about how this part works. Hopefully it doesn't replace some files with stock versions before patching like some of the X-Cart add-on installers.

I have added a special pre_patch script
xcart/upgrade/4.6.4-4.6.5/patch_pre_pre_force.php

Code:
................................ $is_reverse = ($direct_reverse == 'patches_NOT_included_in_FA_distr'); $is_applicable = @func_patch_apply($file, $tmp_patchfile, false, false, $log, $rejects, true, $is_reverse); if ($is_applicable) { $res = @func_patch_apply($file, $tmp_patchfile, false, false, $log, $rejects, false, $is_reverse); $patch_log[] = "trying to patch $file via $patchfile.Status:" . (empty($res) ? 'Failed' : 'Ok'); @touch($file_flag_already_patched); } ................
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote

The following user thanks aim for this useful post:
mixon (10-27-2014)
  #18  
Old 10-24-2014, 10:04 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: 4.6.5: UPS, Australia Post, Fedex and USPS updated and 58 other improvements

Newly discovered bug in AOM, just today, my guess is it exists since XCProduct class was introduced in XC with 4.6.x. Confirmed to exist in newest version as well - XC demo site.

Bug report - https://bt.x-cart.com/view.php?id=43981
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #19  
Old 10-27-2014, 07:12 PM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,964
 

Default Re: 4.6.5: UPS, Australia Post, Fedex and USPS updated and 58 other improvements

I upgraded a dev copy of my 4.6.4 site to 4.6.5 which went very smoothly with only 4 files to manually patch. I'm now comparing a downloaded full version of 4.6.5 vs my upgraded version and see many files that were not patched to 4.6.5 although no errors showed during the upgrade.

Attached is a shot of a file comparison of 4.6.5 vs 4.6.4 along with the line instruction in the file.lst which shows the file was supposed to be patched but was not.

Has anyone else seen this happen?

Paul
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
  #20  
Old 10-27-2014, 10:02 PM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: 4.6.5: UPS, Australia Post, Fedex and USPS updated and 58 other improvements

Quote:
Originally Posted by elmirage001
I upgraded a dev copy of my 4.6.4 site to 4.6.5 which went very smoothly with only 4 files to manually patch. I'm now comparing a downloaded full version of 4.6.5 vs my upgraded version and see many files that were not patched to 4.6.5 although no errors showed during the upgrade.

Attached is a shot of a file comparison of 4.6.5 vs 4.6.4 along with the line instruction in the file.lst which shows the file was supposed to be patched but was not.

Has anyone else seen this happen?

Paul

Could you PM me your
./var/upgrade/4.6.4-4.6.5/patch.log
and old
include/func/func.mail.php(before upgrade)
files?

I have just reuploaded the upgrade packs to take into account these patches
http://forum.x-cart.com/showpost.php?p=377357&postcount=29
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote

The following user thanks aim for this useful post:
elmirage001 (10-28-2014)
Reply
   X-Cart forums > News and Announcements



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:31 PM.

   

 
X-Cart forums © 2001-2020