[Bridge 1.1.6] Problem with SMF DiscussBot

Started by chr!x, August 25, 2006, 12:34:36 PM

Previous topic - Next topic

chr!x

Hi !

Here is my config :

* Joomla 1.0.10 FR
* SMF 1.1 RC3
* SMF DiscussBot 4.1 beta 4 - Joomla 1.0.3

With Bridge 1.1.5, any problem. When I install Bridge 1.1.6, this bug rise up :

Quote
Warning: main(/home/httpd/vhosts/dungeon-keeper.net/httpdocs/administrator/components/com_smf/config.smf.php): failed to open stream: No such file or directory in /home/httpd/vhosts/dungeon-keeper.net/httpdocs/mambots/content/smf.discussbot.php on line 30

Apparently, file /administrator/components/com_smf/config.smf.php doesn't exist anymore.

What can I do ?  :-[
..:: Dungeon-Keeper.net ::..

smylo


chr!x

Don't you have Bridge 1.1.5 anywhere on you PC ?
..:: Dungeon-Keeper.net ::..


smylo

i tryed also the discussbot from Skydig, but with no success..

the bug is also the same, file not found.

Warning: main(/www/htdocs/xxxx/xxxx/xxxxx/administrator/components/com_smf/config.smf.php): failed to open stream: No such file or directory in /www/htdocs/xxxx/xxxx/xxxxx/mambots/content/smf.discussbot.php on line 30

Warning: main(/www/htdocs/xxxx/xxxx/xxxxx/administrator/components/com_smf/config.smf.php): failed to open stream: No such file or directory in /www/htdocs/xxxx/xxxx/xxxxx/mambots/content/smf.discussbot.php on line 30

Fatal error: main(): Failed opening required '/www/htdocs/xxxx/xxxx/xxxxx/administrator/components/com_smf/config.smf.php' (include_path='/www/htdocs/xxxx/xxxx/xxxxx/administrator/components/com_sef:/www/htdocs/w006986b/sites/stiger/administrator/components/com_sef/includes:.:/usr/share/php:..') in /www/htdocs/xxxx/xxxx/xxxxx/mambots/content/smf.discussbot.php on line 30

Orstio

Remove this line from Skydig's bot:

require($mosConfig_absolute_path."/administrator/components/com_smf/config.smf.php");

It is useless anyway.

chr!x

I've just remove it... and also the same code on line 59... It seems working  :)
..:: Dungeon-Keeper.net ::..

smylo

thanks for your fast answer.

its also seems to be working by me, but now i have the problem that the link back to the article is wrong... (index.php?option=com_content&task=view&id=2&Itemid=36)

chr!x

..:: Dungeon-Keeper.net ::..

Orstio


smylo

it's unbelievable...  ;D

but now there is the problem that the post is generated automatically and you have to click on the modify button to write your comment...

Orstio

Quotebut now there is the problem that the post is generated automatically and you have to click on the modify button to write your comment...

I think you can change that in the bot params...

smylo

you are right! this was my mistake   :-X , thanks a lot for your fantastic support!  :D

chr!x

#13
Sorry to open again this topic  :-[

I've update Joomla from 1.0.10 to 1.0.11 (perhaps not the reason of this problem ?). So here is my new conf :

* Joomla 1.0.11 FR
* SMF 1.1 RC3
* SMF DiscussBot 4.1 beta 7.

The DiscussBot you gave me works fine, except {mos_smf_discuss:no_discuss} still display instead of being invisible...

Here is code on line 130 :


            if ($mos_smf_discuss_match == "no_discuss"  || ($show_discuss_front_page == 0 && $_REQUEST['option'] !="com_content" )){
                $showbottext = "";
            } else {
                $showbottext = make_smfforumlink( $mos_smf_discuss_match, $row);
            }


On line 131, if I put $showbottext = "HELLO"; nothing append. So I think this piece of code is never run...

I don't understand why  ??? ::)
..:: Dungeon-Keeper.net ::..

chr!x

I've the solution :

Previously, discussbot need {mos_smf_discuss:no_discuss} into modules where I display text. With this version, It's not case. So I just need to remove {mos_smf_discuss:no_discuss} into modules display, and it's work :)

{mos_smf_discuss:no_discuss} run perfectly into articles.
..:: Dungeon-Keeper.net ::..

elfishtroll

very good of you to respond to your post wit your fix!!
:) many people not do! 8) :D

ahwoogamac

I've installed the version on this thread, however, I'm getting a "The board you specified doesn't exist" again, like some of the older versions.  My url is missing the board id.  It only says:

index.php?option=com_smf&Itemid=84&

I have Joomla! 1.0.11, SMF 1.1 RC3, and (like I said) this newest discussbot file that is available in this thread. I have the databases set up with their correct permissions.  In fact, did work for a while, with SMF 1.1 RC2 and the older discussbot, but when I upgraded both, this started to happen.

ormuz

#17
This solutions doesn't work for me

I have this error mensagens in my live site...

Table 'aopostec_futebol.sessions' doesn't exist
Ficheiro: /home/aopostec/public_html/forum/Sources/Load.php
Linha: 1981


Table 'aopostec_futebol.log_online' doesn't exist
Ficheiro: /home/aopostec/public_html/forum/Sources/Subs.php
Linha: 2506


And in the admin mambots menu the discussbot appears as checked out!

EDIT: forget to configure de bot... lol

shinbushi

Quote from: ahwoogamac on September 06, 2006, 01:31:33 PM
I've installed the version on this thread, however, I'm getting a "The board you specified doesn't exist" again, like some of the older versions.  My url is missing the board id.  It only says:

index.php?option=com_smf&Itemid=84&

I have Joomla! 1.0.11, SMF 1.1 RC3, and (like I said) this newest discussbot file that is available in this thread. I have the databases set up with their correct permissions.  In fact, did work for a while, with SMF 1.1 RC2 and the older discussbot, but when I upgraded both, this started to happen.
I am having the same problem.  Did you, has anyone else solved this?

ahwoogamac

Since I hadn't mentioned the bot as an option to my client, I have uninstalled it until somebody fixes it or can let me know what's going wrong.

Advertisement: