Home arrow Forum
problem with patched index.php
  Welcome, Guest. Please login or register.
January 07, 2009, 11:51:15 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: problem with patched index.php « previous next »
Pages: [1] Go Down Print
Author Topic: problem with patched index.php  (Read 2560 times)
moin339
Newbie
*

Karma: +1/-0
Offline Offline

Posts: 9


View Profile
problem with patched index.php
« on: August 04, 2005, 05:54:43 AM »

Hi!

Mambo + SMF are working very well. So I tried to install Gallery 1.5 too. But I'm getting an error on some Gallery Pages which is produced by the changes of the smf-bridge in the mambo index.php.

If I delete this code in the index.php Gallery is working:
Code:
//MAMBOHACKS.COM
$_TMP = $_REQUEST;
if (file_exists($mosConfig_absolute_path."/administrator/components/com_smf/config.smf.php"))
require_once ("administrator/components/com_smf/config.smf.php");
if (file_exists($smf_path."/SSI.php"))
require_once ($smf_path."/SSI.php");
$_REQUEST = $_TMP;

Can you explain me why the two files must be included?

Thanks
« Last Edit: August 04, 2005, 06:07:12 AM by moin339 » Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: problem with patched index.php
« Reply #1 on: August 05, 2005, 11:26:11 AM »

That line is added just to support the other modules. You can try removing that line and see what happens. Otherwise, we will just resolve this conflicts on the next official release.
Logged
moin339
Newbie
*

Karma: +1/-0
Offline Offline

Posts: 9


View Profile
Re: problem with patched index.php
« Reply #2 on: August 05, 2005, 12:21:59 PM »

I'm now using Gallery2 Beta without this problem Cheesy
Logged
Pages: [1] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: problem with patched index.php « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
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