Doing debugging I found that the code is failing when it tries to include your joomla template. Did you make modifications to your joomla template for Orstio's bridge?
Then I refreshed the page, checked the file error_log in the joomla root, and there is the error that your webhost is swallowing or something:
Code:
[10-Jan-2007 17:44:13] PHP Fatal error: Call to undefined function: () in /homepages/7/d183703408/htdocs/interaktiv/cms/support/Sources/Subs.php on line 2474
The error is coming from
Code:
// Don't allow more than half of the characters to be left unencoded. $allowPlain = $func['strlen']($string) / 2;
which is again the user of the array $func which may be conflicting with another module, meaning another module has used $func since SMF initialized it and therefore all the data SMF stored in that variable has been overwritten. That is why it says call to undefined function and then gives no function name, because the definition SMF gave it has been overwritten. Changing this line to simply strlen should correct the immediate problem.
Change this code:
Code:
// Don't allow more than half of the characters to be left unencoded. $allowPlain = $func['strlen']($string) / 2;
To this:
Code:
reloadSettings(); // Don't allow more than half of the characters to be left unencoded. $allowPlain = $func['strlen']($string) / 2;
This reload the $func array from SMF. This may cause problems with other components but it will fix the display of smf and your site. It is working now.
By the way, this is not the fault of the bridge. Simply, you have other components that use the same variable as SMF does and since they are not in objects or classes there is overlap. That is the reason JSMF 2.0 so heavily relies on classes, there should be no way that my variables would conflict. I cannot say the same for other developers and SMF does not use classes so this will continue to be a problem.
« Last Edit: January 10, 2007, 12:13:40 PM by -Wolverine »
Wolverine - you are a scholar and a gentleman!!! Understand about 10% of what you explained but it works and that is brilliant. Doubt VM will be interested as their site is full of complaints about bad coding, but will post info on to writer of Product Book because he is currently looking at the problem from his side. Again many, many thanks.
Having problems with inline post editing when using my forums as wrapped. Without wrap everything works fine.
Got SMF 1.1.1 Joomla 1.0.12 and Bridge 2.0
I'm getting green line "Loading.." at the top of pages but nothing happens. I assume that it tries to load some javascript there and IE error message is:
this can happen if your Joomla template isn't correctly including the custom headers. This is done through a call to mosShowHead() which should appear in your joomla template index.php file in the <head> section of the template. Basically, I pull all the SMF headers and add them to the joomla custom header, which then displays it in the appropriate place. The SMF headers contain javascript to handle this. If the javascript is missing you will get this error.
If you have firefox download firebug(the most useful JS debug tool EVAR!). It should tell you exactly why it failed. I suspect the header is not correct.
My current configuration is the best configuration that I can use to get most things working. It is the only configuration that properly registers passwords for both Joomla and SMF. The only problem is that I can't get CB profiles working. CB registration/login for this is hopeless, but I would like to use CB features.
I believe I may have screwed up my system by installing JSMF bridge before installing community builder. I was given the impression with what I read that CB Plugin came with the JSMF bridge, so I thought this would install all of this Community Builder that I knew nothing about. So then when it came to installing the CB Plugin, which was actually separate, there was nothing to install it into. So I removed the JSMF bridge, then installed CB, then re-installed JSMF again. I may have killed something, I don't know. I don't really want to go swimming through a sea of ugly mySQL and PHP code to find out.
I'll just keep tinkering til I get something that works good.
SMF has a nice looking and (from the look of it) secure registration process. Community Builder has a highly customisable registration process, which needs a lot of CSS tinkering to make it look good. Perhaps I can figure out a way of directing the first login to a CB profile creation page... ouch!
I have set "Automatically reply to topic" to YES but "Automatically create" to NO, meaning there will not be a forum topic automatically created for each posted news item, unless a user posts a comment to the article.
This works all fine, apart from the fact that the first comment made by a user is considered an initial post and not a reply, which results in the "Comments (X)" shows (0) after the first comment and (1) after the second comment. It's always one number too low.
I guess this is how you've chosen to do by design since it's how SMF returns number of replies, but do you have any suggestion on a workaround to this? I prefer not to have a forum topic created for articles no one has commented.
Thanks.
« Last Edit: January 11, 2007, 10:27:32 PM by hackeman »
I'm also having problems logging in, logging out or registering on my site. I run: Joomla 1.0.12 SMF 1.1.1 JSMF 2.0 Final
I have traced the problem as a conflict between JSMF and OpenSEF. If OpenSEF is off and index.php is patched, everything works. If I turn OpenSEF on, logging/registering does not work until I unpatch.
I have no idea how to solve this, can anyone help?
I am using the SMF-BRidge since al lot of versions and first I want to say THANKS for the great work.
Now I upgraded my system from Mambo 4.5.2.3 up to 4.5.4 SP3. Normaly I wanted update up to 4.6.1 but there is the Login-Problem which is discussed in a lot of forums. Well, now I have the following configuration:
Mambo 4.5.4 SP3 SMF 1.1.1 Bridge 2.0 Final
I installed everything like described in the Tutorial, but I get the folowing error-MEssage:
"Fatal error: main() [function.main]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "jsmfFrontend" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /var/www/html/web/html/cms/index.php on line 56"
Could anybody tell me whats the Problem? Is the JSMF-Bridge not anymore working with Mambo?
Thanks for answering. BEcaus I dont get any of the Bridge-Versions working? The last version I used (1.1 Beta) crashed the system after the using with Mambo 4.5.4.
Yay, everything is functioning pretty well on my site. My registration and login works through either Joomla or SMF. CB login and registration doesn't work at all and I don't even need it. I have CB profiles running because of a this hack. The only thing that is pissing me off is that the comprofiler doesn't display correctly in Firefox, but does in IE. The comprofiler uses CSS generated menus which increase and decrease the height when clicking on each menu item, causing the whole thing to jump up and down the page, but only in Firefox. It looks very sh$tty and would really like to find a hack to fix it.
Having problems with inline post editing when using my forums as wrapped. Without wrap everything works fine.
Got SMF 1.1.1 Joomla 1.0.12 and Bridge 2.0
I'm getting green line "Loading.." at the top of pages but nothing happens. I assume that it tries to load some javascript there and IE error message is:
I managed to found some solutions to work. I had to edit xml_topic.js file and change all these: smf_scripturl + "?action=.." -> jsmf_scripturl + "action=.."
This way I got fast quote working and now I can get to the inline editing form. But when I try to save those editings I'm getting error: XMLDoc.getElementsByTagName("smf")[0] has no properties xml_topic.js (line 133)
If I refrest the screen I can see that all my changed got saved perfectly. It's just that the page is ain't redirect to the post as it should after saving.
« Last Edit: February 02, 2007, 12:06:31 PM by Darkki »
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