Home arrow Forum problem with patched index.php
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 12:24:40 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Mambo-SMF 1.3.x
| | | |-+  problem with patched index.php
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: problem with patched index.php  (Read 2207 times)
moin339
Joomla 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
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



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
Joomla 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
googirama
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 15


View Profile WWW
Re: problem with patched index.php
« Reply #3 on: November 22, 2005, 09:52:46 PM »

Commenting out the mambohacks section/line in mambo index.php gets rid of the util.php errors. This works on Gallery 1.5.
Logged

thanks,
googirama
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login