News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Discussbot version 4.1 final (released 11-28-05)

Started by chadness, November 29, 2005, 01:32:16 AM

Previous topic - Next topic


VTX

I just opened the javaconsole of firefox and I get this error when clicking the link:

Error: document.getElementById(form_id) has no properties
Source File: http://t7r.bnext.nl/
Line: 282

Any clue what's going wrong here?
Dutch bike drivers, have a look @ http://www.limburgracingteam.nl

astrolabos

Can you try to post an article to check whether it works or not; I've noticed that you problem is on older articles, your most recent artcle works just fine

VTX

#204
Im currently debugging, upgraded from beta 5 to final 4.1, now everything works, only it doens validate (xhtml), still working on that.

EDIT: All works OK now, only thing is that when there ar 0 comments its doenst validate as an ID cant start with a decimal. But it's no big deal, as soon as there is 1 reply the page validates again :)

Thanks for the help!
Dutch bike drivers, have a look @ http://www.limburgracingteam.nl

allegre

Hi everyone,

I have a fresh install of Joomla 1.0.8 (with two javascript patches installed), Orstio's bridge 1.1.14 and SMF 1.1 RC2.  My goal is to enable users responses on blog entries from the Joomla portal to be posted to SMF using discussbot.

I have tried all three available versions of the discussbot with the following results:

Discussbot 4.0.1
Joomla portal will display, but following warning appears where response link should be located:
Warning: preg_replace(): Unknown modifier '/' in /path/to/joomla/mambots/content/smf.discussbot.php on line 197

Discussbot 4.1 beta 5
Joomla portal will display, and response link appears with graphic.  Clicking on the link produces:
Not Found
The requested URL /http://my.url.com/index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

http://my.url.com/http://my.url.com/index.php?option=com_smf&Itemid=27

Additionally, if leading site name is removed and the latter URL is entered manually, the main forum page but not the message response box is loaded.

Discussbot 4.1 final
Home page fails to display, showing this error:
Warning: main(/SSI.php): failed to open stream: No such file or directory in /path/to/joomla/mambots/content/smf.discussbot.php on line 32

Fatal error: main(): Failed opening required '/SSI.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /path/to/joomla/mambots/content/smf.discussbot.php on line 32


I know these problems have been discussed before but after extensive searching of this forum, I can't find the solution.  It appears I am close with 4.1 beta 5, but it's still not working.  Any ideas?

Greg

chadness

I think the beta 5 problem you are having is a Joomla version 1.0.8 issue.  Have you tried the fixes mentioned a little earlier in this thread for that same problem?  For instance, astrolabs seems to have fixed that issue.

allegre

Chad,

The problem is fixed.  I replaced the sef.php file from Joomla 1.0.8 with the version from 1.0.7.  I'm back at Discussbot 4.1 beta 5 (for those keeping score at home), but it also works with Discussbot 4.1 final if you comment out the call to SSI.php mentioned on a previous post in this thread.

Thanks for you help....

Greg

Imago

#208
Well, I have given up in the fight with wrong sessions and not selected database messages on the content pages, so reverted to smf.discussbot 1.3. It is far from the versatility of 4.1 final, but at least works without problems.

For those who cannot follow the entire discussion, could you please summarize the fix to these two issues, provided I have patched all files - mossef, sef (BTW, the new sef.php screwed up the forum), and login.

Or probably there is some new version of the advanced discussbot for 1.0.8, we are not aware of...

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Imago

Yes, I did. Messages are being posted, but the bottom-line warning remains
Database Error: No database selected
File: /home/reklami/public_html/forum/Sources/Load.php
Line: 1886
Warning: Unknown: A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

Warning: Unknown: A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

http://www.reklami.org/content/view/1/1/

This is the error I get every two clicks in the Admin section:

Fatal error: session_start() [function.session-start]: Failed to initialize storage module: user (path: /tmp) in /home/account/public_html/administrator/index2.php on line 30

This site is UTF-8 based, could it be the reason why?...

Imago

no more db error message BUT
line 1882-1886 commented in /forum/Sources/Load.php

// First try to update an existing row...
# $result = db_query("
# UPDATE {$db_prefix}sessions
# SET data = '" . addslashes($data) . "', last_update = " . time() . "
# WHERE session_id = '" . addslashes($session_id) . "'
# LIMIT 1", __FILE__, __LINE__);


Will this affect the functionality of the forum?

Benson

Quote from: Imago on May 29, 2006, 09:34:57 AM
no more db error message BUT
line 1882-1886 commented in /forum/Sources/Load.php

// First try to update an existing row...
# $result = db_query("
# UPDATE {$db_prefix}sessions
# SET data = '" . addslashes($data) . "', last_update = " . time() . "
# WHERE session_id = '" . addslashes($session_id) . "'
# LIMIT 1", __FILE__, __LINE__);


Will this affect the functionality of the forum?
Tried with that solution, but when i want to logout i get an session-error. So certainly not a fix.


Imago

Yes, I did. See the first post on this page.

chadness

I'm not sure.  You do have the required code at the bottom of your template?

You might also want to put this:

<?php mysql_select_db($db_name); ?>

At the bottom of your Joomla/Mambo template, right before the </body> tag.

c2h5oh

There seems to be a javascript problem with joomla 1.08.
If 4.1 Final is installed (doesn't matter if it is published or if the code is at the end of the template) html is not generated correctly. I get a file containing single line:
<table class="blog" cellpadding="0" cellspacing="0"><tr><td valign="top">
and that happens to be the line just before the code generated by the bot.
Going back to beta 5 solves the problem (as you've said before).

It might be a joomla 1.08 problem, but I suspect it could also be me using javascript in template (3-column, div based layout with javascript-generated div height) - just like the previous person reporting problem with 1.08 + 4.1final. I'm not sure, but does 1.08 default template contain javascript?

"The day Microsoft makes something that does not suck is probably the day they start making vacuum cleaners"

chadness

It's most likely that it's the code for it to load up the SSI.php file.  That's problematic in several situations.  That's why using beta 5, or commenting out the line loading up the SSI file (and the call to the function in it) will fix the problem.

c2h5oh

OK.
Is it possible to have the link to discussion on frontpage?
If I put it in intro text I end up with a link in the middle of the article, and if I set default forum "no_discuss" and the correct {mos_discuss:forum name} at the end of main text I get dead links on frontpage (linking to board that does not exist)
"The day Microsoft makes something that does not suck is probably the day they start making vacuum cleaners"

Kindred

it's not supposed to be {mos_discuss:forum name}

(a forum is the whole set of boards, a board is the individual part of a forum where the posts actually are)


it is supposed to be {mos_discuss:BOARD name}
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: