Jasa Pembuatan Aplikasi Murah Berkualitas
konsultasi gratis sekarang

Upgrading Joomla 3.2.x to 3.2.4

Published on Sunday, May 11, 2014

Today I tried to upgrade my local Joomla site from Joomla 3.2.1 to Joomla 3.2.4 using Joomla_3.2.x_to_3.2.4-Stable-Patch_Package.zip and Voilà I got this error message on my Joomla admin page: Fatal error: Class ‘FOFUtilsObject’ not found in /joomlapath/libraries/fof/model/model.php on line 23. Then I tried to open the Joomla admin page using different browser and I got the Joomla: An error has occurred error message. So I try to fix this error using the technique described in my previous post  and I know the source of the problem is :

Exception:DirectoryIterator::__construct(/joomlapath/libraries/fof/platform/../integration): failed to open dir: Permission denied
string(2849) "#0 /joomlapath/libraries/fof/platform/platform.php(175)

so I try to check the directory permission of /joomlapath/libraries/fof/platform/integration folder and I got: 

drwx------  3 aldo aldo  4096 May 11 09:39 integration

ok so I just need to chmod 755 integration/ and I thought everything will be OK. And I try to refresh the Joomla admin page and I got a new error message:

Fatal error: Call to a member function importPlugin() on a non-object in /joomlapath/administrator/components/com_users/helpers/users.php on line 202 

Something is not right in here why there are so many error when upgrading Joomla 3.2.1 to Joomla 3.2.4? and you will know why this happen after you check all directory permission in Joomla_3.2.x_to_3.2.4-Stable-Patch_Package.zip

aldo@aldo-desktop ~/Downloads/joomla/Joomla_3.2.x_to_3.2.4-Stable-Patch_Package $ ls -al
total 128
drwxr-xr-x 18 aldo aldo  4096 May 11 11:54 .
drwxr-xr-x 10 aldo aldo  4096 May 11 11:54 ..
drwx------  9 aldo aldo  4096 May 11 11:54 administrator
drwx------  2 aldo aldo  4096 May 11 11:54 bin
drwx------  2 aldo aldo  4096 May 11 11:54 cache
drwx------  2 aldo aldo  4096 May 11 11:54 cli
drwx------ 17 aldo aldo  4096 May 11 11:54 components
-rw-r--r--  1 aldo aldo  3123 Apr 30 19:41 htaccess.txt
drwx------  2 aldo aldo  4096 May 11 11:54 images
drwx------  2 aldo aldo  4096 May 11 11:54 includes
-rw-r--r--  1 aldo aldo  1011 Apr 30 19:41 index.php
-rw-r--r--  1 aldo aldo  1906 Apr 30 19:42 joomla.xml
drwx------  3 aldo aldo  4096 May 11 11:54 language
drwx------  4 aldo aldo  4096 May 11 11:54 layouts
drwx------ 11 aldo aldo  4096 May 11 11:54 libraries
-rw-r--r--  1 aldo aldo 17816 Apr 30 19:41 LICENSE.txt
drwx------  2 aldo aldo  4096 May 11 11:54 logs
drwx------ 11 aldo aldo  4096 May 11 11:54 media
drwx------ 28 aldo aldo  4096 May 11 11:54 modules
drwx------ 14 aldo aldo  4096 May 11 11:54 plugins
-rw-r--r--  1 aldo aldo  4950 Apr 30 19:41 README.md
-rw-r--r--  1 aldo aldo  4300 Apr 30 19:41 README.txt
-rw-r--r--  1 aldo aldo   882 Apr 30 19:41 robots.txt.dist
drwx------  5 aldo aldo  4096 May 11 11:54 templates
drwx------  2 aldo aldo  4096 May 11 11:54 tmp
-rw-r--r--  1 aldo aldo  1715 Apr 30 19:41 web.config.txt

As you can see all these folders do not have read and execute privileges, so all you have to do is run this command:

find /Joomla_3.2.x_to_3.2.4-Stable-Patch_Package-extraction-path/ -type d -exec chmod 755 {} +

And copy all folders and files to your Joomla 3.2.x folder 

Bagikan


Tags