Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Upgrade 3.0 -> 3.1 failed, but no errors given until after install complete

10 years 1 month ago
  • stuart's Avatar
    Topic Author
  • stuart
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

Hello,

I'm Murray, a software developer working for Stuart Peden, the account holder.

I have been asked to upgrade perthssc.com JomSocial from 3.0 to the most current version. Unfortunately, while the installation process completes without error, JomSocial is not installed correctly.

I have tried to install via the iJoomla Installer and a manual upload of the 3.1 installer. Both give the same result.

I have uninstalled the previous JomSocial components before upgrading.

The error message I get is as follows, when I try to access the JomSocial admin component after the installation ( www.perthssc.com/administrator/index.php?option=com_community ):

Warning: require_once(/home/perthssc/public_html/components/com_community/libraries/core.php): failed to open stream: No such file or directory in /home/perthssc/public_html/administrator/components/com_community/community.php on line 71

Fatal error: require_once(): Failed opening required '/home/perthssc/public_html/components/com_community/libraries/core.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/perthssc/public_html/administrator/components/com_community/community.php on line 71


In my investigation of the issue, I found that several .zip files were not unpacked during the installation, resulting in the above required file not existing:
root@abc[home/perthssc/public_html/administrator/components/com_community]# ls -al
total 1500
drwxr-xr-x  5 perthssc perthssc    4096 Mar 19 10:20 ./
drwxr-xr-x 32 perthssc perthssc    4096 Mar 19 10:20 ../
-rw-r--r--  1 perthssc perthssc 1293196 Mar 19 10:20 backend.zip
-rw-r--r--  1 perthssc perthssc    2424 Mar 19 10:20 box.jpg
-rw-r--r--  1 perthssc perthssc    7605 Mar 19 10:20 community.php
-rw-r--r--  1 perthssc perthssc    1985 Mar 19 10:20 community.xml
drwxr-xr-x  2 perthssc perthssc    4096 Mar 19 10:20 controllers/
-rw-r--r--  1 perthssc perthssc   27368 Mar 19 10:20 defaultItems.php
-rw-r--r--  1 perthssc perthssc  142246 Mar 19 10:20 hash.ini
-rw-r--r--  1 perthssc perthssc    3868 Mar 19 10:20 install.community3.0.php
drwxr-xr-x  5 perthssc perthssc    4096 Mar 19 10:20 installer/
-rw-r--r--  1 perthssc perthssc   12291 Mar 19 10:20 installer.template.php
-rw-r--r--  1 perthssc perthssc   12133 Mar 19 10:20 installer.updater.php
drwxr-xr-x  2 perthssc perthssc    4096 Mar 19 10:20 models/
root@abc[/home/perthssc/public_html/administrator/components/com_community]#



root@abc[/home/perthssc/public_html/components/com_community]# ls -al
total 4772
drwxr-xr-x  3 perthssc perthssc    4096 Mar 19 10:20 ./
drwxr-xr-x 18 perthssc perthssc    4096 Mar 19 10:20 ../
-rw-r--r--  1 perthssc perthssc   20900 Mar 19 10:20 ai_plugin.zip
-rw-r--r--  1 perthssc perthssc   74592 Mar 19 10:20 all_modules.zip
-rw-r--r--  1 perthssc perthssc  235780 Mar 19 10:20 all_plugins.zip
-rw-r--r--  1 perthssc perthssc   27840 Mar 19 10:20 azrul.zip
-rw-r--r--  1 perthssc perthssc 3212492 Mar 19 10:20 frontend.zip
drwxr-xr-x  2 perthssc perthssc    4096 Mar 19 10:20 libraries/
-rw-r--r--  1 perthssc perthssc 1287122 Mar 19 10:20 templates.zip
root@abc[/home/perthssc/public_html/components/com_community]#


Looking into some of the installer.php code (from admin/controllers/installer.php), some of this kind of code is rather disturbing, as it seems to be ignoring errors:
			if ( ! $installer->install($package['dir']))
			{
			// There was an error installing the package

			}

I'd appreciate any help you can give resolving this issue.
Murray

10 years 1 month ago
  • David's Avatar
  • David
  • Visitor
  • Thank you received: 0
Licenses:

Hi Murray,

I have been updated your jomsocial version to 3.1.1 (latest version).. after installation i didn't see any error like below when i go to jomsocial backend.. i have been changed error reporting to developement.. :)

Warning: require_once(/home/perthssc/public_html/components/com_community/libraries/core.php): failed to open stream: No such file or directory in /home/perthssc/public_html/administrator/components/com_community/community.php on line 71
 
Fatal error: require_once(): Failed opening required '/home/perthssc/public_html/components/com_community/libraries/core.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/perthssc/public_html/administrator/components/com_community/community.php on line 71

Warm Regards,

David

10 years 1 month ago
  • stuart's Avatar
    Topic Author
  • stuart
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi David,

Thanks for whatever magic you worked!

Two small extra bits of information you may want to store away for future reference:

  • The 3.0 -> 3.1 upgrade immediately followed a 2.8 -> 3.0 upgrade (which worked fine)
  • I was using IE11 (worked fine with 2.8 -> 3.0)


Anyway, I'll go quietly and let you mark this as resolved.
Murray

10 years 1 month ago
  • David's Avatar
  • David
  • Visitor
  • Thank you received: 0
Licenses:

Hi Murray,

You're welcome, but to be honest i hate IE (LoL) IE has different structure than other modern browser, it makes our developer work twice :D

Warm Regards,

David

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW