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.

Subdomains generated by Google Translate

10 years 9 months ago
Licenses:
JomSocial Active

Original code:
$reqURI = $this->_fixLangSwitcher($reqURI);

Replaced with:
$reqURI = $_SERVER;//$this->_fixLangSwitcher($reqURI);

Thanks for the support!

10 years 9 months ago
Licenses:
JomSocial Active

Your code does not affect ReCaptcha, but it does affect the backend of Jomsocial:

In the backend "User Engagement & Statistics" works perfect with original code ($reqURI = $this->_fixLangSwitcher($reqURI);), but not with your new code ($reqURI = $_SERVER;//$this->_fixLangSwitcher($reqURI);)!

I am 100% certain

10 years 9 months ago
Licenses:
JomSocial Active

Suddenly www.heartslovefree.com/user-registration is not working when I press next. It keeps saying "Session expired. Please try again later" or "Invalid token".

So what has changed?

10 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Hans,

I already fix the dahsboard issue,

regarding register issue, I already use the original code and still not working.. I found you are using javascript compression plugin, right? if yes can you disabled it?




the original code should be like this :



thank you!

Attachments:
10 years 9 months ago
Licenses:
JomSocial Active

I have disabled the compression plugin and now it works on www but not on subdomains!
I am getting "Undefined error" on subdomains such as da.heartslovefree.com/user-registration , when i type USERNAME etc.

10 years 9 months ago
Licenses:
JomSocial Active

TIP: Maybe this is the way to go about this issue!

RE: GTRANSLATE AND JOMSOCIAL COMPATIBILITY ISSUES!!!
New postby Edvard » Sat Jan 09, 2016 6:05 pm

Hi,

Please find my answers below:

Yes, other domains are proxied to the main domain.
You can find a current selected language from this variable: $_SERVER and determine the current domain.

Thanks!
- See more at: gtranslate.net/forum/gtranslate-and-joms...sthash.jies9KVR.dpuf

CHECK SOLUTIONS, especially result number 01.:
www.google.dk/webhp?sourceid=chrome-inst...on%20proxy%20domains

10 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

aah good input, thank you, I changed the code to be like this :

if(isset($_SERVER['HTTP_X_GT_LANG'])){
            $reqURI = 'http://'.$_SERVER['HTTP_X_GT_LANG'].'.'.$_SERVER['SERVER_NAME'];
        }

I hope it will be totally fixed..

10 years 9 months ago
Licenses:
JomSocial Active

It works GREAT eventhough there are a couple of minor issues remaining, but i think i can live with them... for now.

Except for This page ( www.heartslovefree.com/customer-serviceis ) is giving a warning message, but i am not sure if its you who caused it or the developer from FreiChat, however can you determine why it is warning me and maybe how to fix it back:

Strict Standards: Only variables should be assigned by reference in /home/simtanda/public_html/heartslovefree.com/plugins/user/profileplus/profileplus.php on line 36

Strict Standards: Only variables should be assigned by reference in /home/simtanda/public_html/heartslovefree.com/plugins/user/profileplus/profileplus.php on line 36

10 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Simply, you go to Joomla configuration and change error reporting to none

10 years 9 months ago
Licenses:
JomSocial Active

I i just upgraded to the latest jomsocial and then i added your code to ajax file, but got the following error. So what has changed?

Parse error: syntax error, unexpected 'defined' (T_STRING) in /home/simtanda/public_html/heartslovefree.com/plugins/system/jomsocial.system/pc_includes/ajax.php on line 1

10 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Hans,

I dont see that error, everything is fine for here.

thank you!

10 years 9 months ago
Licenses:
JomSocial Active

Funny, now it's working!

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