Updating 2.0.18.1 To 2.3.0

866 views
813 views

Published on

What I Did When I Updated XooPS 2.0.18.1 To 2.3.0

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
866
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Updating 2.0.18.1 To 2.3.0

  1. 1. Upgrading from XOOPS 2.0.* above 2.0.14 and 2.2.* (using the full package) Bandit.S. [email_address]
  2. 2. <ul><li>Download the package. </li></ul><ul><li>Read the directions. </li></ul>Http://www.XOOPS.org
  3. 3. <ul><li>#### STEPS #### </li></ul><ul><li>Move the &quot;upgrade&quot; folder inside the &quot;htdocs&quot; folder (it's been kept out as it's not needed for full installs) on your local machine </li></ul><ul><li>Delete htdocs/mainfile.php, htdocs/install/, htdocs/cache/, htdocs/extras/, htdocs/template_c/, htdocs/themes/ and htdocs/uploads/ from the &quot;htdocs&quot; folder on your LOCAL machine </li></ul><ul><li>Upload the content of the htdocs folder on your LOCAL machine over your existing files on your server </li></ul><ul><li>For security considerations, you are encouraged to move directories xoops_lib (for XOOPS libraries) and xoops_data (for XOOPS data) out of document root, or even change the folder names. </li></ul><ul><li>Make the directory of xoops_data/ writable; Create and make the directories of xoops_data/caches/, xoops_data/caches/xoops_cache/, xoops_data/caches/smarty_cache/ and xoops_data/caches/smarty_compile/ writable. </li></ul><ul><li>Ensure the server can write to mainfile.php </li></ul><ul><li>Access /upgrade/ with a browser, and follow the instructions </li></ul><ul><li>Follow the instructions to update your database </li></ul><ul><li>Write-protect mainfile.php again </li></ul><ul><li>Delete the upgrade folder from your server </li></ul><ul><li>Update the &quot;system&quot; module from the modules administration interface, other modules are recommended to update as well </li></ul>
  4. 7. <ul><li>Folders: </li></ul><ul><li>htdocs/install/ </li></ul><ul><li>htdocs/cache/ </li></ul><ul><li>htdocs/extras/ </li></ul><ul><li>htdocs/template_c/ </li></ul><ul><li>htdocs/themes/ </li></ul><ul><li>htdocs/uploads/ </li></ul><ul><li>File: </li></ul><ul><li>htdocs/mainfile.php </li></ul>
  5. 9. Folders : xoops_data and xoops_lib Move the folders and make a note of the path of where you place them. xoops_data is the ‘XOOPS_VAR_PATH’ constant xoops_lib is the ‘XOOPS_PATH’ constant If you rename your folders it is useful to remember that.
  6. 10. xoops_data/ xoops_data/caches/ xoops_data/caches/xoops_cache/ xoops_data/caches/smarty_cache/ xoops_data/caches/smarty_compile/ Make the following folders writeable Folders:
  7. 11. I also saved a backup, incase I needed a backup of that file Writeable
  8. 12. Below is the error message you see if you don’t go to the upgrade folder. With your browser go to the url where the uploaded upgrade folder is located at.
  9. 13. Click on ‘Proceed to upgrade’
  10. 14. Screenshot of the upgrading
  11. 15. Screenshot of the upgrading
  12. 16. Screenshot of the upgrading
  13. 17. Chmod mainfile.php to 444 (Read Only) Read-only

×