Topic-icon 404 errors on social registration

Active Subscriptions:

None
12 years 1 week ago #44275 by share24
I'm using the pop-up window option in a Joomla 2.5 site.

I have no problems when I click log in and then use the joomla username/password combination to log in.

When I click log in and then try to use the facebook or twitter buttons to log in, I get the window that says I'm being logged in but then I'm taken to a 404 error page.

Here's the URL:

www.ohiovarsity.com/index.php?option=com...edf9e8fbed02f3bb1e=1
The topic has been locked.
Support Specialist
12 years 1 week ago #44280 by alzander
We just had a similar report in this thread . I don't think there's any widespread issue in JFBConnect as v6.0.6 (the latest) has been out for about a month and no other users have reported this. Obviously, there's something causing issues on yours and the other user's site.

Can you check that thread and suggestions and questions in there and let me know if the same things work for you. Specifically:
* Are you using Joomla's built-in SEF features
* Are you using a separate 3rd party extension for SEF URLs or 404 management
* Have you modified your .htaccess file

Let me know if there's any other information you may have or something that may stand out we should know about.

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

None
12 years 1 week ago #44282 by share24
Thank you for the response.

Are you using Joomla's built-in SEF features


Currenlty, I have SEF turned off...it's a template transition issue. Once I complete changing from one template to the other I'll turn it back on.

I do have USE URL REWRITING turned on and the other two options are off:

Add suffix to URL (no)
Unicode aliases (no)

Are you using a separate 3rd party extension for SEF URLs or 404 management


No

Have you modified your .htaccess file


Yes, below is the contents of my htacces file:

# Use PHP54CGI as default
#AddHandler fcgid54-script .php

## BELOW THIS WAS ADDED ON MAY 4, 2014

## OpenSEF Simplified htaccess File

## Can be commented out if causes errors
# For security reasons, Option followsymlinks cannot be overridden.
#Options +FollowSymLinks
Options +SymLinksIfOwnerMatch

## enable mod_rewrite engine
RewriteEngine On

## If Joomla is installed in the web server root
## RewriteBase /
## If Joomla is installed in a sub-directory
## RewriteBase /directory_name_here
RewriteBase /

## Begin 3rd-Party or OpenSEF Section
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
## End 3rd-Party or OpenSEF Section

## Joomla Security Section (has nothing to do with SEF/SEO)
## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
## End - Rewrite rules to block out some common exploits

##ABOVE THIS WAS ADDED ON MAY 4, 2014

<IfModule mod_expires.c>

# Enable expirations
ExpiresActive On

# Default directive
ExpiresDefault "access plus 1 month"

# My favicon
ExpiresByType image/x-icon "access plus 1 year"

# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"

# CSS
ExpiresByType text/css "access 1 month"

# Javascript
ExpiresByType application/javascript "access plus 1 year"

</IfModule>

##BELOW ADDED MAY 16, 2014

ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType image/x-icon "access plus 2692000 seconds"
ExpiresByType image/jpeg "access plus 2692000 seconds"
ExpiresByType image/png "access plus 2692000 seconds"
ExpiresByType image/gif "access plus 2692000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2692000 seconds"
ExpiresByType text/css "access plus 2692000 seconds"
ExpiresByType text/javascript "access plus 2692000 seconds"
ExpiresByType application/x-javascript "access plus 2692000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"


# compress text, HTML, JavaScript, CSS, and XML
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

# remove browser bugs
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent

## EXPIRES CACHING ##

ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"

## EXPIRES CACHING ##


# Start CloudFlare:ohiovarsity.com rewrite. Do not Edit
RewriteEngine On
RewriteCond %{HTTP_HOST} ^ohiovarsity.com
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
# End CloudFlare rewrite.
The topic has been locked.
Support Specialist
12 years 1 week ago #44312 by alzander
Most of that shouldn't be a problem. Most of it is to instruct the browser to cache different files. There's also a section for OpenSEF, which is odd since OpenSEF was for Joomla 1.0 (I think). With that said, I don't see anything directly that would cause the problem.

However, I'd still recommend trying to revert back to the original .htaccess file, which has a lot less stuff in it. If you don't have it handy, you view the contents here .

Once you update that, you'll need to clear your browser cache before you try again. Please let me know if that helps get you going or not, and we'll continue to help however we can.

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

None
12 years 1 week ago #44314 by share24
Looks like that did the trick!

I updated the .htaccess file and cleared the cache and facebook and twitter log ins are working.

Thank you.
The topic has been locked.
Support Specialist
12 years 1 week ago #44315 by alzander
Awesome! Really thought that was a bit of a long-shot, honestly. Glad to hear I wasn't crazy though.

If you want to merge the original and your .htaccess file, the Expires and AddOutputFilter stuff should all work and shouldn't be a problem to add. The other directives seem correct, but if you add them one by one (there's only a few groups) you should be able to narrow down which one, specifically, is causing the 404. If you find that, let us know what it is and we can explain further what's wrong and possibly find a work around, if you need that directive for some reason.

Anyways, glad we're making progress. Should you need any more help or have any questions, just let me know.

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

None
12 years 1 week ago #44320 by share24
Actually I did combine the two files, leaving off the OpenSEF you said was for Joomla 1.0. So all seems to be working fine.

Thanks again.
The topic has been locked.
Support Specialist
12 years 1 week ago #44326 by alzander
Great to hear you were able to merge things already. I'm happy to hear it's all working and that we were able to narrow down the issue so quickly. We always try, but for somewhat obscure errors like this, things don't always work out that way.

If you have any other questions or run into any issues, you know where to find us.

Finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It certainly isn't required, but is very appreciated:
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks,
Alex
The topic has been locked.