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

Attention users of X-Cart vv.4.0.x - 4.7.1

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #51  
Old 04-30-2015, 01:37 AM
  zone1creative's Avatar 
zone1creative zone1creative is offline
 

eXpert
  
Join Date: Jan 2009
Location: Hove, UK
Posts: 341
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Thanks Ildar

I manually reviewed the .diff files and applied only the changes shown

All working now
__________________
Pinakin Patel
Zone1 Creative Ltd
http://www.zone1creative.co.uk/
Reply With Quote

The following user thanks zone1creative for this useful post:
aim (04-30-2015)
  #52  
Old 04-30-2015, 02:42 AM
 
herber@wirehub.nl herber@wirehub.nl is offline
 

eXpert
  
Join Date: Nov 2002
Posts: 305
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by aim
I have reuploaded the upgrade packs with changes in include/patch.php file.

Please try again.
Thanks, that fixed the issue with not including the addons.lst into the patch.


Quote:
Originally Posted by aim
No effect, language variables are still empty in the Dutch translation for some reason. Still the same as in the screenshot.
No manual patching has been done btw, the upgrade went effortlessly, except for the language variables of the non-English translation in the backend being gone & empty.
__________________
X-Cart 4.7.12
Reply With Quote
  #53  
Old 04-30-2015, 05:08 AM
 
aim aim is offline
Advanced Staff Users
 

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

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by herber@wirehub.nl
Thanks, that fixed the issue with not including the addons.lst into the patch.



No effect, language variables are still empty in the Dutch translation for some reason. Still the same as in the screenshot.
No manual patching has been done btw, the upgrade went effortlessly, except for the language variables of the non-English translation in the backend being gone & empty.

Disable the option
"Use cache for language variables"
http://demo.x-cart.com/demo_goldplus/admin/configuration.php#tr_use_cached_lng_vars

which MySQL version do you use ?

Could you attach these files
var/cache/cache_get_language_vars_.en
var/cache/cache_get_language_vars_.nl

to the ticket
https://bt.x-cart.com/view.php?id=44635
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote
  #54  
Old 04-30-2015, 10:19 PM
  bullfrog's Avatar 
bullfrog bullfrog is offline
 

eXpert
  
Join Date: Oct 2004
Location: Oregon, USA
Posts: 366
 

Default Re: patching 4.5.0 and 4.5.3

I have a 4.5.0 and a 4.5.3 store. I patched both using the individual diff files from the 4.5.4 patch distribution.

4.5.0 and 4.5.3 do not have provider\register.tpl, so you can skip that file.

4.5.3 patched successfully on the remaining diff files.

4.5.0 failed to patch one file, include\register.php, even when my edited register.php was replaced with the original file. I compared the changes between an original 4.5.4 distribution and the 4.5.4 patch distribution, then made that change in a code editor to the 4.5.0 original register.php file and it seems to work ok.

To do the manual edit, starting with the original 4.5.0 include\register.php file find starting on line 444
Code:
if ( $config['Security']['use_complex_pwd'] == 'Y' && ( func_is_password_weak($passwd1) || $passwd1 == $uname || ( !empty($login) && $login != $uname ) ) ) { $errors[] = func_reg_error(5); }
and replace it with lines 441 thru 458 from the 4.5.4 patch version of include\register.php
Code:
if ( ( $config['Security']['use_complex_pwd'] == 'Y' || in_array($login_type, array('A', 'P')) || in_array($usertype, array('A', 'P')) ) && ( func_is_password_weak($passwd1) || $passwd1 == $uname || ( !empty($login) && $login != $uname ) ) ) { $errors[] = func_reg_error(5); }
__________________
Bullfrog ~~~ X-Cart Gold v4.7.2 (2) v4.7.8. ⌠If the road is easy, you're likely going the wrong way.■ ― Terry Goodkind
Reply With Quote

The following user thanks bullfrog for this useful post:
aim (05-01-2015)
  #55  
Old 05-01-2015, 12:42 AM
 
herber@wirehub.nl herber@wirehub.nl is offline
 

eXpert
  
Join Date: Nov 2002
Posts: 305
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by aim
Disable the option
"Use cache for language variables"
http://demo.x-cart.com/demo_goldplus/admin/configuration.php#tr_use_cached_lng_vars

which MySQL version do you use ?

Could you attach these files
var/cache/cache_get_language_vars_.en
var/cache/cache_get_language_vars_.nl

