View Single Post
  #36  
Old 05-19-2008, 07:40 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: X-Cart v4.1.10 released

restore, verify admin works,try again

did you follow the readme to the letter?


Quote:
UPGRADE PATCH 4.1.9 -> 4.1.10 SPECIAL NOTES
================================================== ============================

!!! PLEASE BACKUP YOUR OLD X-CART BEFORE STARTING UPGRADE !!!

Please follow these steps accurately to upgrade successfully:

1. Make a backup of your X-Cart.

1.1. Make the database backup via the administration interface X-Cart provided you with:
- Log in as administrator.
- Go to the 'DB Backup/Restore' section.
- Click on the 'Generate SQL dump' button.

If your database is too big or your attempt to backup it via admin interface failed, try the next step.

1.2. Make the database backup by issuing this command from the command line interface:

>mysqldump -h <YOUR_HOST> -u <YOUR_USERNAME> -p -r <BACKUP_FILE> <YOUR_DATABASE_NAME>
Enter password: <YOUR_PASSWORD>

where:
<YOUR_HOST> - the hostname of MySQL server your X-Cart uses,
<YOUR_USERNAME> - the username for logging in to the MySQL server X-Cart uses,
<YOUR_DATABASE_NAME> - the database name X-Cart uses,
<BACKUP_FILE> - the file name where SQL dump will be stored,
<YOUR_PASSWORD> - the password for accessing to the MySQL server.

If you do not remember your data to access MySQL server you can know it from config.php file.

1.3. Make the backup of all X-Cart files by issuing one of commands below from the command line interface:

>tar -czvf x-cart-4.1.9-backup.tgz xcart
or
>zip -r x-cart-4.1.9-backup.zip xcart

xcart - is a directory where X-Cart has been installed.

2. Uncompress this archive to the directory where your X-Cart has been installed.

3. Make sure that files which will be patched have world writable permissions.
If you are under Unix try to issue this command from the root of your X-Cart directory:

for i in `sed -e 's/,.*$//g' < upgrade/4.1.9-4.1.10/file.lst`; do chmod 666 $i ; done

This command will set up the world writable permissions on all files affected by upgrade patch (the list of the files is located in file upgrade/4.1.9-4.1.10/file.lst).

4. Log in to the administration area (if you not logged yet).

5. Go to the 'Patch/Upgrade' section.

6. Select the target version '4.1.10' in the dropdown box under 'Upgrade' dialog and click on 'Apply' button.

7. After the upgrade patch applicability is tested you will see the results. Please read them attentively. Try to fix problems regarding 'non-writable' statuses manually by issuing the command

>chmod 666 <FILENAME>

If some files have the result status 'Could not patch' it means that the patch cannot be applied to these files automatically because they were significantly modified, the patch for these files should be applied manually. You can ignore it by deselecting the checkbox at the bottom of page on the first step "Testing patch applicability and generation list of files".

8. Click 'Apply patch' button to complete the upgrading.

9. After patch is applied please review the result page. All excluded and not patched files should be patched manually so that X-Cart 4.1.10 would work correctly.

Press the 'Refresh' button in your browser to refresh CSS-styles.

10. Click on 'Finish' button.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote