Home arrow Forum Failed: Code to be patched not found in file:
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 08, 2009, 02:51:07 AM
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)
| | | |-+  Failed: Code to be patched not found in file:
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Failed: Code to be patched not found in file:  (Read 2438 times)
yaz
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
Failed: Code to be patched not found in file:
« on: July 23, 2006, 03:44:48 AM »

i am using the latest joomla :
Joomla! 1.0.10 Stable
I have downloaded and installed the latest release of SMF component.
after a "successful insatallation" i get the following errors :


Frontpage of my forum :

Notice: Constant WIRELESS already defined in /homepages/15/xxxxxx/htdocs/shanclassifieds/forum/index.php on line 78

The administration area when i try to "Patch SMF Source Files" ( i have replaced the original index.php file as indicated in the readme), i get :

Failed: Code to be patched not found in file: if (!defined(\'WIRELESS\'))/homepages/15/xxxxxxxx/htdocs/shanclassifieds/forum/index.php

I have been looking in the forum but did not find a solution that fits.
Thank you for helping me
Regards
Yaz
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Failed: Code to be patched not found in file:
« Reply #1 on: July 24, 2006, 02:03:20 PM »

which version of the bridge, which version of SMF?
Logged

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

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: Failed: Code to be patched not found in file:
« Reply #2 on: July 24, 2006, 11:35:43 PM »

I have the same problem, I am using smf -1.0.5
and Joomla_SMF_1_1_4_2
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Failed: Code to be patched not found in file:
« Reply #3 on: July 25, 2006, 10:26:06 AM »

In the _README_FIRST.txt file which I am sure you read before installing the bridge, the requirements for this bridge are stated, one of which is SMF 1.1.RC2.  So that is why this is failing for you, you don't even have the files to patch since you aren't running the right version of SMF.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Stéphane Lavoisard
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
I'm so st$p$d... but help me please !
« Reply #4 on: August 15, 2006, 01:29:42 PM »

I did the same mistake...
So I did erase the SMF files and installed the 1.1.RC2 version, then rerun the installation... And now, my site is completly DOWN ! What can I do ?
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Failed: Code to be patched not found in file:
« Reply #5 on: August 15, 2006, 03:45:36 PM »

explain DOWN.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Stéphane Lavoisard
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Failed: Code to be patched not found in file:
« Reply #6 on: August 15, 2006, 08:29:19 PM »

It was just blank... Anyway, I did erase everything and reload my last backup... I did reinstall the right versions :
- Joomla SMF 1.1.4.2
- SMF 1.1 RC2
- Joomla SMF Login 1.4.2

Finally, the installation went perfectly well (when I click on verify, it says  "SMF and Joomla users in sync". Anyway, there's no way for the login procedure to work... I'm login in with the CB Login Module, but there's no way I can login in SMF. Please, help, I'm going mad !

May be this has to do with the configuration from Joomla_SMF ? Here's mine...
Integration Mode:      (Wrapped)      Unwrapped
Synchronization Type:    Real Names    (Usernames)
Hide emails in SMF profile on sync:    No    (Yes)
Redirect SMF profile link to CB/CBE:    No    (Yes)
Always redirect to forum on login:    (No)    Yes
Always redirect to joomla main on logout:    No    (Yes)
Registration module to use:    SMF    J!/Mambo    (CB)    CBE
Login module to use:    JSMF    J!/Mambo    (CB)    CBE
Debug:    (Disabled)    Enabled

Thanx for the help !
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Failed: Code to be patched not found in file:
« Reply #7 on: August 15, 2006, 10:30:28 PM »

do you have the JSMF CB Plugin?  If not, then logins from the CB login will fail to log you into SMF.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Stéphane Lavoisard
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Failed: Code to be patched not found in file:
« Reply #8 on: August 16, 2006, 03:32:00 AM »

Yes, I had it... but how st$p$d I am, it was not published !
Almost there... It's now working, one final problem...

I'm login in with the CB Module... When login in, I get a blank page with a pop-up alert box saying "incorrect ID or password. Try again". But when I click on OK to go on, I'm back to the home page and I'm connected !
Then everything works perfectly, I do have to connect to the SMF forum but it works, and when I log-off it's login off of both modules. I now only need to find a way not to have this pop-up alert !

P.S. : Wolverine, thank you very much for your help. I promess that I'll be writing a full, complete and detailled tutorial (PDF, nice layout) in english & french to explain the installation procedure as I see many post on english sites and french sites from people far more lost than me !
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Failed: Code to be patched not found in file:
« Reply #9 on: August 16, 2006, 10:49:46 AM »

Woah, thanks for the offer.  However, can I ask that you save that effort for JSMF 2.0 which will be released soon?  I'd much rather have those docs for the new bridge rather than an old version?  IF you are interested in doing so please let me know via pm.

About the login problem, which version of the plugin do you have?
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Stéphane Lavoisard
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Failed: Code to be patched not found in file:
« Reply #10 on: August 16, 2006, 12:25:03 PM »

No problem to wait for JSMF 2.0

Working in a computer press group, I'll be able to have a real pro layout for it... and should be able to get that done quickly.

Concerning the login problem, I have the Joomla-SMF CB Plugin 1.0.1
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Failed: Code to be patched not found in file:
« Reply #11 on: August 16, 2006, 01:35:42 PM »

hmmm, that should not be failing.  How about PMing me a link to your site so I can have a look.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
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