to the ticket
https://bt.x-cart.com/view.php?id=44635
Before getting into this, I've got more bugs in 4.7.2:
(but the cache for language vars was disabled already, we don't use it)


The One Page Checkout Module displayed a completely white page, so checkout was no longer possible, then I found this error in the logs:
Quote:
[01-May-2015 09:07:18] Warning: Illegal string offset 'products' in /var/www/include/func/func.cart.php on line 4073
Is this bug in the upgrade from 4.6.6 to 4.7.2?

Also, the 'delete-product-from-cart' button in One Page Checkout, seems to shift place. The problem is apparently not in skin/ideal_responsive/modules/One_Page_Checkout/altskin.css
(placing the 4.6.6 version of the file back does not fix it, using a clean 4.7.2 altskin.css in there doesn't fix it) and neither does the main.css from skin/common_files/modules/One_Page_Checkout/main.css fix it when replacing it with the 4.6.6 version or a clean one from a new 4.7.2 install, so what could be the issue then?
(I just tried the upgrade from 4.6.6 > 4.7.1, same issue with the delete button moving) and the same white page on the One Page Checkout module, so no checking out for customers if I were to upgrade, which is quite bad for business.
Attached Images
File Type: png Screen Shot 2015-05-01 at 11.32.45.png (44.7 KB, 10 views)
__________________
X-Cart 4.7.12
Reply With Quote
  #56  
Old 05-01-2015, 12:12 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by gravel
I have 4.0.17. The 4.0.19 DIFF file for include/func.php refers to lines of code that aren't in this version. Will there be a separate 4.0.17 DIFF file?

Unfortunately, there is no such plans. You will have to apply it manually, or hire our support staff or a third-party company to do this for you.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #57  
Old 05-03-2015, 09:40 PM
 
aim aim is offline
Advanced Staff Users
 

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

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by herber@wirehub.nl
Before getting into this, I've got more bugs in 4.7.2:
(but the cache for language vars was disabled already, we don't use it)


The One Page Checkout Module displayed a completely white page, so checkout was no longer possible, then I found this error in the logs:

Is this bug in the upgrade from 4.6.6 to 4.7.2?


This can be caused by a smarty error.

Could you attach the
x-errors_php-<date>.php file
to the ticket
https://bt.x-cart.com/view.php?id=44643
?

Did you try the
http://your_shop/admin/tools.php?start_tpl_syntax_checking=Y
tool ?

http://help.x-cart.com/index.php?title=X-Cart:Smarty3_update_notes_for_stores_upgrading_to_ X-Cart_4.7.x#...white_s creen

Quote:
Originally Posted by herber@wirehub.nl
Also, the 'delete-product-from-cart' button in One Page Checkout, seems to shift place. The problem is apparently not in skin/ideal_responsive/modules/One_Page_Checkout/altskin.css
(placing the 4.6.6 version of the file back does not fix it, using a clean 4.7.2 altskin.css in there doesn't fix it) and neither does the main.css from skin/common_files/modules/One_Page_Checkout/main.css fix it when replacing it with the 4.6.6 version or a clean one from a new 4.7.2 install, so what could be the issue then?
(I just tried the upgrade from 4.6.6 > 4.7.1, same issue with the delete button moving) and the same white page on the One Page Checkout module, so no checking out for customers if I were to upgrade, which is quite bad for business.

posted
https://bt.x-cart.com/view.php?id=44643
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote

The following user thanks aim for this useful post:
herber@wirehub.nl (05-04-2015)
  #58  
Old 05-04-2015, 07:06 AM
 
herber@wirehub.nl herber@wirehub.nl is offline
 

eXpert
  
Join Date: Nov 2002
Posts: 305
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by aim
This can be caused by a smarty error.

Could you attach the
x-errors_php-<date>.php file
to the ticket
https://bt.x-cart.com/view.php?id=44643
?
Sure, here it is:
Quote:
[04-May-2015 16:13:49 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 240123904 bytes) in /var/www/include/lib/smarty3/Smarty.class.php on line 1616
[04-May-2015 16:13:49 UTC] PHP Stack trace:
[04-May-2015 16:13:49 UTC] PHP 1. SmartyException->__toString() /var/www/include/lib/smarty3/Smarty.class.php:0
[04-May-2015 16:13:49 UTC] PHP 2. print_r() /var/www/include/lib/smarty3/Smarty.class.php:1616
268MB exhausted by trying to go to the cart.php?mode=checkout page with the One Page Checkout Module?!
The setup on the testserver I am running this on might not be setup very efficient, but the page cart.php?mode=checkout works fine before the upgrade to 4.7.2

I doubled the amount of memory of PHP to 512MB & still the same error:
Quote:
[04-May-2015 16:22:24 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 511967232 bytes) in /var/www/include/lib/smarty3/Smarty.class.php on line 1616
[04-May-2015 16:22:24 UTC] PHP Stack trace:
[04-May-2015 16:22:24 UTC] PHP 1. SmartyException->__toString() /var/www/include/lib/smarty3/Smarty.class.php:0
[04-May-2015 16:22:24 UTC] PHP 2. print_r() /var/www/include/lib/smarty3/Smarty.class.php:1616
Quote:
Originally Posted by aim
Yes, no errors in the template that we use (ideal responsive).

Thanks for fixing, has it also been fixed in the upgrade pack?
The patch itself works great.
__________________
X-Cart 4.7.12
Reply With Quote

The following user thanks herber@wirehub.nl for this useful post:
aim (05-06-2015)
  #59  
Old 05-06-2015, 09:42 AM
 
herber@wirehub.nl herber@wirehub.nl is offline
 

eXpert
  
Join Date: Nov 2002
Posts: 305
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Please let me know if you need anymore information, I want to upgrade ASAP since we want the in context checkout from PayPal & custom order statuses.
__________________
X-Cart 4.7.12
Reply With Quote

The following user thanks herber@wirehub.nl for this useful post:
aim (05-06-2015)
  #60  
Old 05-06-2015, 09:14 PM
 
aim aim is offline
Advanced Staff Users
 

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

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by herber@wirehub.nl
Please let me know if you need anymore information, I want to upgrade ASAP since we want the in context checkout from PayPal & custom order statuses.

Please have a look
https://bt.x-cart.com/view.php?id=44643#191570
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote
Reply
   X-Cart forums > News and Announcements


Thread Tools

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 06:13 AM.

   

 
X-Cart forums © 2001-2020