2
When i try upgrade from 2.0.16 to latest 2.0.17.1, i follow the upgrade instructions:
1. Move the "upgrade" folder inside the "htdocs" folder (it's been kept out as it's not needed for full installs)> Done
2. Delete htdocs/mainfile.php, htdocs/install/, htdocs/cache/, htdocs/template_c/, htdocs/themes/ and htdocs/uploads/> Most strage is to delete Themes and Uploads folder. The some files from another modules are stored in Uploads folder. Why should i delete it? Very bad advice. I have own theme, thus i cannot delete whole directory. Deleting mainfile.php is also idiotic, because you lost DB settings, which you need for upgrade process. Why!!!
3. Upload the content of the htdocs folder over your existing files> Done.
4. Access < your.site.url >/upgrade/ with a browser, and follow the instructions> Bang! It doesn't works. It suddenly jump to < your.site.url >/upgrade/install/index.php which is NOT here! The script is useless! Then after some tries i discovered the file mainfile.php MUST not deleted. Or i must put it back after step 3. Without mainfile.php, upgrade process is not possible. But you can fix the mainfile.php with < your.site.url >, which jumps automatically to install page. Fill the DB settings and it build new mainfile.php. Now you can skip another steps and go to /upgrade/. The upgrade process is now possible.
5. Follow the instructions to update your database> No problem after fixing mainfile.php
6. Delete the upgrade folder> yes yes....
You can see, i follow exactly your XOOPS upgrade instructions, but it has serious faults. Deleting mainfile.php cause errors by upgrade process, it jumps to install mode, and it gives white page! It's really stupid joke. And why delete whole Uploads folder? No thank you! If it has megabyes data, i don't want delete it. Idiotic advice.
Please give me explainations why i must delete mainfile.php and Uploads folder? Well?