Some issuse (varnings/errors)

Started by iqapps, March 20, 2007, 02:31:10 AM

Previous topic - Next topic

iqapps

Hi all!
SMF 1.1.2
Bridge 1.17
J! 1.0.12

1. In J! backend go to Site -> Statistic -> Search text it's one button to right Show Search Results! When I click on this button I get following varning message:
QuoteWarning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /customers/xxx.com/xxx.com/httpd.www/mambots/search/smf.search.php on line 188

What this have to do with smf's search function!?

2 I got this error in my Admincenter in smf forum error log

Quotehttp://www.xxx.com/forum/index.php?option=com_smf&Itemid=52&option=com_smf&Itemid=52&action=featuresettings 
8: Undefined offset: 1
Fil: /customers/xxx.com/xxx.com/httpd.www/forum/Sources/ModSettings.php
Rad: 245

How to fix this error!?


Regards
IQAPPS
 

Orstio

Quote1. In J! backend go to Site -> Statistic -> Search text it's one button to right Show Search Results! When I click on this button I get following varning message:

Insert Quote
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /customers/xxx.com/xxx.com/httpd.www/mambots/search/smf.search.php on line 188

Which smf.searchbot did you install?

Quote2 I got this error in my Admincenter in smf forum error log


Insert Quote
http://www.xxx.com/forum/index.php?option=com_smf&Itemid=52&option=com_smf&Itemid=52&action=featuresettings 
8: Undefined offset: 1
Fil: /customers/xxx.com/xxx.com/httpd.www/forum/Sources/ModSettings.php
Rad: 245


How to fix this error!?

Go to your SMF admin panel.  Click on Features and Options.  Scroll to the bottom, and you should see some PM settings, starting with "Enable reporting of personal messages".  Make sure these four settings are to your liking, and click Save.

iqapps

Hi

Thanks for your reply!

QuoteWhich smf.searchbot did you install?

from smf.searchbot.php

Quote/**

* Content code

* @package hello_world

* @Copyright (C) 2005 Robert Prince

* @ All rights reserved

* @ pc_cookbook is Free Software

* @ Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html

* @version 0.5

**/

Regards
IQAPPS


kai920

Has there been an update to 0.6?

I'm getting the same error on line 188: mysql_select_db($db_name, $db_connection);

From this post:
Quotethe smf header bot is not initialized in the backend...   which means that SMF's SSI is not run, so the search routine has not idea what the variables $db_name or $db_connection are...

Is there a quick fix?

Quote from: error messageWarning:  mysql_select_db(): supplied argument is not a valid MySQL-Link resource in F:\xampp\htdocs\kaitech\mambots\search\smf.search.php on line 188

Warning:  mysql_select_db(): supplied argument is not a valid MySQL-Link resource in F:\xampp\htdocs\kaitech\mambots\search\smf.search.php on line 188

kai920

#5
Hey, I just found this searchbot by handyphp.com. Requires registration to download. Not sure if it's been mentioned here before, but installed it quickly and no error messages. Appears to work.

Lots of configurable options as well!  :)

edit Noticed a couple of issues:

Advertisement: