Ok i spotted a problem with gallery2 component and smf installed. Inside the mambohacks file there is a patch for the index.php which loads the $_REQUEST global to a $_TMP and then reassigns the contents of it back to $_REQUEST. I spotted that there is also the need to pass the $_GET and $_POST vars to a $_TMP holder and reassign them due to smf cleaning this vars and destroying the gallery2 URL's. This will not affect SMF in anyway. so add inside index.php:
Code:
$_TMP_GET = $_GET; $_TMP_POST = $_POST;
and then reassign them:
Code:
$_GET = $_TMP_GET; $_POST = $_TMP_POST;
Add this lines immediately after:
Quote
//MAMBOHACKS.COM $_TMP = $_REQUEST;
and reassign them after:
Code:
if (file_exists($smf_path."/SSI.php")) require_once ($smf_path."/SSI.php"); $_REQUEST = $_TMP;
None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved. TERMS OF USE