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

X-Cart 4.5.5 released

 
Closed Thread
   X-Cart forums > News and Announcements
 
Thread Tools
  #81  
Old 02-20-2013, 03:55 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: X-Cart 4.5.5 released

Quote:
Originally Posted by carpeperdiem
Roll Call from our leading mod developers, please?

I never used smarty php tag for the above reasons. Also never used any direct php modifiers in templates
__________________
Steve Stoyanov
CFLSystems.com
Web Development

The following user thanks cflsystems for this useful post:
aim (02-20-2013)
  #82  
Old 02-20-2013, 09:55 PM
 
aim aim is offline
Advanced Staff Users
 

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

Default Re: X-Cart 4.5.5 released

Quote:
Originally Posted by cflsystems
I never used smarty php tag for the above reasons. Also never used any direct php modifiers in templates

This is the professional style.
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
  #83  
Old 02-21-2013, 12:06 AM
  cherie's Avatar 
cherie cherie is offline
 

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

Default Re: X-Cart 4.5.5 released

Using php modifiers is normal. That's why it's in XMonitoring. Any developer can add the same line to their config. The key to this security is to prevent just anyone from adding an unauthorized php modifier to a tpl which is good practice.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux

The following user thanks cherie for this useful post:
aim (02-21-2013)
  #84  
Old 02-21-2013, 05:06 AM
 
Carzilla Carzilla is offline
 

Advanced Member
  
Join Date: May 2012
Posts: 39
 

Default Re: X-Cart 4.5.5 released

After updating, I'm getting this message:

Assertion Failed: File 'httpdocs/devshop/include/classes/class.XCSignature.php':Line '78'
Code '$result /* XCSignature::checkSignature: checkSignature was failed*/'
Please post a new ticket here https://bugtracker.qtmsoft.com
Please, attach the var/log/x-errors_assertion-130221.php file to the ticket.

Any idea how to solve this?
__________________
X-Cart 4.6.2
  #85  
Old 02-21-2013, 05:09 AM
 
aim aim is offline
Advanced Staff Users
 

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

Default Re: X-Cart 4.5.5 released

Quote:
Originally Posted by aim
Thank you for your suggestions.

I have uploaded the new upgrade packs with the following changes.

*A new 'Stop the upgrade process in case of problems related to major files like func.core.php. Uncheck this option to proceed anyway (NOT RECOMMENDED)' checkbox is added (enabled by default)

*The "Tick here to continue upgrading regardless of the found problems" checkbox is renamed to
Warning:The initial check shows that some of the files in your installation may not be patched cleanly because some of the hunks (blocks of code changes) cannot be applied.Allow Patch/Upgrade center to try and patch the files the best it can? (enabled by default)

*Patch/Upgrade center tries to apply the patch.sql and after-path files anyway.

*patch.sql is applied in 'force' mode. It does not stop on SQL error.

Please, note the changes are related to the 4.5.?-4.5.5 upgrade packs only.
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
  #86  
Old 02-21-2013, 05:13 AM
 
aim aim is offline
Advanced Staff Users
 

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

Default Re: X-Cart 4.5.5 released

Quote:
Originally Posted by Carzilla
After updating, I'm getting this message:

Assertion Failed: File 'httpdocs/devshop/include/classes/class.XCSignature.php':Line '78'
Code '$result /* XCSignature::checkSignature: checkSignature was failed*/'
Please post a new ticket here https://bugtracker.qtmsoft.com
Please, attach the var/log/x-errors_assertion-130221.php file to the ticket.

Any idea how to solve this?


It seems your upgrade process was not properly completed.

Please, provide us with the
upgrade/4.5.4-4.5.5/patch.log
var/log/x-errors_sql-1302*.php
files
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
  #87  
Old 02-21-2013, 05:33 AM
 
Carzilla Carzilla is offline
 

Advanced Member
  
Join Date: May 2012
Posts: 39
 

Default Re: X-Cart 4.5.5 released

Quote:
Originally Posted by aim
It seems your upgrade process was not properly completed.

Please, provide us with the
upgrade/4.5.4-4.5.5/patch.log
var/log/x-errors_sql-1302*.php
files


Hello,

