Difference between revisions of "Traditional Installation"

(Translations)
(Known Upgrade Errors)
Line 51: Line 51:
  
 
===<font color=cornflowerblue>Known Upgrade Errors</font>===
 
===<font color=cornflowerblue>Known Upgrade Errors</font>===
 +
 
'''There was an error uploading this file to the server.'''<br/>
 
'''There was an error uploading this file to the server.'''<br/>
 
Some shared servers limit the size of uploaded files to a mere 2MB. The JomSocial component exceeds this limit so you will have to increase two (2) php.ini settings to be at least 4MB. If you are not sure on how to do this, please consult your webhosting provider for assistance.
 
Some shared servers limit the size of uploaded files to a mere 2MB. The JomSocial component exceeds this limit so you will have to increase two (2) php.ini settings to be at least 4MB. If you are not sure on how to do this, please consult your webhosting provider for assistance.
upload_max_filesize = 4M  ; Maximum allowed size for uploaded files.
+
# upload_max_filesize = 4M  ; Maximum allowed size for uploaded files.
post_max_size = 4M ; Maximum size of POST data that PHP will accept.
+
# post_max_size = 4M ; Maximum size of POST data that PHP will accept.
  
 
'''ERROR: Could not find an XML setup file in the package.''' <br/>
 
'''ERROR: Could not find an XML setup file in the package.''' <br/>
 
Make sure you have unpacked com_community_pro_unzip_first_(''VERSION'').zip before installing the package. You will see four files:<br/>
 
Make sure you have unpacked com_community_pro_unzip_first_(''VERSION'').zip before installing the package. You will see four files:<br/>
apps_unzip_first_version.zip
+
# apps_unzip_first_version.zip
'''com_community_pro_version.zip (Use this file to install JomSocial)'''
+
# '''com_community_pro_version.zip (Use this file to install JomSocial)'''
modules_unzip_first_version.zip
+
# modules_unzip_first_version.zip
ReadMe.txt
+
# ReadMe.txt

Revision as of 05:08, 9 March 2013

IMPORTANT!!! This page explains how to upgrade by using the installation package. If you want to learn how to upgrade using patch files, please click here

Upgrading to JomSocial 2.8.x

Before doing anything major to your site, always create a full site backup (files + database). A few minutes of inconvenience can potentially save you hours of headaches and a poorly- or non-functioning site until the issues have been resolved. We recommend that you use this extension for maintaining backups: Akeeba Backup. You can learn more about creating a Joomla backup by reading this documentation. If you find it too inconvenient to do a complete backup of all your files, at the very least, please have backups of:

  • {root}/components/com_community
  • {root}/administrator/components/com_community
  • {root}/templates/mycurrentdirectory/html/com_community
  • {root}/plugins/community

Make sure you are running at least PHP 5.3 Joomla 2.5.6 or above, the max_upload in php.ini is greater than 4MB, and most importantly Joomla is running well, i.e. regular installation of other extensions work flawlessly. Read our system requirement before you proceed.

Go to Administration -> Help > System Info -> Directory Permission and make sure everything is Green.

Directory.jpg

Be assured that

  1. Upgrading JomSocial will never delete community information that is stored in the database, such as profile fields, friends, avatars, images, videos, etc. In other words, everything on your community will stay as is.
  2. It will not interfere with non-JomSocial database tables.

WARNING

  • All template customizations which do not follow our template override instructions will be deleted.
  • All template overrides need to be updated; otherwise you will have a crippled JomSocial with limited JomSocial 2.8 functionality. Please consult your template developer(s) for updates.
  • All modifications to any file in /components/com_community and /administrator/components/com_community will be deleted.
  • Third party extensions that rely on hacking JomSocial template/core code to work, will likely fail after the upgrade. You will have to redo the hacks (documenting your hacks for personal reference would always help you greatly in the future).
  • Always consult third-party developers for updated version of their plugins.

Starting the Upgrade

  1. Uninstall the older JomSocial version by going to Extensions > Extensions Manager, select Manage, select JomSocial/Community, click Uninstall.
  2. Install the latest JomSocial 2.8.x

It really is that simple! ;)

Upgrading Official Modules and Plugins

Install the latest version of modules/plugins on top of the older version.

Third Party Modules and Plugins

Please consult the developer for an updated version, if necessary.

Translations

With the new features and enhancements which are part of the new JomSocial releases, there will be a number of new language strings in JomSocial.

The Frontend language file is stored in:

  • /language/en-Gb/en-Gb.com_community.ini

The Backend language file is stored in:

  • /administrator/language/en-Gb/en-Gb.com_community.ini

The Modules language file is stored in:

  • /language/en-Gb

The Applications & Plugins language file is stored in:

  • /administrator/language/en-Gb

Known Upgrade Errors

There was an error uploading this file to the server.
Some shared servers limit the size of uploaded files to a mere 2MB. The JomSocial component exceeds this limit so you will have to increase two (2) php.ini settings to be at least 4MB. If you are not sure on how to do this, please consult your webhosting provider for assistance.

  1. upload_max_filesize = 4M  ; Maximum allowed size for uploaded files.
  2. post_max_size = 4M ; Maximum size of POST data that PHP will accept.

ERROR: Could not find an XML setup file in the package.
Make sure you have unpacked com_community_pro_unzip_first_(VERSION).zip before installing the package. You will see four files:

  1. apps_unzip_first_version.zip
  2. com_community_pro_version.zip (Use this file to install JomSocial)
  3. modules_unzip_first_version.zip
  4. ReadMe.txt