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 ? :-[
I have the same problem... >:(
Don't you have Bridge 1.1.5 anywhere on you PC ?
Why not try the discussbot here from Skydig:
http://www.simplemachines.org/community/index.php?topic=100089.msg649303#msg649303
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
Remove this line from Skydig's bot:
require($mosConfig_absolute_path."/administrator/components/com_smf/config.smf.php");
It is useless anyway.
I've just remove it... and also the same code on line 59... It seems working :)
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)
Same for me ! Wrong link !
Try the one attached to this post.
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...
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...
you are right! this was my mistake :-X , thanks a lot for your fantastic support! :D
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 (http://www.simplemachines.org/community/index.php?topic=108680.msg699248#msg699248) 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 ??? ::)
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.
very good of you to respond to your post wit your fix!!
:) many people not do! 8) :D
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.
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
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?
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.
nothing going wrong, the bot works just fine!
I must seeing things on my website then.... ::)
Maybe some constructive help might come in a little handier than telling me my problem doesn't exist.
if u insert the code in your template, that just can be a configuration problem...
You can see it in action in many sites...
Go to my site www.taijutsu.com/content
register and try to click on any of the discuss article links and tell me what you get.
BTW in the default template I have the <?php ob_start('output');$buffer = ob_get_contents();ob_end_clean();$buffer = str_replace('<input type="hidden" name="sc" value="" />','<input type=hidden name="sc" value="'.$sc.'">', $buffer);echo $buffer;?>
at the bottem.
My code is correct. Configuration is correct. I have already had the bot working correctly on my site. But with the new Bridge update came a new bot update. That's where the problem started.
I am not denying that it is working on sites. I congratulate you for getting it to work on yours. However, as shinbushi has just posted the exact problem, this isn't an isolated incident. All I'm asking is that if somebody has run into this problem and found the solution, they would be so kind to share it.
In the bot params, it asks for your SMF database name and the SMF database prefix. You will need to enter those.
They had already been entered correctly.
Quote from: ahwoogamac on September 06, 2006, 01:31:33 PM
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'm not dealing with a fact that I missed a step in setup, because it DID work correctly before I upgraded. I can't go back to the older versions because of the forum upgrade, but this keeps giving me a truncated url.
index.php?option=com_smf&Itemid=84&
With me I set the default to Article Discussion which is http://taijutsu.com/content/index.php?option=com_smf&Itemid=27&board=17.0
When I click on the link in my article it goes to http://taijutsu.com/content/index.php?option=com_smf&Itemid=27&topic=106.new#new
I double check my DB name taijutsu_smf1 and prefix is smf_
any ideas?
Try this code at the vottom of your template instead of what you have:
<?php ob_start('output');
$buffer = ob_get_contents();
ob_end_clean();
$buffer = str_replace('<input type="hidden" name="sc" value="" />','<input type=hidden name="sc" value="'.$sc.'">', $buffer);
echo $buffer;
mysql_select_db($GLOBALS['db_name']);
?>
Same error.
On the template I am doing it in Joomla edit template HTML and I have tried it both before and after the </HTML> tag
Does your Joomla database user have access to your SMF database?
Users in smf1
taijutsu_joom1 (Privileges: ALL PRIVILEGES)
Here's a link to the page I'm have the issue with: http://www.e3students.com/index.php?option=com_content&task=view&id=25&Itemid=81
When you click on the discussbot link, it goes to the forum with a "The board you specified doesn't exist" and the ever annoying url: http://www.e3students.com/index.php?option=com_smf&Itemid=84&
For recap:
1) Again, I went in a checked and the users of both databases have full permissions to the other database.
2) The correct SMF database is listed in the config page and the default SMF_ prefix is correct in my situation.
3) I inserted Orstio's newest code at the bottom of my template.
I'm also still getting the error on the front page:
Database Error: Table 'e3stud_joom1.smf_sessions' doesn't exist
File: /home/e3stud/public_html/forum/Sources/Load.php
Line: 1981
I'm usually one to exhuast all forum posts for solutions before I even post at all. But this has one really has me stumped.
I'm not sure what's different between me and everyone else but I'm getting the following error:
Database Error: Table 'mysite_joomla.messages' doesn't exist
File: /home3/mysite/public_html/forum/SSI.php
Line: 259
Can anyone help. I'm using:
* Joomla 1.0.10
* SMF 1.1 RC3
* SMF DiscussBot as downloaded from this thread
*Bridge 1.1.6
Thanks in advance-
Go to your Joomla admin panel, and edit the params of the discussbot.
Make sure to enter both the database name and prefix into their respective textboxes.
Make sure to click Save.
Thanks. Now I'm getting this error though:
Database Error: Table 'mysiteDBprefix_smf.mysiteDBprefix_messages' doesn't exist
File: /home3/mysite/public_html/forum/SSI.php
Line: 259
Any ideas?
Your database prefix and database name are two different things.
I think I had been including the db prefix in my db name. Thanks. However I'm now getting this message:
Database Error: Table 'elitetra_mambo.[color=red]elitetr[/color]_messages' doesn't exist
File: /home3/elitetra/public_html/forum/SSI.php
Line: 259
- My SMF Database Name: smf
- SMF database prefix: elitetra_
- Default discussion board: Don't know what to put here....is it the full web address? the local directory? the bridged joomla address?
Incidentally, my joomla db name is elitetra_mambo. I don't know why this is showing up in the error code. I'm also unsure why the highlighted red text would be elitetr instead of elitetr
a.
Thanks again-
I think you are incorrect.
your SMF database name is elitetra_smf
your smf database prefix (if you did not alter it during installation) would default to be smf_
the default board is the NAME of the default board to put the discussions in... like: General Discussion
Thanks you were helpful as usual.
Sorry to reopen but when I set my default discussion links to NOT show on the front page nothing shows up even though I've entered in the appropiate code {mos_smf_discuss:Blog Discussion}. The odd thing is that the mos code doesn't even show up in the joomla blog entry....it's as if it isn't even there....but it is. When I set my links to show on the front page it works great. The only problem is that I want to limit the option for discussion to only a couple categories.
Never mind....I had a misunderstanding....all I had to do was turn on the front page links but leave the default board blank. I thought that turning on the front page links would put the discussion on ALL content on the front page rather than just where I put the moscode.
everything works fine, till i add
<?php ob_start('output');
$buffer = ob_get_contents();
ob_end_clean();
$buffer = str_replace('<input type="hidden" name="sc" value="" />','<input type=hidden name="sc" value="'.$sc.'">', $buffer);
echo $buffer;
?>
ive also tried:
mysql_select_db($GLOBALS['db_name']);
added to the template as you suggest to another user about 4 posts up nothing wrong with the bot, works fine but i assume this updates info - problem is with:
Quote
PHP_FLAG display_errors On
in .htaccess i get a white page everytime :(
using php 5.0.x
If it's working without the code, don't worry about adding it.