Home arrow Forum Can't patch index.php version 1.0.10
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 09:58:24 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.1.x (Moderators: -Wolverine, kai920)
| | | |-+  Can't patch index.php version 1.0.10
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 2 [3] Go Down Print
Author Topic: Can't patch index.php version 1.0.10  (Read 7279 times)
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Can't patch index.php version 1.0.10
« Reply #30 on: July 11, 2006, 07:14:03 AM »

Odd.
I still have the same problem (Failed: Code to be patched not found in file: .../index.php).

I tried the 2 files generously offered by the people in this topic with no success.

I even have Notice: Constant WIRELESS already defined in ...forum/index.php on line 78 on the mainpage.

Any thoughts?

EDIT:
By the way, the forum is integrated fine, it's just that it keeps displaying this thing on top of the page and that I don't like having errors in my stuff Wink

EDIT 2:
I have the latest versions of everything, Joomla, SMF and the bridge (downloaded everything yesterday morning).
Have you tried turning Joomla errors to none?  This is just a notice or warning correct?
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Darren
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
Re: Can't patch index.php version 1.0.10
« Reply #31 on: July 11, 2006, 01:44:18 PM »

I was looking closer at the index.php file. from lines 237-249 the code is this:
Code:
if ($path = $mainframe->getPath( 'front' )) {
$task = strval( mosGetParam( $_REQUEST, 'task', '' ) );
$ret = mosMenuCheck( $Itemid, $option, $task, $gid );

if ($ret) {
require_once( $path );
} else {
mosNotAuth();
}
} else {
header( 'HTTP/1.0 404 Not Found' );
echo _NOT_EXIST;
}

It is this code specifically that throws the first monkey wrench as I am stepping through. It appears that $ret is not loaded correctly to me. First pass at this review and many hours looking this over by this point.
Code:
if ($ret) {
require_once( $path );
} else {
mosNotAuth();
}

Okay, so I sat up and stepped through the code and found that as I step through the $path, I end up with a failure on the call in com_content. I think this must be a masking of an issue from another spot. May there be a global variable in com_smf that might be interferring with Joomla and how it is displaying? Is there notes on doing a manual patch of index.php? I am willing to help look through this. You can PM me and I will try and make a work around.
Logged
Pages: 1 2 [3] 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