Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Error While Upgrading From 4.3.1 To 4.3.2 Rate Topic   - - - - -

 
  • fleaffair
  • Senior Member
  • Members
  • Join Date: 11-Jun 14
  • 537 posts

Posted 08 July 2016 - 11:32 AM #1

we got this error below while upgrading 

 

Error File does not exists: "/home/fleaffai/public_html/staging/var/langs/vi/core.po".
×Error PO-file contains syntax errors or incorrect structure. Please re-check it and upload again.
×Successful Your store has been upgraded successfully

Warm Regards,
Admin | MVE: 4.2.4

 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3810 posts

Posted 08 July 2016 - 11:35 AM #2

 

we got this error below while upgrading 

 

ErrorFile does not exists: "/home/fleaffai/public_html/staging/var/langs/vi/core.po".
×ErrorPO-file contains syntax errors or incorrect structure. Please re-check it and upload again.
×SuccessfulYour store has been upgraded successfully

 

 

This error means that some PO file was not updated. If you do not use this language in your store you can just ignore this message.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • fleaffair
  • Senior Member
  • Members
  • Join Date: 11-Jun 14
  • 537 posts

Posted 08 July 2016 - 11:37 AM #3

Now to upgrade to the next version we are getting another error 

 

 

 

Upgrade 4.3.2 - 4.3.3
  • New version: 4.3.3
  •  
  • Release date: Jun 25, 2015
  •  
  • File size: 5,031 Kb

 

This minor upgrade includes issue fixes and Upgrade Center improvements. The Store Import add-on was entirely replaced with Upgrade Center.

 

Package contents
Validation issue

Validator "Restore" returned fail status

Unable to prepare restore.php file. File "var/upgrade/restore.php" was locally modified/renamed/removed. Restore the original restore.php file before the upgrade.

Warm Regards,
Admin | MVE: 4.2.4

 
  • fleaffair
  • Senior Member
  • Members
  • Join Date: 11-Jun 14
  • 537 posts

Posted 08 July 2016 - 11:45 AM #4

The log file has this output

 

2016-07-08 17:12:45: Start installation of the "core" upgrade package
2016-07-08 17:12:45: ================================================
2016-07-08 17:12:45: Get all available validators
2016-07-08 17:12:45: Execute "Backups directory permissions" validator
2016-07-08 17:12:45: Execute "collisions" validator
2016-07-08 17:12:45: Execute "permissions" validator
2016-07-08 17:12:45: Execute "restore" validator
2016-07-08 17:12:45: Upgrade stopped: Unable to prepare restore file. restore.php was locally modified/removed or renamed.


Warm Regards,
Admin | MVE: 4.2.4

 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3810 posts

Posted 08 July 2016 - 11:55 AM #5

The log file has this output

 

2016-07-08 17:12:45: Start installation of the "core" upgrade package
2016-07-08 17:12:45: ================================================
2016-07-08 17:12:45: Get all available validators
2016-07-08 17:12:45: Execute "Backups directory permissions" validator
2016-07-08 17:12:45: Execute "collisions" validator
2016-07-08 17:12:45: Execute "permissions" validator
2016-07-08 17:12:45: Execute "restore" validator
2016-07-08 17:12:45: Upgrade stopped: Unable to prepare restore file. restore.php was locally modified/removed or renamed.

 

Make sure that you've set up 755 permissions on the var and var/upgrade directories and 644 permissions on the var/upgrade/restore.php file.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • fleaffair
  • Senior Member
  • Members
  • Join Date: 11-Jun 14
  • 537 posts

Posted 08 July 2016 - 12:12 PM #6

Make sure that you've set up 755 permissions on the var and var/upgrade directories and 644 permissions on the var/upgrade/restore.php file.

 

Retried as per your instructions but still same issue.


Warm Regards,
Admin | MVE: 4.2.4

 
  • fleaffair
  • Senior Member
  • Members
  • Join Date: 11-Jun 14
  • 537 posts

Posted 08 July 2016 - 12:36 PM #7

Do I need to Restore the original restore.php file before the upgrade as per the message ? From where can i get the original file ?


Warm Regards,
Admin | MVE: 4.2.4

 
  • hr31coupe
  • Member
  • Trial users
  • Join Date: 14-Jul 15
  • 22 posts

Posted 31 August 2016 - 01:35 AM #8

I would also like to know the solution to this as I get the same error.



 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3810 posts

Posted 31 August 2016 - 05:09 AM #9

Do I need to Restore the original restore.php file before the upgrade as per the message ? From where can i get the original file ?

 

I would also like to know the solution to this as I get the same error.

 

Also try to replace the following part of code in the config.local.php file:

// Default permissions for newly created files and directories
define('DEFAULT_FILE_PERMISSIONS', 0666);
define('DEFAULT_DIR_PERMISSIONS', 0777);

with this one:

// Default permissions for newly created files and directories
define('DEFAULT_FILE_PERMISSIONS', 0644);
define('DEFAULT_DIR_PERMISSIONS', 0755);

If it does not help please contact us via HelpDesk.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 

Posted 24 June 2020 - 07:56 PM #10

I am also having this issue, do I need to retore the original restore.php file and where can I get it?