Jomsocial works on
www.heartslovefree.com
, but not on
da.heartslovefree.com
. So how do I fix this?
For example i get an "Undefined error" on
da.heartslovefree.com/user-registration
, when I type user name!
When logged in on
da.heartslovefree.com
the notifications button etc. are just loading and loading... and don't seem too work!
Hi, Hans.
It's one and the same Joomla! but just have different domains?
How domains are done and redirected?
Do you use 3rd party extension for that?
(01). It is the same Joomla translated on subdomains into 82 languages.
(02).
gtranslate.net/docs/54-joomla-module-documentation
Hi, Hans.
Hmm, I never used that service before.
I assign developer to this thread.
Hi Hans,
Jomsocial is not supported with GTranslate component, caused by subdomain issue and this subdomain is not real path, just use parking method, right? because the main URL action still redirect to the main site heartslovefree.com, the eg :
1. what do you mean by parking method?
2. GTranslate no longer support normal translation, but Enterprise only which is a subdomain solution.
3. My subdomains are already indexed and generating trafic, therefore i can't go back but forward.
NOTE: Below is a thread from:
www.sourcecoast.com/forums/non-commercia...orking-on-subdomains
It basically comes up with a fix, so I am thinking that the solution is similar, therefore point me in the right direction as shown below:
Re: SCLogin button not working on subdomains!
Oct-22-15 21:13:24
That line of code is in the /modules/mod_sclogin/helper.php file at line 153. You'll see something like:
Code:
sclogin.base = '" . JURI::base() . "';\n"
Per their instructions, change it to:
Code:
sclogin.base = '" . JURI::base(true) . "';\n"
We use JURI::base(true) in other sections of our code, and that should work, but you'll want to make sure you try from various different URLs on your site since a relative path may have issues with SEF URLs.
Keep us posted on how that goes.
Thanks,
Alex
Hi GTranslate, points to one of their customers, who has an out dated Jomsocial version by saying it is related to the JavaScript variables :
var jax_live_site = '
www.thevenusproject.com/index.php
';
should be
var jax_live_site = '/index.php';
NOTE: jax_live_site apears 7 times in following paths, so just tell me how to modify these .js files:
1.
www.heartslovefree.com/components/com_co.../assets/joms.ajax.js
(1 hit)
2.
www.heartslovefree.com/components/com_co...release/js/bundle.js
(1 hit)
3.
www.heartslovefree.com/components/com_community/assets/release
32/js/bundle.js (2 hits)
4.
www.heartslovefree.com/components/com_community/assets/release
32/js/bundle.src..js (2 hits)
5.
www.heartslovefree.com/components/com_co...ts/source/js/core.js
(1 hit)
Hi Hans,
Can you provide me FTP access, please?
thank you!
Here you go, check backend!
Hi Hans,
I just fix this issue, I changed this file plugins/system/jomsocial.system/pc_includes/ajax.php line 369
thank you!
Yup, it works perfect when Re-captcha is disabled!
When enabled re-captcha form is not working any longer, because it is not visible anymore. Yet when clicking next under registration i get this error.
Error
The Captcha code does not match. Please try again.
Plus in the backend "User Engagement & Statistics" is no longer working, because it is just loading and loading!
Hi Hans,
Seems this is different issue, not related with subdomain translation, since the subdomain issue already fixed by modify ajax.php.
So please you create new topic for it.
thank you!
It is caused by the change you made to this file:
plugins/system/jomsocial.system/pc_includes/ajax.php line 369
NOTE: Before the change re-captcha and in the backend of Jomsocial > "User Engagement & Statistics" worked perfect! So it is related.
Sorry, my bad your code works.