I’ve just posted this in the other a3m thread and then found this one so figured I’d post it here too just in case!
For anyone having problems with the facebook infinite loop problem I’ve since discovered (or so it would appear) it’s to do with Codeigniter losing the $_GET related variables when clean URLs are enabled. .htaccess configurations for codeigniter typically don’t include the query string in rewritten URLs, and all of the .htaccess tutorials/examples I’ve seen for a3m come without it too.
To resolve the issue replace the following line, or the line which does the equivilant in your .htaccess
RewriteRule ^(.*)$ /a3m_peanutbutter/index.php?$1 [L]
With this one.
RewriteRule ^(.*)$ /a3m_peanutbutter/index.php?$1 [QSA,L]
I’ve got my $config[‘uri_protocol’] set to AUTO but I’m not sure how changing it will affect the above proposed solution, and haven’t tested it.
Hope this works for other people too.