Upgrade from 3.2.0.alpha to 3.2.1
- The site is located on localhost, IIS on Windows 7(64). (Joomla! 3.2.0.alpha Alpha [ Ember ] 10-September-2013 14:00 GMT)
- System Directory Permissions reports all Writable
- Components, Joomla Update,
http://joomlacode.org/gf/download/frsre ... ackage.zip
ERROR:
The archive file is corrupt, truncated or archive parts are missing
- Discovered that configuration.php had relative paths to tmp and log
- Restored backup and made paths to tmp and log folders absolute
- Components, Joomla Update,
http://joomlacode.org/gf/download/frsre ... ackage.zip
- Redirected to:
http://localhost/skadedyr32/administrat ... e.finalise
Fatal error: Call to undefined method JApplicationHelper::getHash() in C:\inetpub\wwwroot\skadedyr32\libraries\cms\application\cms.php on line 637
- Restored backup
- Followed the instructions for manual upgrade on:
http://docs.joomla.org/J3.2:Upgrading_f ... al_Upgrade
- After manual upgrade:
http://localhost/skadedyr32/administrator/
Fatal error: Call to undefined method JApplicationHelper::getHash() in C:\inetpub\wwwroot\skadedyr32\libraries\cms\application\cms.php on line 637
Backup is not cowardly or redundant!!
Edit:
The error is caused by 3.2.1 code in libraries\cms\application\cms.php calling JApplicationHelper::getHash()
JApplicationHelper class is defined in libraries\legacy\application\helper.php (3.2.0.alpha) and
has no function getHash()
libraries\legacy\application\application.php (3.2.1, JApplication class), line 917, public static function getHash($seed) has a leading comment:
* @deprecated 4.0 Use JApplicationHelper::getHash instead
and the code is: return JApplicationHelper::getHash($seed);
Seems to me that a new JApplicationHelper class (libraries\legacy\application\helper.php) is missing in Joomla_3.2.x_to_3.2.1-Stable-Patch_Package.zip
Edit II:
I installed the full 3.2.1 package and checked the libraries\cms\application folder which had helper.php and default index.html not found in the patch-package
After I copied those files and reloaded
http://localhost/skadedyr32/administrat ... e.finalise I received:
Fatal error: Class 'JResponse' not found in C:\inetpub\wwwroot\skadedyr32\plugins\system\p3p\p3p.php on line 35
After copying the folder libraries\legacy\response I reloaded again and received a 404 due to bad redirect to
http://localhost/index.php?option=com_j ... te.cleanup (missing sitename)
Fixed the url and reloaded: localhost/skadedyr32.no/index.php?option=com_joomlaupdate&task=update.cleanup
Fatal error: Class 'JPluginHelper' not found in C:\inetpub\wwwroot\skadedyr32\libraries\cms\application\site.php on line 544
Copied folder libraries\cms\plugin and reloaded:
Fatal error: Class 'JModuleHelper' not found in C:\inetpub\wwwroot\skadedyr32\libraries\joomla\document\html\renderer\modules.php on line 37
Copied folder libraries\cms\module and reloaded:
http://localhost/skadedyr32/index.php?o ... te.cleanup
Received 404 on Joomla error page
Clicked Homepage
Fatal error: Class 'JSite' not found in C:\inetpub\wwwroot\skadedyr32\modules\mod_menu\helper.php on line 104
Copied folder modules\mod_menu
Received my front-end !!!
Conclusion 1:
Joomla_3.2.x_to_3.2.1-Stable-Patch_Package.zip are missing:
- files libraries\cms\application\helper.php and default index.html
file modules\mod_menu\helper.php changes
folder libraries\legacy\response
folder libraries\cms\plugin
folder libraries\cms\module
Changed to administrator and received:
Fatal error: Call to undefined method JCrypt::timingSafeCompare() in C:\inetpub\wwwroot\skadedyr32\libraries\joomla\user\helper.php on line 376
More debugging required!!!!