https://www.x-payments.com/help/?title=X-Payments:Upgrading&feed=atom&action=historyX-Payments:Upgrading - Revision history2024-03-29T01:01:37ZRevision history for this page on the wikiMediaWiki 1.31.5https://www.x-payments.com/help/?title=X-Payments:Upgrading&diff=1646&oldid=prevDohtur at 21:31, 17 December 20182018-12-17T21:31:28Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 21:31, 17 December 2018</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div><noinclude>{{Template:XP manual TOC}}</noinclude></div></td><td class='diff-marker'> </td><td style="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;"><div><noinclude>{{Template:XP manual TOC}}</noinclude></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>Upgrading is done with the help of a special upgrade pack. If you are using a downloadable version of X-Payments, and your license allows you to upgrade to later versions, you will find this pack in the <u>File area</u> section of your {{QA}} (Look for a file named like '''upgrade.pack.xp.X.Y.Z.zip''' (ZIP-archive) or '''upgrade.pack.xp.X.Y.Z.tgz''' (TGZ-archive), where X, Y and Z are version numbers).  </div></td><td class='diff-marker'> </td><td style="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;"><div>Upgrading is done with the help of a special upgrade pack. If you are using a downloadable version of X-Payments, and your license allows you to upgrade to later versions, you will find this pack in the <u>File area</u> section of your {{QA}} (Look for a file named like '''upgrade.pack.xp.X.Y.Z.zip''' (ZIP-archive) or '''upgrade.pack.xp.X.Y.Z.tgz''' (TGZ-archive), where X, Y and Z are version numbers).  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;"><br /><br /></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;">Note that if you are upgrading from an X-Payments version earlier than 3.1.0, you will need to use two upgrade packs consecutively: first, you will need to use an appropriate pack to upgrade to version 3.1.0, and then another pack to upgrade from 3.1.0 to whatever later version you require. For example, if your X-Payments version is 1.0.x, and you want to upgrade to 3.1.4, you will need to use two packs: first, upgrade.pack.xp.3.1.0.tgz to upgrade from 1.0.x to 3.1.0; then, upgrade.pack.xp.3.1.4.tgz to upgrade from 3.1.0 to 3.1.4.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div><br /><br /></div></td><td class='diff-marker'> </td><td style="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;"><div><br /><br /></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>'''To upgrade X-Payments, complete the following steps:'''</div></td><td class='diff-marker'> </td><td style="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;"><div>'''To upgrade X-Payments, complete the following steps:'''</div></td></tr>
</table>Dohturhttps://www.x-payments.com/help/?title=X-Payments:Upgrading&diff=1163&oldid=prevDohtur at 20:33, 21 December 20172017-12-21T20:33:32Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 20:33, 21 December 2017</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l9" >Line 9:</td>
<td colspan="2" class="diff-lineno">Line 9:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>#* -vX.X.X - the version to which you want to upgrade; for example, "-v2.2.0";</div></td><td class='diff-marker'> </td><td style="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;"><div>#* -vX.X.X - the version to which you want to upgrade; for example, "-v2.2.0";</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>#* -oY.Y.Y - the version from which you are upgrading; for example, "-o2.1.3" (This parameter should be used if, for example, the version in the config/config.ini.php file of your X-Payments installation is specified incorrectly);</div></td><td class='diff-marker'> </td><td style="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;"><div>#* -oY.Y.Y - the version from which you are upgrading; for example, "-o2.1.3" (This parameter should be used if, for example, the version in the config/config.ini.php file of your X-Payments installation is specified incorrectly);</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>#* -y - specify this to skip the step where you need to confirm your intention to upgrade (where you need to enter y/n).<br />For example, to upgrade from version 1.0.4 to 1.0.6, you will need to use the command<br />&nbsp;&nbsp;&nbsp;'''php upgrade.php -o1.0.4 -v1.0.6'''<br />The upgrade script will recognize <del class="diffchange diffchange-inline">the following </del>X-Payments versions<del class="diffchange diffchange-inline">: </del>1.0.3<del class="diffchange diffchange-inline">, 1.0.4, 1.0.5, 1.0.6, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.2.2, 3.0.0, 3.0.1</del>.<br />Note that for X-Payments versions 1.0.3 and 1.0.4 you ''must'' specify the version from which you are upgrading using the -o parameter, since the config/config.ini.php file of these versions does not contain the version information upgrade.php expects to find there.<br /></div></td><td class='diff-marker'>+</td><td style="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;"><div>#* -y - specify this to skip the step where you need to confirm your intention to upgrade (where you need to enter y/n).<br />For example, to upgrade from version 1.0.4 to 1.0.6, you will need to use the command<br />&nbsp;&nbsp;&nbsp;'''php upgrade.php -o1.0.4 -v1.0.6'''<br />The upgrade script will recognize <ins class="diffchange diffchange-inline">all </ins>X-Payments versions <ins class="diffchange diffchange-inline">starting with </ins>1.0.3.<br />Note that for X-Payments versions 1.0.3 and 1.0.4 you ''must'' specify the version from which you are upgrading using the -o parameter, since the config/config.ini.php file of these versions does not contain the version information upgrade.php expects to find there.<br /></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>Once the script is run, it will create a backup of your X-Payments installation and carry out the upgrade for you.  </div></td><td class='diff-marker'> </td><td style="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;"><div>Once the script is run, it will create a backup of your X-Payments installation and carry out the upgrade for you.  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>After upgrading has been completed, be sure to remove the directory '''<xpay-dir>/upgrade/''' (That is done for security purposes; remember that X-Payments must be a <del class="diffchange diffchange-inline">stand alone </del>service on a separate server, so you must not keep other applications - including the upgrade script - on the same server while using it).</div></td><td class='diff-marker'>+</td><td style="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;"><div>After upgrading has been completed, be sure to remove the directory '''<xpay-dir>/upgrade/''' (That is done for security purposes; remember that X-Payments must be a <ins class="diffchange diffchange-inline">standalone </ins>service on a separate server, so you must not keep other applications - including the upgrade script - on the same server while using it).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>In case of any issues, you can find your backup in the directory '''<xpay-dir>/var/backup/'''.</div></td><td class='diff-marker'> </td><td style="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;"><div>In case of any issues, you can find your backup in the directory '''<xpay-dir>/var/backup/'''.</div></td></tr>
</table>Dohturhttps://www.x-payments.com/help/?title=X-Payments:Upgrading&diff=1139&oldid=prevAnima at 11:35, 12 December 20172017-12-12T11:35:11Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 11:35, 12 December 2017</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l14" >Line 14:</td>
<td colspan="2" class="diff-lineno">Line 14:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>In case of any issues, you can find your backup in the directory '''<xpay-dir>/var/backup/'''.</div></td><td class='diff-marker'> </td><td style="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;"><div>In case of any issues, you can find your backup in the directory '''<xpay-dir>/var/backup/'''.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;">==Important Info on X-Payments Self-Hosted v2.x/1.x Upgrade==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;">To prevent data loss caused by any possible issues that may happen during the upgrade, be sure to make backup copies of your X-Cart Payments files and database before you start. Thus, you’ll be able to revert back to your current X-Cart Payments version, if something goes wrong.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;">'''Note!''' After you upgrade your X-Cart Payments from v1.x or v2.x to v3.1.0, you will be requested to change your password and set up a new method of [https://www.x-payments.com/help/X-Payments:Two-factor_authentication 2-factor authentication] for your user account. The authentication process is much handier. It doesn’t require generating dozens of pin codes at once, storing them and then searching for a correct one each time you need to log in. Instead, you’ll get a new code with the help of your smartphone each time, you need to log in.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
</table>Animahttps://www.x-payments.com/help/?title=X-Payments:Upgrading&diff=813&oldid=prevDohtur at 13:24, 10 August 20162016-08-10T13:24:17Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 13:24, 10 August 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div><noinclude>{{Template:XP manual TOC}}</noinclude></div></td><td class='diff-marker'> </td><td style="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;"><div><noinclude>{{Template:XP manual TOC}}</noinclude></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>Upgrading is done with the help of a special upgrade pack. If you are using a downloadable version of X-Payments, and your license allows you to upgrade to later versions, you will find this pack in the <u>File area</u> section of your {{QA}} (Look for a file named like '''upgrade.pack.xp.<del class="diffchange diffchange-inline">2</del>.<del class="diffchange diffchange-inline">2</del>.<del class="diffchange diffchange-inline">0</del>.zip''' (ZIP-archive) or '''upgrade.pack.xp.<del class="diffchange diffchange-inline">2</del>.<del class="diffchange diffchange-inline">2</del>.<del class="diffchange diffchange-inline">0</del>.tgz''' (TGZ-archive)).  </div></td><td class='diff-marker'>+</td><td style="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;"><div>Upgrading is done with the help of a special upgrade pack. If you are using a downloadable version of X-Payments, and your license allows you to upgrade to later versions, you will find this pack in the <u>File area</u> section of your {{QA}} (Look for a file named like '''upgrade.pack.xp.<ins class="diffchange diffchange-inline">X</ins>.<ins class="diffchange diffchange-inline">Y</ins>.<ins class="diffchange diffchange-inline">Z</ins>.zip''' (ZIP-archive) or '''upgrade.pack.xp.<ins class="diffchange diffchange-inline">X</ins>.<ins class="diffchange diffchange-inline">Y</ins>.<ins class="diffchange diffchange-inline">Z</ins>.tgz''' (TGZ-archive)<ins class="diffchange diffchange-inline">, where X, Y and Z are version numbers</ins>).  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div><br /><br /></div></td><td class='diff-marker'> </td><td style="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;"><div><br /><br /></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>'''To upgrade X-Payments, complete the following steps:'''</div></td><td class='diff-marker'> </td><td style="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;"><div>'''To upgrade X-Payments, complete the following steps:'''</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l9" >Line 9:</td>
<td colspan="2" class="diff-lineno">Line 9:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>#* -vX.X.X - the version to which you want to upgrade; for example, "-v2.2.0";</div></td><td class='diff-marker'> </td><td style="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;"><div>#* -vX.X.X - the version to which you want to upgrade; for example, "-v2.2.0";</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>#* -oY.Y.Y - the version from which you are upgrading; for example, "-o2.1.3" (This parameter should be used if, for example, the version in the config/config.ini.php file of your X-Payments installation is specified incorrectly);</div></td><td class='diff-marker'> </td><td style="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;"><div>#* -oY.Y.Y - the version from which you are upgrading; for example, "-o2.1.3" (This parameter should be used if, for example, the version in the config/config.ini.php file of your X-Payments installation is specified incorrectly);</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>#* -y - specify this to skip the step where you need to confirm your intention to upgrade (where you need to enter y/n).<br />For example, to upgrade from version 1.0.4 to 1.0.6, you will need to use the command<br />&nbsp;&nbsp;&nbsp;'''php upgrade.php -o1.0.4 -v1.0.6'''<br />The upgrade script will recognize the following X-Payments versions: 1.0.3, 1.0.4, 1.0.5, 1.0.6, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0.<br />Note that for X-Payments versions 1.0.3 and 1.0.4 you ''must'' specify the version from which you are upgrading using the -o parameter, since the config/config.ini.php file of these versions does not contain the version information upgrade.php expects to find there.<br /></div></td><td class='diff-marker'>+</td><td style="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;"><div>#* -y - specify this to skip the step where you need to confirm your intention to upgrade (where you need to enter y/n).<br />For example, to upgrade from version 1.0.4 to 1.0.6, you will need to use the command<br />&nbsp;&nbsp;&nbsp;'''php upgrade.php -o1.0.4 -v1.0.6'''<br />The upgrade script will recognize the following X-Payments versions: 1.0.3, 1.0.4, 1.0.5, 1.0.6, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0<ins class="diffchange diffchange-inline">, 2.2.1, 2.2.2, 3.0.0, 3.0.1</ins>.<br />Note that for X-Payments versions 1.0.3 and 1.0.4 you ''must'' specify the version from which you are upgrading using the -o parameter, since the config/config.ini.php file of these versions does not contain the version information upgrade.php expects to find there.<br /></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>Once the script is run, it will create a backup of your X-Payments installation and carry out the upgrade for you.  </div></td><td class='diff-marker'> </td><td style="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;"><div>Once the script is run, it will create a backup of your X-Payments installation and carry out the upgrade for you.  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>After upgrading has been completed, be sure to remove the directory '''<xpay-dir>/upgrade/''' (That is done for security purposes; remember that X-Payments must be a stand alone service on a separate server, so you must not keep other applications - including the upgrade script - on the same server while using it).</div></td><td class='diff-marker'> </td><td style="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;"><div>After upgrading has been completed, be sure to remove the directory '''<xpay-dir>/upgrade/''' (That is done for security purposes; remember that X-Payments must be a stand alone service on a separate server, so you must not keep other applications - including the upgrade script - on the same server while using it).</div></td></tr>
</table>Dohturhttps://www.x-payments.com/help/?title=X-Payments:Upgrading&diff=367&oldid=prevDohtur at 13:35, 7 August 20152015-08-07T13:35:00Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 13:35, 7 August 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div><noinclude>{{XP manual TOC}}</noinclude></div></td><td class='diff-marker'>+</td><td style="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;"><div><noinclude>{{<ins class="diffchange diffchange-inline">Template:</ins>XP manual TOC}}</noinclude></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div>Upgrading is done with the help of a special upgrade pack. If you are using a downloadable version of X-Payments, and your license allows you to upgrade to later versions, you will find this pack in the <u>File area</u> section of your {{QA}} (Look for a file named like '''upgrade.pack.xp.2.<del class="diffchange diffchange-inline">1</del>.<del class="diffchange diffchange-inline">1</del>.zip''' (ZIP-archive) or '''upgrade.pack.xp.2.<del class="diffchange diffchange-inline">1</del>.<del class="diffchange diffchange-inline">1</del>.tgz''' (TGZ-archive)).  </div></td><td class='diff-marker'>+</td><td style="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;"><div>Upgrading is done with the help of a special upgrade pack. If you are using a downloadable version of X-Payments, and your license allows you to upgrade to later versions, you will find this pack in the <u>File area</u> section of your {{QA}} (Look for a file named like '''upgrade.pack.xp.2.<ins class="diffchange diffchange-inline">2</ins>.<ins class="diffchange diffchange-inline">0</ins>.zip''' (ZIP-archive) or '''upgrade.pack.xp.2.<ins class="diffchange diffchange-inline">2</ins>.<ins class="diffchange diffchange-inline">0</ins>.tgz''' (TGZ-archive)).  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div><br /><br /></div></td><td class='diff-marker'> </td><td style="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;"><div><br /><br /></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>'''To upgrade X-Payments, complete the following steps:'''</div></td><td class='diff-marker'> </td><td style="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;"><div>'''To upgrade X-Payments, complete the following steps:'''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div># Download the X-Payments upgrade pack.  </div></td><td class='diff-marker'> </td><td style="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;"><div># Download the X-Payments upgrade pack.  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div># Connect to your X-Payments server via SSH.</div></td><td class='diff-marker'> </td><td style="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;"><div># Connect to your X-Payments server via SSH.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div><del class="diffchange diffchange-inline"># Create a directory '''<xpay-dir>/upgrade'''.</del></div></td><td class='diff-marker'>+</td><td style="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;"><div># Extract the X-Payments upgrade pack that you downloaded and upload the extracted pack contents to the <ins class="diffchange diffchange-inline">root of your X-Payments installation. </ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div># Extract the X-Payments upgrade pack that you downloaded and upload the extracted pack contents to the <del class="diffchange diffchange-inline">directory </del>'''<xpay-dir>/upgrade''' <del class="diffchange diffchange-inline">that you created at </del>the <del class="diffchange diffchange-inline">previous step. The directory should now contain the following items</del>:</div></td><td class='diff-marker'>+</td><td style="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;"><div><ins class="diffchange diffchange-inline"># Run the script </ins>'''<xpay-dir>/upgrade<ins class="diffchange diffchange-inline">/upgrade.php</ins>''' <ins class="diffchange diffchange-inline">via </ins>the <ins class="diffchange diffchange-inline">command line as follows</ins>:<ins class="diffchange diffchange-inline"><br />&nbsp;&nbsp;&nbsp;</ins>'''<ins class="diffchange diffchange-inline">php </ins>upgrade.php'''<ins class="diffchange diffchange-inline"><br />The upgrade script will detect your </ins>current version <ins class="diffchange diffchange-inline">automatically and will offer an upgrade to the latest </ins>X-Payments version <ins class="diffchange diffchange-inline">available </ins>to you<ins class="diffchange diffchange-inline">. You will only need to confirm your request by entering "y" (Use "n" </ins>to <ins class="diffchange diffchange-inline">cancel </ins>the <ins class="diffchange diffchange-inline">operation)</ins>.<br /><ins class="diffchange diffchange-inline">If necessary, the following parameters may be specified</ins>:<br /></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div><del class="diffchange diffchange-inline">#* changes</del></div></td><td class='diff-marker'>+</td><td style="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;"><div><ins class="diffchange diffchange-inline">#* -vX.X.X - the version to which you want to upgrade</ins>; <ins class="diffchange diffchange-inline">for example, "-v2</ins>.<ins class="diffchange diffchange-inline">2</ins>.0<ins class="diffchange diffchange-inline">";</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div><del class="diffchange diffchange-inline">#* source</del></div></td><td class='diff-marker'>+</td><td style="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;"><div><ins class="diffchange diffchange-inline">#* -oY.Y.Y - the version from which you are upgrading; for example, "-o2</ins>.1.<ins class="diffchange diffchange-inline">3" (This parameter should be used if, for example, the version in the config/config.ini.php file of your X-Payments installation is specified incorrectly);</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div><del class="diffchange diffchange-inline">#* upgrade.php</del></div></td><td class='diff-marker'>+</td><td style="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;"><div><ins class="diffchange diffchange-inline">#* -y - specify this to skip the step where you need to confirm your intention to upgrade (where you need to enter y/n)</ins>.<br /><ins class="diffchange diffchange-inline">For example, to </ins>upgrade <ins class="diffchange diffchange-inline">from version </ins>1.0.<ins class="diffchange diffchange-inline">4 to 1</ins>.0.<ins class="diffchange diffchange-inline">6, you will need to use the command</ins><br />&nbsp;<ins class="diffchange diffchange-inline">&nbsp;&nbsp;'''</ins>php upgrade.php <ins class="diffchange diffchange-inline">-o1</ins>.0<ins class="diffchange diffchange-inline">.4 -v1</ins>.0.<ins class="diffchange diffchange-inline">6'''</ins><br /><ins class="diffchange diffchange-inline">The upgrade script will recognize </ins>the following X-Payments versions: 1.0.3, 1.0.4, 1.0.5, 1.0.6, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.1.3<ins class="diffchange diffchange-inline">, 2.2.0</ins>.<br /><ins class="diffchange diffchange-inline">Note that for </ins>X-Payments <ins class="diffchange diffchange-inline">versions </ins>1.0.3 and 1.0.4 <ins class="diffchange diffchange-inline">you </ins>''<ins class="diffchange diffchange-inline">must</ins>'' <ins class="diffchange diffchange-inline">specify </ins>the version <ins class="diffchange diffchange-inline">from which </ins>you <ins class="diffchange diffchange-inline">are upgrading using </ins>the <ins class="diffchange diffchange-inline">-o parameter, since </ins>the config/config.ini.php file of <ins class="diffchange diffchange-inline">these </ins>versions does not contain the <ins class="diffchange diffchange-inline">version </ins>information upgrade.php expects to find there.<ins class="diffchange diffchange-inline"><br /></ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div><del class="diffchange diffchange-inline"># Run the script </del>'''upgrade.php''' <del class="diffchange diffchange-inline">via the command line specifying the </del>current version <del class="diffchange diffchange-inline">of your </del>X-Payments <del class="diffchange diffchange-inline">installation and the </del>version to <del class="diffchange diffchange-inline">which </del>you <del class="diffchange diffchange-inline">want </del>to <del class="diffchange diffchange-inline">upgrade. Make sure </del>the <del class="diffchange diffchange-inline">destination version is greater than the current one</del>.<br /><del class="diffchange diffchange-inline">For example</del>:<br /><del class="diffchange diffchange-inline">&nbsp</del>; <del class="diffchange diffchange-inline">$ php upgrade</del>.<del class="diffchange diffchange-inline">php 1</del>.0.<del class="diffchange diffchange-inline">5 </del>1.<del class="diffchange diffchange-inline">0</del>.<del class="diffchange diffchange-inline">6</del><br /><del class="diffchange diffchange-inline">&nbsp; $ php </del>upgrade<del class="diffchange diffchange-inline">.php </del>1.0.<del class="diffchange diffchange-inline">6 2</del>.0.<del class="diffchange diffchange-inline">1</del><br />&nbsp; <del class="diffchange diffchange-inline">$ </del>php upgrade.php <del class="diffchange diffchange-inline">2</del>.0.0 <del class="diffchange diffchange-inline">2</del>.<del class="diffchange diffchange-inline">1.3</del><br /><del class="diffchange diffchange-inline"><br />To date, </del>the following X-Payments versions <del class="diffchange diffchange-inline">have been released</del>: 1.0.3, 1.0.4, 1.0.5, 1.0.6, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.1.3<del class="diffchange diffchange-inline">; the script will only recognize the versions specified here</del>.<br /><del class="diffchange diffchange-inline"><br /></del>X-Payments 1.0.3 and 1.0.4 <del class="diffchange diffchange-inline">users may need to add the '--force' option; for example:<br />&nbsp; $ php upgrade.php 1.0.3 2.1.3 --force<br />{{Note1|''</del>'<del class="diffchange diffchange-inline">Note</del>'''<del class="diffchange diffchange-inline">: The upgrade script matches the number of </del>the <del class="diffchange diffchange-inline">current </del>version you <del class="diffchange diffchange-inline">enter against </del>the <del class="diffchange diffchange-inline">version number specified in </del>the config/config.ini.php file of <del class="diffchange diffchange-inline">your X-Payments installation and only continues with the upgrade if the </del>versions <del class="diffchange diffchange-inline">actually match. The config/config.ini.php of X-Payments 1.0.3 and 1.0.4 </del>does not contain the information upgrade.php expects to find there<del class="diffchange diffchange-inline">, so the upgrade process will fail unless you use '--force'</del>.<del class="diffchange diffchange-inline">}}</del></div></td><td class='diff-marker'>+</td><td style="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;"><div><ins class="diffchange diffchange-inline">Once the </ins>script <ins class="diffchange diffchange-inline">is run, it </ins>will create a backup of your X-Payments installation and carry out the upgrade for you.  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div><del class="diffchange diffchange-inline">The </del>script will create a backup of your X-Payments installation and carry out the upgrade for you.  </div></td><td class='diff-marker'>+</td><td style="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;"><div><ins class="diffchange diffchange-inline">After upgrading </ins>has been completed, <ins class="diffchange diffchange-inline">be sure to </ins>remove the directory '''<xpay-dir>/upgrade/''' (That is done for security purposes; remember that X-Payments must be a stand alone service on a separate server, so you must not keep other applications - including the upgrade script - on the same server while using it).</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="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;"><div><del class="diffchange diffchange-inline">Once the upgrade process </del>has been completed, remove the directory '''<xpay-dir>/upgrade/''' (That is done for security purposes; remember that X-Payments must be a stand alone service on a separate server, so you must not keep other applications - including the upgrade script - on the same server while using it).</div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>In case of any issues, you can find your backup in the directory '''<xpay-dir>/var/backup/'''.</div></td><td class='diff-marker'> </td><td style="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;"><div>In case of any issues, you can find your backup in the directory '''<xpay-dir>/var/backup/'''.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l18" >Line 18:</td>
<td colspan="2" class="diff-lineno">Line 17:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div><noinclude>{{pdf_single}}</noinclude></div></td><td class='diff-marker'> </td><td style="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;"><div><noinclude>{{pdf_single}}</noinclude></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>[[Category:X-Payments User Manual]]</div></td><td class='diff-marker'> </td><td style="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;"><div>[[Category:X-Payments User Manual]]</div></td></tr>
</table>Dohturhttps://www.x-payments.com/help/?title=X-Payments:Upgrading&diff=45&oldid=prevDohtur: Created page with "<noinclude>{{XP manual TOC}}</noinclude> Upgrading is done with the help of a special upgrade pack. If you are using a downloadable version of X-Payments, and your license all..."2015-06-30T16:19:15Z<p>Created page with "<noinclude>{{XP manual TOC}}</noinclude> Upgrading is done with the help of a special upgrade pack. If you are using a downloadable version of X-Payments, and your license all..."</p>
<p><b>New page</b></p><div><noinclude>{{XP manual TOC}}</noinclude><br />
Upgrading is done with the help of a special upgrade pack. If you are using a downloadable version of X-Payments, and your license allows you to upgrade to later versions, you will find this pack in the <u>File area</u> section of your {{QA}} (Look for a file named like '''upgrade.pack.xp.2.1.1.zip''' (ZIP-archive) or '''upgrade.pack.xp.2.1.1.tgz''' (TGZ-archive)). <br />
<br /><br /><br />
'''To upgrade X-Payments, complete the following steps:'''<br />
# Download the X-Payments upgrade pack. <br />
# Connect to your X-Payments server via SSH.<br />
# Create a directory '''<xpay-dir>/upgrade'''.<br />
# Extract the X-Payments upgrade pack that you downloaded and upload the extracted pack contents to the directory '''<xpay-dir>/upgrade''' that you created at the previous step. The directory should now contain the following items:<br />
#* changes<br />
#* source<br />
#* upgrade.php<br />
# Run the script '''upgrade.php''' via the command line specifying the current version of your X-Payments installation and the version to which you want to upgrade. Make sure the destination version is greater than the current one.<br />For example:<br />&nbsp; $ php upgrade.php 1.0.5 1.0.6<br />&nbsp; $ php upgrade.php 1.0.6 2.0.1<br />&nbsp; $ php upgrade.php 2.0.0 2.1.3<br /><br />To date, the following X-Payments versions have been released: 1.0.3, 1.0.4, 1.0.5, 1.0.6, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.1.3; the script will only recognize the versions specified here.<br /><br />X-Payments 1.0.3 and 1.0.4 users may need to add the '--force' option; for example:<br />&nbsp; $ php upgrade.php 1.0.3 2.1.3 --force<br />{{Note1|'''Note''': The upgrade script matches the number of the current version you enter against the version number specified in the config/config.ini.php file of your X-Payments installation and only continues with the upgrade if the versions actually match. The config/config.ini.php of X-Payments 1.0.3 and 1.0.4 does not contain the information upgrade.php expects to find there, so the upgrade process will fail unless you use '--force'.}}<br />
The script will create a backup of your X-Payments installation and carry out the upgrade for you. <br />
Once the upgrade process has been completed, remove the directory '''<xpay-dir>/upgrade/''' (That is done for security purposes; remember that X-Payments must be a stand alone service on a separate server, so you must not keep other applications - including the upgrade script - on the same server while using it).<br />
<br />
In case of any issues, you can find your backup in the directory '''<xpay-dir>/var/backup/'''.<br />
<br />
<br />
<noinclude>{{pdf_single}}</noinclude><br />
<br />
[[Category:X-Payments User Manual]]</div>Dohtur