Topic-icon LoginRegister, error 500 if not JRequest::setVar('tmpl', 'component');

Active Subscriptions:

None
Im using rt_momentun and when i click on the "Login with Facebook" button (before it disappeared) i get Internal Server Error 500.

If i uncomment the JRequest::setVar('tmpl', 'component'); in loginregister.php on line 22 the page shows correct and all features work but not imbedded in my template.

I guess this might have something to do with the RockeTheme template/Gantry framework but i really need to use this template so please point me in the right direction.
The topic has been locked.
Support Specialist
Peter,
Can you try disabling the "Integrate into Joomla Registration:" setting in the Configuration -> Login/Logout area of JFBConnect? We've heard that can cause some issue with Rockettheme templates.

We are looking for a solution, but for now, disabling it is the best.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
I doesn't help to disable. I Guess i could use an popup for creating/connecting but then i need the error messages to show if email/username already exists.
The topic has been locked.
Support Specialist
Hmm.. uncommenting the JRequest::setVar line isn't really an option...

JFBConnect is used on tons of Rockettheme based sites, so we should definitely be able to get you around this. Can you let me know the following:
1) Go to Global Configuration and set Error Reporting to Maximum and turn off GZip compression. Try to login again. Hopefully, you'll see a real PHP error message that explains what's failing, instead of a generic 500 error.
2) Try disabling all JFBCProfile plugins that are enabled
3) It sounds like the registration process works with other templates, correct? (That's not a solution, but helps narrow the problem down).

Keep us posted on the above,
Alex
The topic has been locked.
Active Subscriptions:

None
In the browsr i dont se anything else then:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.16 (Debian) Server at www.idinner.it Port 80

And in the Apache errorlog i get: Premature end of script headers: index.php
The topic has been locked.
Active Subscriptions:

None
when i set to full error logging i don't get any more errors but an hole lot of warn's like forex:
Connection reset by peer: mod_fcgid: error reading data from FastCGI server

I would like to avoid testing with an different template since the site is live so please help me figure this out.

logfile
The topic has been locked.
Support Specialist
Peter,
Unfortunately, the error log isn't telling us anything of use. None of the errors reference JFBConnect or anything we're doing, which makes it obviously difficult to come up with a solution.

I mentioned disabling any JFBCProfile plugins above as well. Do you have any of those installed?

As for testing with another template, I understand you may be developing on a live site, but unfortunately, without narrowing things down, it's very difficult to proceed. Even if just briefly, you could enable error reporting and switch templates, that would help greatly. Another test with Rockettheme templates is to disable any of their caching, compressing, or other optimizations they do. Some of those settings are in the template, others are in the Rokzipper plugin, I believe. Once compression and stuff is disabled, and error reporting is enabled, we will hopefully see an error of what's wrong.

Finally, I'm assuming that you're not seeing any errors in the Local or Remote Error Check tools of Autotune, correct?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
I found the problem but i don't know why and how to fix it. I turns out that when i assign my master template to an language i get the error but if i choose all on my master template i works.

So basically something to do with multi language. I guess that the return connection from FB gets confused not being pointed in the language direction some how?

Maybe you could give me some solution ideas based on this?

By the way, great support i will use this component for all my customers.
The topic has been locked.
Support Specialist
Peter,
What are you using for language management? Is this just the built-in Joomla language functionality, or a 3rd party extension? We have lots of users running multi-lingual sites and haven't heard of this, but will gladly try to investigate more.. just need more info. We do only limited multi-lingual testing, so specifics of what you're doing would be great. Obviously, you have multiple language packs.. then just assigning the master to use only a specific language is what does it, versus 'all' languages?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Its just the built-in Joomla language functionality and i followed a guide for setting up multi language with separate templates, categories for each language and then assign every article/module to that language. This seams to work but i don't know if this is the right way to run multiple languages.

I discovered that the language assignment was causing this error when i tried with an different template and the returned to my original master that now was set to all instead of an specific language.

I dont know if the FB bouncing does that the gantry/template looses the specific "language to template attachment"?
The topic has been locked.