Thanks for your reply. I sadly don't have any patch.log in my upgrade map (I'm trying to upgrade from 4.5.3, so I presume it should've been in 4.5.3-4.5.5).

Is there any way (for example a .sql file) at which I can force the database back to a 'clean' 4.5.3 state so I can try again? Or is the smartest method to solve this to just do a clean install of 4.5.5 and copy my custom skin in it?

Attached is the assertion file it suggest me to send.

Thanks for the help.
Attached Files
File Type: php x-errors_assertion-130221.php (93.3 KB, 2 views)
__________________
X-Cart 4.6.2
  #88  
Old 02-21-2013, 05:41 AM
 
aim aim is offline
Advanced Staff Users
 

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

Default Re: X-Cart 4.5.5 released

Quote:
Originally Posted by Carzilla
Hello,

Thanks for your reply. I sadly don't have any patch.log in my upgrade map (I'm trying to upgrade from 4.5.3, so I presume it should've been in 4.5.3-4.5.5).

Is there any way (for example a .sql file) at which I can force the database back to a 'clean' 4.5.3 state so I can try again? Or is the smartest method to solve this to just do a clean install of 4.5.5 and copy my custom skin in it?

Attached is the assertion file it suggest me to send.

Thanks for the help.

How many providers and admins do you have ?
Do you use the Social Login module?
Do you use a separate folder for your skin?
Do you have the upgrade/4.5.3-4.5.5/patch.log file ?
How many 'Could not patch' errors have you received ?
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
  #89  
Old 02-21-2013, 05:48 AM
 
Carzilla Carzilla is offline
 

Advanced Member
  
Join Date: May 2012
Posts: 39
 

Default Re: X-Cart 4.5.5 released

Quote:
Originally Posted by aim
How many providers and admins do you have ?
Do you use the Social Login module?
Do you use a separate folder for your skin?
Do you have the upgrade/4.5.3-4.5.5/patch.log file ?
How many 'Could not patch' errors have you received ?

No providers, just one admin - me.
We don't use the social login module.
We do use a separate folder for our skin.
I don't have that .log file. After patching it 'crashes' on the result page, turns blank.
There were some (╠ 5-6) errors, all on tpl files.

Thanks again!
__________________
X-Cart 4.6.2
  #90  
Old 02-21-2013, 06:11 AM
 
aim aim is offline
Advanced Staff Users
 

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

Default Re: X-Cart 4.5.5 released

Quote:
Originally Posted by Carzilla
No providers, just one admin - me.
We don't use the social login module.
We do use a separate folder for our skin.
I don't have that .log file. After patching it 'crashes' on the result page, turns blank.
There were some (╠ 5-6) errors, all on tpl files.

Thanks again!

It is strange, the patch.log file should be created anyway.

OK
The possible solution is

1 Run the upgrade/4.5.3-4.5.5/patch.sql file in the 'force' mode again

2 Run the SQL query
delete from xcart_config where name in ('allowed_ips', 'ip_register_codes');

3 Disable the CHECK_CONFIG_INTEGRITY CHECK_CUSTOMERS_INTEGRITY in the config.php file

4 Enter to the admin area

5 Enable the X-Payments Connector module

6 Check all the options and click the 'Update' button on the pages
http://xcart2-54.crtdev.local/~aim/xcart_4_5_x/admin/configuration.php?option=Company
http://xcart2-54.crtdev.local/~aim/xcart_4_5_x/admin/configuration.php?option=XPayments_Connector
http://xcart2-54.crtdev.local/~aim/xcart_4_5_x/admin/configuration.php?option=Email
http://xcart2-54.crtdev.local/~aim/xcart_4_5_x/admin/configuration.php?option=Email_Note
http://xcart2-54.crtdev.local/~aim/xcart_4_5_x/admin/configuration.php?option=Security

7 Open an each admin/provider profile and click the 'Update' button.

8 Disable the X-Payments Connector module

9 Enable the CHECK_CONFIG_INTEGRITY CHECK_CUSTOMERS_INTEGRITY in the config.php

10 You have to re-generate the Blowfish and security keys using the default 'Re-generate Blowfish encryption key' feature from the admin area.
Please, do not ignore this step!
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Closed Thread
   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 12:12 AM.

   

 
X-Cart forums © 2001-2020