News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

403 Error Message 1.1 RC3 and 1.1 Final

Started by fredn, December 03, 2006, 07:11:20 PM

Previous topic - Next topic

fredn

Members keep notifying me that they are getting the 403 error message after I updated to 1.1 RC3 and even after updating to 1.1 Final.

I suspect that the error may be caused by the URL that SMF is using where the ; is being used

instead of the standard ampersand &

Sample URLS below

index.php?PHPSESSID=2c66e8a4644630dd74739f3d0fe5a2e3;action=login2;sa=check;member=144

index.php?PHPSESSID=2c66e8a4644630dd74739f3d0fe5a2e3&action=login2

Is there a way to write a .htaccess file that will change the & into ;  ???

Any suggestions or help would be greatly appreciated.

SleePy

This can be fixed in querystring.php file
by either doing this:

$buffer = preg_replace('/"' . preg_quote($scripturl, '/') . '(?!\?' . preg_quote(SID, '/') . ')(\?)?/', '"' . $scripturl . '?' . SID . ';', $buffer);


Replace:
$buffer = preg_replace('/"' . preg_quote($scripturl, '/') . '(?!\?' . preg_quote(SID, '/') . ')(\?)?/', '"' . $scripturl . '?' . SID . &', $buffer);

or reading these topics
http://www.simplemachines.org/community/index.php?topic=120171.0
http://www.simplemachines.org/community/index.php?topic=118055.0
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: