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.

joms.extend is not a function - tabs not working

7 years 6 months ago
Licenses:
JomSocial Active

ISSUE SUMMARY:
I upgraded joomla to latest version recently which broke Jomsocial 3.2.1.4. So I have been forced to update Jomsocial to the latest version. After several issues during upgrading I have now managed to get a working install of Jomsocial 4.2.5.

However, the tabs on the jomsocial front page don't work. They are stuck on Events, and you can't switch to Groups / Members etc.

Chrome developer console shows these errors:
script-1.2.min.js:1 Uncaught TypeError: joms.extend is not a function
community.html:32 Uncaught TypeError: Cannot read property 'bind' of undefined
community.html:401 Uncaught TypeError: joms.onStart is not a function
community.html:707 Uncaught TypeError: Cannot read property 'bind' of undefined
loader.js:1 Uncaught TypeError: Cannot read property 'script' of undefined

I have seen other forum posts with the same errors but did not find any solutions.

I am doing this upgrade on the migrate. subdomain, which is a copy of the live www. subdomain, as a test. Once it is working, I will need to replicate the fix with the live site, so whatever you do that makes this work, please tell me so that I can replicate it with the live data.

STEPS TO REPLICATE:
1 Visit /about/community.html
2 Try to click on the Groups tab
3 Fail
RESULT
Still on Events tab
EXPECTED RESULT
Go to Groups tab
BROWSER
Chrome & Firefox, probably all

7 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Darren,

This issue caused by module members and module videos, i am sure that module is coming from old Jomsocial version right? because that is not our newest official module, please check that module by yourself, I am sure you modified them :)

For time being, I disabled those modules

cheers!

7 years 6 months ago
Licenses:
JomSocial Active

I have not changed those modules since updating to the latest version of jomsocial using iJoomla. Is there a way of manually updating those modules so they will be the standard latest version?

FYI, I have carried that fix across to the live site and it is working, thank you.

7 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

FYI, I have carried that fix across to the live site and it is working, thank you.

so everything is fine now? if so I will close this

7 years 6 months ago
Licenses:
JomSocial Active

No, the tabs that are there are working, but I no longer have tabs for videos or members.

I have not changed those modules since updating to the latest version of jomsocial using iJoomla. Is there a way of manually updating those modules so they will be the standard latest version?


How do I get them back?

7 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Yes, because I was disable it.. I think you have override module template so makes this issue happes..

I wanna check the code direcly but it seems your FTP access is not working.. can you check again please?

Status:      	Connection established, waiting for welcome message...
Status:      	Initializing TLS...
Status:      	Verifying certificate...
Status:      	TLS connection established.
Status:      	Connected
Status:      	Retrieving directory listing...
Status:      	Server sent passive reply with unroutable address. Using server address instead.

Or maybe you provide me cpanel access..

thank you!

7 years 6 months ago
Licenses:
JomSocial Active

Hi,

If you use plain FTP, no TLS it works for me.

Status: Connecting to **REMOVED**:21...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.5b Server (ProFTPD) [192.168.101.194]
Command: USER **REMOVED**
Response: 331 Password required for **REMOVED**
Command: PASS *************
Response: 230 User **REMOVED** logged in
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MFF modify;UNIX.group;UNIX.mode;
Response: REST STREAM
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response: UTF8
Response: LANG en-US*
Response: EPRT
Response: EPSV
Response: MDTM
Response: SSCN
Response: TVFS
Response: MFMT
Response: SIZE
Response: PROT
Response: CCC
Response: PBSZ
Response: AUTH TLS
Response: 211 End
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (**REMOVED**,141,34).
Command: MLSD
Response: 150 Opening BINARY mode data connection for MLSD
Response: 226 Transfer complete
Status: Directory listing successful


It's possible that something is overriding that module, I inherited this site rather than created it so there's lots I don't know about it. But I haven't changed anything since updating Jomsocial.

7 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Darren,


Please check again, I already update those modules to the latest version..

thank you!

7 years 6 months ago
Licenses:
JomSocial Active

Thanks, that has worked great on the migrate domain. Please can you tell me what you did so that I can replicate the fix on the live site?

7 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

You only need to copy the modules mod_community_videos and mod_community_members to your live server.. or you can download those package from here
www.dropbox.com/s/hbdkdqsbp3hddk2/mod_community_videos.zip?dl=0
www.dropbox.com/s/0e1tc626ju81940/mod_co...ity_members.zip?dl=0

7 years 6 months ago
Licenses:
JomSocial Active

That's great, I'm all up and running now. Thank you.

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