<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://help.x-cart.com/index.php?action=history&amp;feed=atom&amp;title=X-Cart%3AApplying_Upgrade_Packs_and_Database_Upgrade_Scripts</id>
	<title>X-Cart:Applying Upgrade Packs and Database Upgrade Scripts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://help.x-cart.com/index.php?action=history&amp;feed=atom&amp;title=X-Cart%3AApplying_Upgrade_Packs_and_Database_Upgrade_Scripts"/>
	<link rel="alternate" type="text/html" href="https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;action=history"/>
	<updated>2026-05-04T03:27:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.5</generator>
	<entry>
		<id>https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=10178&amp;oldid=prev</id>
		<title>Seyfin at 17:43, 8 February 2013</title>
		<link rel="alternate" type="text/html" href="https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=10178&amp;oldid=prev"/>
		<updated>2013-02-08T17:43:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 17:43, 8 February 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Note1| &amp;lt;b&amp;gt;NEED HELP?&amp;lt;/b&amp;gt; Feel free to contact our support team via your personal [https://secure.qtmsoft.com Help Desk accounts] should you require any help in upgrading your X-Cart store to the latest version.}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Applying upgrade packs==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Applying upgrade packs==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To apply an upgrade pack to your X-Cart installation:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To apply an upgrade pack to your X-Cart installation:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Place the files of your upgrade pack in the X-Cart root directory on your server or hosting account.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Place the files of your upgrade pack in the X-Cart root directory on your server or hosting account.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot; &gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a Windows-based server, or a UNIX-based server without terminal access:''&amp;lt;br /&amp;gt;Decompress the database upgrade archive to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&amp;lt;br /&amp;gt;Use an FTP client to upload all the files from the decompressed archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a Windows-based server, or a UNIX-based server without terminal access:''&amp;lt;br /&amp;gt;Decompress the database upgrade archive to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&amp;lt;br /&amp;gt;Use an FTP client to upload all the files from the decompressed archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a UNIX-based server with terminal access:''&amp;lt;br /&amp;gt;Use an FTP client to upload the database upgrade archive to the X-Cart root directory on your server or your hosting account.&amp;lt;br /&amp;gt;Decompress the archive using the following command:&amp;lt;br /&amp;gt;&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a UNIX-based server with terminal access:''&amp;lt;br /&amp;gt;Use an FTP client to upload the database upgrade archive to the X-Cart root directory on your server or your hosting account.&amp;lt;br /&amp;gt;Decompress the archive using the following command:&amp;lt;br /&amp;gt;&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# In a web browser, run the upgrade script &amp;lt;xcart_dir&amp;gt;/upgrade_sql.php replacing the &amp;lt;xcart_dir&amp;gt; part with the actual URL of your X-Cart installation. For example, &amp;lt;nowiki&amp;gt;http://www.example.com/xcart/upgrade_sql.php&amp;lt;/nowiki&amp;gt;.&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# In a web browser, run the upgrade script &amp;lt;xcart_dir&amp;gt;/upgrade_sql.php replacing the &amp;lt;xcart_dir&amp;gt; part with the actual URL of your X-Cart installation. For example,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;nowiki&amp;gt;http://www.example.com/xcart/upgrade_sql.php&amp;lt;/nowiki&amp;gt; .&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Read the X-Cart License Agreement and click the '''Proceed with Upgrade''' button.&amp;lt;br /&amp;gt;The script will display the progress of the upgrade procedure and finally report the results.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Read the X-Cart License Agreement and click the '''Proceed with Upgrade''' button.&amp;lt;br /&amp;gt;The script will display the progress of the upgrade procedure and finally report the results.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Seyfin</name></author>
		
	</entry>
	<entry>
		<id>https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=8067&amp;oldid=prev</id>
		<title>Dohtur: /* Applying upgrade packs */</title>
		<link rel="alternate" type="text/html" href="https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=8067&amp;oldid=prev"/>
		<updated>2012-06-11T22:04:22Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Applying upgrade packs&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:04, 11 June 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a Windows-based server, or a UNIX-based server without terminal access:''&amp;lt;br /&amp;gt;Decompress the upgrade pack archive to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&amp;lt;br /&amp;gt;Use an FTP client to upload all the files of the decompressed archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a Windows-based server, or a UNIX-based server without terminal access:''&amp;lt;br /&amp;gt;Decompress the upgrade pack archive to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&amp;lt;br /&amp;gt;Use an FTP client to upload all the files of the decompressed archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a UNIX-based server with terminal access:''&amp;lt;br /&amp;gt;Use an FTP client to upload the upgrade pack archive to the X-Cart root directory on your server or your hosting account.&amp;lt;br /&amp;gt;Decompress the archive using the following command:&amp;lt;br /&amp;gt;&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a UNIX-based server with terminal access:''&amp;lt;br /&amp;gt;Use an FTP client to upload the upgrade pack archive to the X-Cart root directory on your server or your hosting account.&amp;lt;br /&amp;gt;Decompress the archive using the following command:&amp;lt;br /&amp;gt;&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Make sure that the files that will be patched during the upgrade have world writable permissions. Names of the files to be patched are listed in the file &amp;lt;xcart_dir&amp;gt;/upgrade/[source-version]-[target-version]/file.lst.&amp;lt;br /&amp;gt;If you use a UNIX-based server, to set world writable permissions to the required files you can run the following shell command:&amp;lt;br /&amp;gt;&amp;lt;pre&amp;gt;for i in `sed -e 's/,.*$//g' &amp;lt; upgrade/[source-version]-[target-version]/file.lst`; do chmod 666 $i ; done&amp;lt;/pre&amp;gt;replacing the [source-version] and [target-version] parts with the source and target versions of the X-Cart installation that you upgrade.{{Note1|Important! &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;You &lt;/del&gt;must run &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the command &lt;/del&gt;from the X-Cart root directory.}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Make sure that the files that will be patched during the upgrade have world writable permissions. Names of the files to be patched are listed in the file &amp;lt;xcart_dir&amp;gt;/upgrade/[source-version]-[target-version]/file.lst.&amp;lt;br /&amp;gt;If you use a UNIX-based server, to set world writable permissions to the required files you can run the following shell command:&amp;lt;br /&amp;gt;&amp;lt;pre&amp;gt;for i in `sed -e 's/,.*$//g' &amp;lt; upgrade/[source-version]-[target-version]/file.lst`; do chmod 666 $i ; done&amp;lt;/pre&amp;gt;replacing the [source-version] and [target-version] parts with the source and target versions of the X-Cart installation that you upgrade.{{Note1|Important! &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;The command &lt;/ins&gt;must &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;be &lt;/ins&gt;run from the X-Cart root directory.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Log in to the X-Cart Admin area.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Log in to the X-Cart Admin area.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Go to the '&amp;lt;u&amp;gt;Patch/Upgrade Center&amp;lt;/u&amp;gt;' page (Tools menu -&amp;gt; Patch/Upgrade. Before X-Cart 4.4.x: Administration menu -&amp;gt; Patch/Upgrade).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Go to the '&amp;lt;u&amp;gt;Patch/Upgrade Center&amp;lt;/u&amp;gt;' page (Tools menu -&amp;gt; Patch/Upgrade. Before X-Cart 4.4.x: Administration menu -&amp;gt; Patch/Upgrade).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dohtur</name></author>
		
	</entry>
	<entry>
		<id>https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=8065&amp;oldid=prev</id>
		<title>Dohtur at 21:38, 11 June 2012</title>
		<link rel="alternate" type="text/html" href="https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=8065&amp;oldid=prev"/>
		<updated>2012-06-11T21:38:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 21:38, 11 June 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot; &gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a Windows-based server, or a UNIX-based server without terminal access:''&amp;lt;br /&amp;gt;Decompress the database upgrade archive to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&amp;lt;br /&amp;gt;Use an FTP client to upload all the files from the decompressed archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a Windows-based server, or a UNIX-based server without terminal access:''&amp;lt;br /&amp;gt;Decompress the database upgrade archive to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&amp;lt;br /&amp;gt;Use an FTP client to upload all the files from the decompressed archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a UNIX-based server with terminal access:''&amp;lt;br /&amp;gt;Use an FTP client to upload the database upgrade archive to the X-Cart root directory on your server or your hosting account.&amp;lt;br /&amp;gt;Decompress the archive using the following command:&amp;lt;br /&amp;gt;&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a UNIX-based server with terminal access:''&amp;lt;br /&amp;gt;Use an FTP client to upload the database upgrade archive to the X-Cart root directory on your server or your hosting account.&amp;lt;br /&amp;gt;Decompress the archive using the following command:&amp;lt;br /&amp;gt;&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# In a web browser, run the upgrade script &amp;lt;xcart_dir&amp;gt;/upgrade_sql.php replacing the &amp;lt;xcart_dir&amp;gt; part with the actual URL of your X-Cart installation. For example,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# In a web browser, run the upgrade script &amp;lt;xcart_dir&amp;gt;/upgrade_sql.php replacing the &amp;lt;xcart_dir&amp;gt; part with the actual URL of your X-Cart installation. For example, &amp;lt;nowiki&amp;gt;http://www.example.com/xcart/upgrade_sql.php&amp;lt;/nowiki&amp;gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;nowiki&amp;gt;http://www.example.com/xcart/upgrade_sql.php&amp;lt;/nowiki&amp;gt; .&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Read the X-Cart License Agreement and click the '''Proceed with Upgrade''' button.&amp;lt;br /&amp;gt;The script will display the progress of the upgrade procedure and finally report the results.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Read the X-Cart License Agreement and click the '''Proceed with Upgrade''' button.&amp;lt;br /&amp;gt;The script will display the progress of the upgrade procedure and finally report the results.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dohtur</name></author>
		
	</entry>
	<entry>
		<id>https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=8061&amp;oldid=prev</id>
		<title>Dohtur: moved X-Cart:Applying Upgrade Packs to X-Cart:Applying Upgrade Packs and Database Upgrade Scripts</title>
		<link rel="alternate" type="text/html" href="https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=8061&amp;oldid=prev"/>
		<updated>2012-06-11T21:11:04Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/X-Cart:Applying_Upgrade_Packs&quot; class=&quot;mw-redirect&quot; title=&quot;X-Cart:Applying Upgrade Packs&quot;&gt;X-Cart:Applying Upgrade Packs&lt;/a&gt; to &lt;a href=&quot;/X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&quot; title=&quot;X-Cart:Applying Upgrade Packs and Database Upgrade Scripts&quot;&gt;X-Cart:Applying Upgrade Packs and Database Upgrade Scripts&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 21:11, 11 June 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Dohtur</name></author>
		
	</entry>
	<entry>
		<id>https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=8060&amp;oldid=prev</id>
		<title>Dohtur at 21:10, 11 June 2012</title>
		<link rel="alternate" type="text/html" href="https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=8060&amp;oldid=prev"/>
		<updated>2012-06-11T21:10:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 21:10, 11 June 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=&lt;/del&gt;==Applying upgrade packs &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and database upgrade scripts===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Applying upgrade packs==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;====Applying upgrade packs==&lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To apply an upgrade pack to your X-Cart installation:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To apply an upgrade pack to your X-Cart installation:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Place the files of your upgrade pack in the X-Cart root directory on your server or hosting account.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Place the files of your upgrade pack in the X-Cart root directory on your server or hosting account.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot; &gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Click the '''Finish''' button at the bottom of the page to complete the upgrade pack application.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Click the '''Finish''' button at the bottom of the page to complete the upgrade pack application.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;==&lt;/del&gt;==Applying database upgrade scripts&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;==&lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Applying database upgrade scripts==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To apply a database upgrade script:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To apply a database upgrade script:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l28&quot; &gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a UNIX-based server with terminal access:''&amp;lt;br /&amp;gt;Use an FTP client to upload the database upgrade archive to the X-Cart root directory on your server or your hosting account.&amp;lt;br /&amp;gt;Decompress the archive using the following command:&amp;lt;br /&amp;gt;&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* ''If you use a UNIX-based server with terminal access:''&amp;lt;br /&amp;gt;Use an FTP client to upload the database upgrade archive to the X-Cart root directory on your server or your hosting account.&amp;lt;br /&amp;gt;Decompress the archive using the following command:&amp;lt;br /&amp;gt;&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# In a web browser, run the upgrade script &amp;lt;xcart_dir&amp;gt;/upgrade_sql.php replacing the &amp;lt;xcart_dir&amp;gt; part with the actual URL of your X-Cart installation. For example,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# In a web browser, run the upgrade script &amp;lt;xcart_dir&amp;gt;/upgrade_sql.php replacing the &amp;lt;xcart_dir&amp;gt; part with the actual URL of your X-Cart installation. For example,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;nowiki&amp;gt;http://www.example.com/xcart/upgrade_sql.php&amp;lt;/nowiki&amp;gt; .&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;nowiki&amp;gt;http://www.example.com/xcart/upgrade_sql.php&amp;lt;/nowiki&amp;gt; .&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Read the X-Cart License Agreement and click the '''Proceed with Upgrade''' button.&amp;lt;br /&amp;gt;The script will display the progress of the upgrade procedure and finally report the results.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Read the X-Cart License Agreement and click the '''Proceed with Upgrade''' button.&amp;lt;br /&amp;gt;The script will display the progress of the upgrade procedure and finally report the results.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot; &gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Also, ensure that your FTP client is set to transfer data in &amp;lt;b&amp;gt;'Binary'&amp;lt;/b&amp;gt; mode. If, instead of the &amp;lt;b&amp;gt;'Binary'&amp;lt;/b&amp;gt; mode, your FTP client is using the &amp;lt;b&amp;gt;'ASCII'/'Text'&amp;lt;/b&amp;gt; mode, the files of your upgrade pack may end up being corrupted due to the incorrect translation of line break character codes between Windows and Unix systems. Although the changes are not visible, the test performed by X-Cart returns checksum values that do not match the checksums of the original files; thus, you get checksum errors. To resolve this problem, you should set your FTP client to the &amp;lt;b&amp;gt;'Binary'&amp;lt;/b&amp;gt; mode and upload the upgrade pack files to the server again.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Also, ensure that your FTP client is set to transfer data in &amp;lt;b&amp;gt;'Binary'&amp;lt;/b&amp;gt; mode. If, instead of the &amp;lt;b&amp;gt;'Binary'&amp;lt;/b&amp;gt; mode, your FTP client is using the &amp;lt;b&amp;gt;'ASCII'/'Text'&amp;lt;/b&amp;gt; mode, the files of your upgrade pack may end up being corrupted due to the incorrect translation of line break character codes between Windows and Unix systems. Although the changes are not visible, the test performed by X-Cart returns checksum values that do not match the checksums of the original files; thus, you get checksum errors. To resolve this problem, you should set your FTP client to the &amp;lt;b&amp;gt;'Binary'&amp;lt;/b&amp;gt; mode and upload the upgrade pack files to the server again.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:X-Cart user manual]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dohtur</name></author>
		
	</entry>
	<entry>
		<id>https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=8056&amp;oldid=prev</id>
		<title>Dohtur at 21:05, 11 June 2012</title>
		<link rel="alternate" type="text/html" href="https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=8056&amp;oldid=prev"/>
		<updated>2012-06-11T21:05:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;//help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;amp;diff=8056&amp;amp;oldid=4384&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Dohtur</name></author>
		
	</entry>
	<entry>
		<id>https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=4384&amp;oldid=prev</id>
		<title>Ivka: Created page with '==Applying in-branch upgrade packs==  To apply an upgrade pack:  ===Branch 3.5.x===  1. Obtain an upgrade pack for your version of X-Cart as described in the section [[X-Cart:Upg…'</title>
		<link rel="alternate" type="text/html" href="https://help.x-cart.com/index.php?title=X-Cart:Applying_Upgrade_Packs_and_Database_Upgrade_Scripts&amp;diff=4384&amp;oldid=prev"/>
		<updated>2010-09-10T07:55:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;==Applying in-branch upgrade packs==  To apply an upgrade pack:  ===Branch 3.5.x===  1. Obtain an upgrade pack for your version of X-Cart as described in the section [[X-Cart:Upg…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Applying in-branch upgrade packs==&lt;br /&gt;
&lt;br /&gt;
To apply an upgrade pack:&lt;br /&gt;
&lt;br /&gt;
===Branch 3.5.x===&lt;br /&gt;
&lt;br /&gt;
1. Obtain an upgrade pack for your version of X-Cart as described in the section [[X-Cart:Upgrading_the_store#Obtaining_upgrade_packs | Obtaining Upgrade Packs]].&lt;br /&gt;
&lt;br /&gt;
Make sure the pack is intended for the source and target versions of your X-Cart installation.&lt;br /&gt;
&lt;br /&gt;
2. Put the upgrade pack to the X-Cart root directory on your server or hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a Windows-based server, or a UNIX-based server without terminal access:&lt;br /&gt;
** Decompress the archive with the upgrade pack to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&lt;br /&gt;
** Use an FTP client to upload all the files contained in the archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a UNIX-based server with terminal access:&lt;br /&gt;
** Use an FTP client to upload the archive with the upgrade pack to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
** Decompress the package using the following commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Make sure that the files that will be patched during the upgrade have world writable permissions. Names of the files to be patched are listed in the file &amp;lt;xcart_dir&amp;gt;/upgrade/[source-version]-[target-version]/file.lst.&lt;br /&gt;
&lt;br /&gt;
If you use a UNIX-based server, to set world writable permissions to the required files you can run the following shell command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for i in `sed -e 's/,.*$//g' &amp;lt; upgrade/[source]-[target]/file.lst`; do chmod 666 $i ; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
replacing the [source] and [target] parts with the source and target versions of the X-Cart installation that you upgrade.&lt;br /&gt;
&lt;br /&gt;
{{Note1|Important! You must run the command from the X-Cart root directory.}}&lt;br /&gt;
&lt;br /&gt;
4. Log in to the X-Cart Admin area.&lt;br /&gt;
&lt;br /&gt;
5. Go to the section Patch/Upgrade Center (Administration menu -&amp;gt; Patch/Upgrade).&lt;br /&gt;
&lt;br /&gt;
You will see the Upgrade box.&lt;br /&gt;
&lt;br /&gt;
6. Select the target version from the drop-down box and click the Apply button.&lt;br /&gt;
&lt;br /&gt;
X-Cart will test whether the required files can be patched successfully and list the files showing their status. The file statuses mean as follows:&lt;br /&gt;
&lt;br /&gt;
* OK - File can be patched successfully.&lt;br /&gt;
* Checksum error - Patch is corrupted. Try to download the patch again.&lt;br /&gt;
* Non-writable - File does not have writable permissions. Set up writable permissions to the file.&lt;br /&gt;
* Not a file - Target is not a file. The original X-Cart structure has been modified and you need to apply the patch manually.&lt;br /&gt;
* Not exists - File is missing. The original X-Cart structure has been modified and you need to apply the patch manually.&lt;br /&gt;
* Could not patch - Patch cannot be applied to the file automatically as the original X-Cart structure has been modified and you need to apply the patch manually.&lt;br /&gt;
* Already patched - File has been patched already.&lt;br /&gt;
&lt;br /&gt;
7. Click the '''Apply patch''' button at the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
X-Cart will start patching the files. When the patch is applied, X-Cart will display the list of patched files and a detailed report about what changes has been made.&lt;br /&gt;
&lt;br /&gt;
8. Click the '''Finish''' button at the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Branch 4.0.x===&lt;br /&gt;
&lt;br /&gt;
1. Obtain an upgrade pack for your version of X-Cart as described in the section Obtaining Upgrade Packs earlier in this chapter.&lt;br /&gt;
&lt;br /&gt;
Make sure the pack is intended for the source and target versions of your X-Cart installation.&lt;br /&gt;
&lt;br /&gt;
2. Put the upgrade pack to the X-Cart root directory on your server or hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a Windows-based server, or a UNIX-based server without terminal access:&lt;br /&gt;
** Decompress the archive with the upgrade pack to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&lt;br /&gt;
** Use an FTP client to upload all the files contained in the archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a UNIX-based server with terminal access:&lt;br /&gt;
** Use an FTP client to upload the archive with the upgrade pack to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
** Decompress the package using the following commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Make sure that the files that will be patched during the upgrade have world writable permissions. Names of the files to be patched are listed in the file &amp;lt;xcart_dir&amp;gt;/upgrade/[source-version]-[target-version]/file.lst.&lt;br /&gt;
&lt;br /&gt;
If you use a UNIX-based server, to set world writable permissions to the required files you can run the following shell command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for i in `sed -e 's/,.*$//g' &amp;lt; upgrade/[source]-[target]/file.lst`; do chmod 666 $i ; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
replacing the [source] and [target] parts with the source and target versions of the X-Cart installation that you upgrade.&lt;br /&gt;
&lt;br /&gt;
{{Note1|Important! You must run the command from the X-Cart root directory.}}&lt;br /&gt;
&lt;br /&gt;
4. Log in to the X-Cart Admin area.&lt;br /&gt;
&lt;br /&gt;
5. Go to the section Patch/Upgrade Center (Administration menu -&amp;gt; Patch/Upgrade).&lt;br /&gt;
&lt;br /&gt;
You will see the Upgrade box.&lt;br /&gt;
&lt;br /&gt;
6. Select the target version from the drop-down box and click the Apply button.&lt;br /&gt;
&lt;br /&gt;
X-Cart will test whether the required files can be patched successfully and list the files showing their status. The file statuses mean as follows:&lt;br /&gt;
&lt;br /&gt;
* OK - File can be patched successfully.&lt;br /&gt;
* Checksum error - Patch is corrupted. Try to download the patch again.&lt;br /&gt;
* Non-writable - File does not have writable permissions. Set up writable permissions to the file.&lt;br /&gt;
* Not a file - Target is not a file. The original X-Cart structure has been modified and you need to apply the patch manually.&lt;br /&gt;
* Not exists - File is missing. The original X-Cart structure has been modified and you need to apply the patch manually.&lt;br /&gt;
* Could not patch - Patch cannot be applied to the file automatically as the original X-Cart structure has been modified and you need to apply the patch manually.&lt;br /&gt;
* Already patched - File has been patched already.&lt;br /&gt;
&lt;br /&gt;
7. Click the '''Apply patch''' button at the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
X-Cart will start patching the files. When the patch is applied, X-Cart will display the list of patched files and a detailed report about what changes has been made.&lt;br /&gt;
&lt;br /&gt;
8. Click the '''Finish''' button at the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Branch 4.1.x===&lt;br /&gt;
&lt;br /&gt;
1. Obtain an upgrade pack for your version of X-Cart as described in the section Obtaining Upgrade Packs earlier in this chapter.&lt;br /&gt;
&lt;br /&gt;
Make sure the pack is intended for the source and target versions of your X-Cart installation.&lt;br /&gt;
&lt;br /&gt;
2. Put the upgrade pack to the X-Cart root directory on your server or hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a Windows-based server, or a UNIX-based server without terminal access:&lt;br /&gt;
** Decompress the archive with the upgrade pack to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&lt;br /&gt;
** Use an FTP client to upload all the files contained in the archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a UNIX-based server with terminal access:&lt;br /&gt;
** Use an FTP client to upload the archive with the upgrade pack to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
** Decompress the package using the following commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Make sure that the files that will be patched during the upgrade have world writable permissions. Names of the files to be patched are listed in the file &amp;lt;xcart_dir&amp;gt;/upgrade/[source-version]-[target-version]/file.lst.&lt;br /&gt;
&lt;br /&gt;
If you use a UNIX-based server, to set world writable permissions to the required files you can run the following shell command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for i in `sed -e 's/,.*$//g' &amp;lt; upgrade/[source]-[target]/file.lst`; do chmod 666 $i ; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
replacing the [source] and [target] parts with the source and target versions of the X-Cart installation that you upgrade.&lt;br /&gt;
{{Note1|Important! You must run the command from the X-Cart root directory.}}&lt;br /&gt;
&lt;br /&gt;
4. Log in to the X-Cart Admin area.&lt;br /&gt;
&lt;br /&gt;
5. Go to the section Patch/Upgrade Center (Administration menu -&amp;gt; Patch/Upgrade).&lt;br /&gt;
&lt;br /&gt;
You will see the Upgrade box.&lt;br /&gt;
&lt;br /&gt;
6. Select the target version from the drop-down box and click the Apply button.&lt;br /&gt;
&lt;br /&gt;
X-Cart will test whether the required files can be patched successfully and list the files showing their status. The file statuses mean as follows:&lt;br /&gt;
&lt;br /&gt;
* OK - File can be patched successfully.&lt;br /&gt;
* Checksum error - Patch is corrupted. Try to download the patch again.&lt;br /&gt;
* Non-writable - File does not have writable permissions. Set up writable permissions to the file.&lt;br /&gt;
* Not a file - Target is not a file. The original X-Cart structure has been modified and you need to apply the patch manually.&lt;br /&gt;
* Not exists - File is missing. The original X-Cart structure has been modified and you need to apply the patch manually.&lt;br /&gt;
* Could not patch - Patch cannot be applied to the file automatically as the original X-Cart structure has been modified and you need to apply the patch manually.&lt;br /&gt;
* Already patched - File has been patched already.&lt;br /&gt;
&lt;br /&gt;
7. Click the '''Apply patch''' button at the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
X-Cart will start patching the files. When the patch is applied, X-Cart will display the list of patched files and a detailed report about what changes has been made.&lt;br /&gt;
&lt;br /&gt;
8. Click the '''Finish''' button at the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Branch 4.2.x===&lt;br /&gt;
&lt;br /&gt;
1. Obtain an upgrade pack for your version of X-Cart as described in the section Obtaining Upgrade Packs earlier in this chapter.&lt;br /&gt;
&lt;br /&gt;
Make sure the pack is intended for the source and target versions of your X-Cart installation.&lt;br /&gt;
&lt;br /&gt;
2. Put the upgrade pack to the X-Cart root directory on your server or hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a Windows-based server, or a UNIX-based server without terminal access:&lt;br /&gt;
** Decompress the archive with the upgrade pack to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&lt;br /&gt;
** Use an FTP client to upload all the files contained in the archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a UNIX-based server with terminal access:&lt;br /&gt;
** Use an FTP client to upload the archive with the upgrade pack to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
** Decompress the package using the following commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Make sure that the files that will be patched during the upgrade have world writable permissions. Names of the files to be patched are listed in the file &amp;lt;xcart_dir&amp;gt;/upgrade/[source-version]-[target-version]/file.lst.&lt;br /&gt;
&lt;br /&gt;
If you use a UNIX-based server, to set world writable permissions to the required files you can run the following shell command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;for i in `sed -e 's/,.*$//g' &amp;lt; upgrade/[source]-[target]/file.lst`; do chmod 666 $i ; done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
replacing the [source] and [target] parts with the source and target versions of the X-Cart installation that you upgrade.&lt;br /&gt;
&lt;br /&gt;
{{Note1|Important! You must run the command from the X-Cart root directory.}}&lt;br /&gt;
&lt;br /&gt;
4. Log in to the X-Cart Admin area.&lt;br /&gt;
&lt;br /&gt;
5. Go to the section Patch/Upgrade Center (Administration menu -&amp;gt; Patch/Upgrade).&lt;br /&gt;
&lt;br /&gt;
You will see the Upgrade box.&lt;br /&gt;
&lt;br /&gt;
6. Select the target version from the drop-down box, select all the check boxes above and click the Apply button.&lt;br /&gt;
&lt;br /&gt;
X-Cart will test whether the required files can be patched successfully and list the files showing their status. The file statuses mean as follows:&lt;br /&gt;
&lt;br /&gt;
* OK - File can be patched successfully.&lt;br /&gt;
* Checksum error - Patch is corrupted. Try to download the patch again.&lt;br /&gt;
* Non-writable - File does not have writable permissions. Set up writable permissions to the file.&lt;br /&gt;
* Not a file - Target is not a file. The original X-Cart structure has been modified and you need to apply the patch manually.&lt;br /&gt;
* Not exists - File is missing. The original X-Cart structure has been modified and you need to apply the patch manually.&lt;br /&gt;
* Could not patch - Patch cannot be applied to the file automatically as the original X-Cart structure has been modified and you need to apply the patch manually.&lt;br /&gt;
* Already patched - File has been patched already.&lt;br /&gt;
&lt;br /&gt;
7. Click the '''Apply patch''' button at the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
X-Cart will start patching the files. When the patch is applied, X-Cart will display the list of patched files and a detailed report about what changes has been made.&lt;br /&gt;
&lt;br /&gt;
8. Click the '''Finish''' button at the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Applying database upgrade packs==&lt;br /&gt;
&lt;br /&gt;
To upgrade the database:&lt;br /&gt;
&lt;br /&gt;
===Branch 3.5.x to branch 4.1.x===&lt;br /&gt;
&lt;br /&gt;
1. Make sure the current version of your X-Cart installation can be upgraded to the target version directly.&lt;br /&gt;
&lt;br /&gt;
Consult the chart in the opening section of the chapter Upgrading X-Cart. If there is no a direct upgrade pack, you will need to upgrade to the required version through several transitional steps (upgrades).&lt;br /&gt;
&lt;br /&gt;
2. Obtain the database upgrade pack as described in the section Obtaining Upgrade Packs earlier in this chapter.&lt;br /&gt;
3. Put the upgrade pack to the X-Cart root directory on your server or hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a Windows-based server, or a UNIX-based server without terminal access:&lt;br /&gt;
** Decompress the archive with the upgrade pack to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&lt;br /&gt;
** Use an FTP client to upload all the files contained in the archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a UNIX-based server with terminal access:&lt;br /&gt;
** Use an FTP client to upload the archive with the upgrade pack to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
** Decompress the package using the following commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. In a web browser, run the upgrade script &amp;lt;xcart_dir&amp;gt;/upgrade_sql.php replacing the &amp;lt;xcart_dir&amp;gt; part with the true URL of your X-Cart installation. For example, http://www.example.com/xcart/upgrade_sql.php.&lt;br /&gt;
&lt;br /&gt;
The script will display the progress of the upgrade task and finally report about the results.&lt;br /&gt;
&lt;br /&gt;
5. Retrieve the value of the variable $blowfish_key from the file config.php in the root directory of your existing X-Cart installation and temporarily save it somewhere on your local computer.&lt;br /&gt;
&lt;br /&gt;
You will be asked to provide the Blowfish key later in order that X-Cart to decrypt the data in the upgraded database.&lt;br /&gt;
&lt;br /&gt;
6. Install a fresh copy of X-Cart 4.1.x. Make sure the copy of X-Cart that you are going to install is the same as the the version of the upgraded database.&lt;br /&gt;
&lt;br /&gt;
When installing X-Cart:&lt;br /&gt;
&lt;br /&gt;
* If you install X-Cart to the directory on your server or hosting account where a previous version of X-Cart is located, at the first step of the installation wizard select the radio button New Installation and enter the Auth code for the existing X-Cart installation. If you do not remember the code, retrieve the value of the variable $installation_auth_code from the file &amp;lt;xcart_dir&amp;gt;/include/install.php.&lt;br /&gt;
* At the step Preparing to Install X-Cart Database of the installation wizard, select the check box Update config.php only and enter Blowfish key for the upgraded database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Branch 4.0.x to branch 4.1.x===&lt;br /&gt;
&lt;br /&gt;
1. Make sure the current version of your X-Cart installation can be upgraded to the target version directly.&lt;br /&gt;
&lt;br /&gt;
Consult the chart in the opening section of the chapter Upgrading X-Cart. If there is no a direct upgrade pack, you will need to upgrade to the required version through several transitional steps (upgrades).&lt;br /&gt;
&lt;br /&gt;
2. Obtain the database upgrade pack as described in the section Obtaining Upgrade Packs earlier in this chapter.&lt;br /&gt;
3. Put the upgrade pack to the X-Cart root directory on your server or hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a Windows-based server, or a UNIX-based server without terminal access:&lt;br /&gt;
** Decompress the archive with the upgrade pack to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&lt;br /&gt;
** Use an FTP client to upload all the files contained in the archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a UNIX-based server with terminal access:&lt;br /&gt;
** Use an FTP client to upload the archive with the upgrade pack to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
** Decompress the package using the following commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. In a web browser, run the upgrade script &amp;lt;xcart_dir&amp;gt;/upgrade_sql.php replacing the &amp;lt;xcart_dir&amp;gt; part with the true URL of your X-Cart installation. For example, http://www.example.com/xcart/upgrade_sql.php.&lt;br /&gt;
&lt;br /&gt;
The script will display the progress of the upgrade task and finally report about the results.&lt;br /&gt;
&lt;br /&gt;
5. Retrieve the value of the variable $blowfish_key from the file config.php in the root directory of your existing X-Cart installation and temporarily save it somewhere on your local computer.&lt;br /&gt;
&lt;br /&gt;
You will be asked to provide the Blowfish key later in order that X-Cart to decrypt the data in the upgraded database.&lt;br /&gt;
&lt;br /&gt;
6. Install a fresh copy of X-Cart 4.1.x. Make sure the copy of X-Cart that you are going to install is the same as the the version of the upgraded database.&lt;br /&gt;
&lt;br /&gt;
When installing X-Cart:&lt;br /&gt;
&lt;br /&gt;
* If you install X-Cart to the directory on your server or hosting account where a previous version of X-Cart is located, at the first step of the installation wizard select the radio button New Installation and enter the Auth code for the existing X-Cart installation. If you do not remember the code, retrieve the value of the variable $installation_auth_code from the file &amp;lt;xcart_dir&amp;gt;/include/install.php.&lt;br /&gt;
* At the step Preparing to Install X-Cart Database of the installation wizard, select the check box Update config.php only and enter Blowfish key for the upgraded database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Branch 4.1.x to branch 4.3.x===&lt;br /&gt;
&lt;br /&gt;
1. Make sure the current version of your X-Cart installation can be upgraded to the target version directly.&lt;br /&gt;
&lt;br /&gt;
Consult the chart in the opening section of the chapter Upgrading X-Cart. If there is no a direct upgrade pack, you will need to upgrade to the required version through several transitional steps (upgrades).&lt;br /&gt;
&lt;br /&gt;
2. Obtain the database upgrade pack as described in the section Obtaining Upgrade Packs earlier in this chapter.&lt;br /&gt;
3. Put the upgrade pack to the X-Cart root directory on your server or hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a Windows-based server, or a UNIX-based server without terminal access:&lt;br /&gt;
** Decompress the archive with the upgrade pack to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&lt;br /&gt;
** Use an FTP client to upload all the files contained in the archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a UNIX-based server with terminal access:&lt;br /&gt;
** Use an FTP client to upload the archive with the upgrade pack to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
** Decompress the package using the following commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. In a web browser, run the upgrade script &amp;lt;xcart_dir&amp;gt;/upgrade_sql.php replacing the &amp;lt;xcart_dir&amp;gt; part with the true URL of your X-Cart installation. For example, http://www.example.com/xcart/upgrade_sql.php.&lt;br /&gt;
&lt;br /&gt;
5. Read the X-Cart License Agreement that has been modified since X-Cart 4.1.x and click the Proceed with Upgrade button.&lt;br /&gt;
&lt;br /&gt;
The script will display the progress of the upgrade task and finally report about the results.&lt;br /&gt;
&lt;br /&gt;
6. Retrieve the value of the variable $blowfish_key from the file config.php in the root directory of your existing X-Cart installation and temporarily save it somewhere on your local computer.&lt;br /&gt;
&lt;br /&gt;
You will be asked to provide the Blowfish key later in order that X-Cart to decrypt the data in the upgraded database.&lt;br /&gt;
&lt;br /&gt;
7. Install a fresh copy of X-Cart 4.3.x as described in the section Installing X-Cart earlier in this manual. Make sure the copy of X-Cart that you are going to install is the same as the the version of the upgraded database.&lt;br /&gt;
&lt;br /&gt;
When installing X-Cart:&lt;br /&gt;
&lt;br /&gt;
* If you install X-Cart to the directory on your server or hosting account where a previous version of X-Cart is located, at the first step of the installation wizard select the radio button New Installation and enter the Auth code for the existing X-Cart installation. If you do not remember the code, retrieve the value of the variable $installation_auth_code from the file &amp;lt;xcart_dir&amp;gt;/include/install.php.&lt;br /&gt;
* At the step Preparing to Install X-Cart Database of the installation wizard, select the check box Update config.php only and enter Blowfish key for the upgraded database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Branch 4.2.x to branch 4.3.x===&lt;br /&gt;
&lt;br /&gt;
1. Make sure the current version of your X-Cart installation can be upgraded to the target version directly.&lt;br /&gt;
&lt;br /&gt;
Consult the chart in the opening section of the chapter Upgrading X-Cart. If there is no a direct upgrade pack, you will need to upgrade to the required version through several transitional steps (upgrades).&lt;br /&gt;
&lt;br /&gt;
2. Obtain the database upgrade pack as described in the section Obtaining Upgrade Packs earlier in this chapter.&lt;br /&gt;
3. Put the upgrade pack to the X-Cart root directory on your server or hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a Windows-based server, or a UNIX-based server without terminal access:&lt;br /&gt;
** Decompress the archive with the upgrade pack to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).&lt;br /&gt;
** Use an FTP client to upload all the files contained in the archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
&lt;br /&gt;
* If you use a UNIX-based server with terminal access:&lt;br /&gt;
** Use an FTP client to upload the archive with the upgrade pack to the X-Cart root directory on your server or your hosting account.&lt;br /&gt;
** Decompress the package using the following commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar -xzvf &amp;lt;archive_filename&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
4. In a web browser, run the upgrade script &amp;lt;xcart_dir&amp;gt;/upgrade_sql.php replacing the &amp;lt;xcart_dir&amp;gt; part with the true URL of your X-Cart installation. For example, http://www.example.com/xcart/upgrade_sql.php.&lt;br /&gt;
&lt;br /&gt;
5. Read the X-Cart License Agreement that has been modified since X-Cart 4.1.x and click the Proceed with Upgrade button.&lt;br /&gt;
&lt;br /&gt;
The script will display the progress of the upgrade task and finally report about the results.&lt;br /&gt;
&lt;br /&gt;
6. Retrieve the value of the variable $blowfish_key from the file config.php in the root directory of your existing X-Cart installation and temporarily save it somewhere on your local computer.&lt;br /&gt;
&lt;br /&gt;
You will be asked to provide the Blowfish key later in order that X-Cart to decrypt the data in the upgraded database.&lt;br /&gt;
&lt;br /&gt;
7. Install a fresh copy of X-Cart 4.3.x as described in the section Installing X-Cart earlier in this manual. Make sure the copy of X-Cart that you are going to install is the same as the the version of the upgraded database.&lt;br /&gt;
&lt;br /&gt;
When installing X-Cart:&lt;br /&gt;
&lt;br /&gt;
* If you install X-Cart to the directory on your server or hosting account where a previous version of X-Cart is located, at the first step of the installation wizard select the radio button New Installation and enter the Auth code for the existing X-Cart installation. If you do not remember the code, retrieve the value of the variable $installation_auth_code from the file &amp;lt;xcart_dir&amp;gt;/include/install.php.&lt;br /&gt;
* At the step Preparing to Install X-Cart Database of the installation wizard, select the check box Update config.php only and enter Blowfish key for the upgraded database.&lt;/div&gt;</summary>
		<author><name>Ivka</name></author>
		
	</entry>
</feed>