× Joomla Facebook Connect support forum

Topic-icon Login form on blog detail page problem

Active Subscriptions:

None
14 years 4 months ago #2518 by luke
Hi,
I am having a bunch of issues that may, or may not be related.

Firstly, when i am reading an article, and a user logs out or logs in from a blog detail page, i am experiencing some problems (It works perfectly fine on my frontpage, where there are no '/' in the url).

Basically, i click connect, and the pop up appears. I fill in my FB information, and login. After the form submits, in the URL of the popup, this is what is there

[BASEURL]/Kulture/Articles/xd_receiver.htm?fb_login&fname=[a whole bunch of parameters, I didn't want to include in case of potential security issues]

Which brings me to my 404 does not exist page. (the user is still logged in, if he closes the now broken pop up and refreshes the page in the main browser)

Also, i am using sh404sef, and k2, which rewrites the categories and sub categories as folders. Obviously, there is no /Kulture/Articles/xd_receiver.htm, the only place that file resides is in the root, /xd_receiver.htm

Any suggestions or fixes? Im assuming FB is catching my current URL to try and bring them back> i just changed my Canvas Callback URL to point to the correct place. It was not set earlier.

In the URL of the facebook login popup window, before i login, the following GET parameters are set in the URL
<!-- m --><a class="postlink" href="www.facebook.com/login.php?return_session=1&nochrome=1&">www.facebook.com/login.php?retur ... ochrome=1&[ MORE PARAMS ]
next=http%3A%2F%2Fdev.zapalabs.com%2FKulture%2FArticles%2Fxd_receiver.htm+[ MORE PARAMS ]
&cancel_url=http%3A%2F%2Fdev.zapalabs.com%2FKulture%2FArticles%2Fxd_receiver.htm+[ MORE PARAMS ]
&channel_url=http%3A%2F%2Fdev.zapalabs.com%2FKulture%2FArticles%2Fxd_receiver.htm&locale=en_US

My other problem im having is that when i click on overview ( in the backend) or try and click into one of the plug-ins or modules that came with this, i get a internal server error. I can modify these values from the DB but thats kinda weak

Thanks!
The topic has been locked.
Active Subscriptions:

None
14 years 4 months ago #2520 by luke
I figured my first problem out, it was using a relative path for the fb receiver file

However, it still gives me a internal server error when im in the backend, and i try and click on the login module, either of the two plugins, or if i click on overview in the component.

Please help!
The topic has been locked.
Support Specialist
14 years 3 months ago #2593 by alzander
Sorry for the delay. Glad you figured out the redirection issues.

As for the server configuration errors, that's new to us. The only time we've seen errors in those areas is if you're using PHP4 (PHP5 is required for the Facebook libraries, and our code, to function). Is there a specific error your getting? Is it a browser error or a server/php error?

If you want this figured out quicker, feel free to send us an admin login to your site.
The topic has been locked.