vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Talkerbot V2.2.3 (AI Posting Bot) (https://vborg.vbsupport.ru/showthread.php?t=126386)

Romeos Tune 09-24-2006 02:21 AM

Ok, got it up and running but now when you make a post the result is this:

Database error in vBulletin 3.6.0:

Invalid SQL:
INSERT INTO session (userid,lastactivity,host) VALUE ('604',1159067932,'127.0.0.1');

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'VALUE ('604',1159067932,'127.0.0.1')' at line 1
Error Number : 1064
Date : Saturday, September 23rd 2006 @ 10:18:31 PM
Script : http://battlewang.net/forum/newthrea...ostthread&f=19
Referrer : http://battlewang.net/forum/newthrea...newthread&f=19
IP Address : xxx.xx.xxxx
Username : Storm
Classname : vb_database

Any ideas anyone?

Romeos Tune 09-24-2006 02:22 AM

Oh, btw......The post is made and the bot responds but that error pops up so that will definitely cause problems.

Spin Doctor 09-24-2006 04:53 AM

Quote:

Im sorry but I was not able to form a reply right now
thats all he says!

gooberface 09-24-2006 08:21 AM

I have set both of the paths as instructed, and have spent hours confirming they are correct because the botloader won't work. I have chmod everything to 0777. I can't figure out what the deal is, but I saw this error many times throughout the thread:

Quote:

?php /* Program E Copyright 2002, Paul Rydell This file is part of Program E. Program E is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Program E is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Program E; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ //Disable Error Reporting Since this code needs alot of work to become completely clean and error free under stict php setups. //error_reporting(0); # Turn this off in case people have it on. set_magic_quotes_runtime(0); # Can't turn off magic quotes gpc so just redo what it did if it is on. if (get_magic_quotes_gpc()) { foreach($_GET as $k=>$v) $_GET[$k] = stripslashes($v); foreach($_POST as $k=>$v) $_POST[$k] = stripslashes($v); foreach($_COOKIE as $k=>$v) $_COOKIE[$k] = stripslashes($v); } define("LOOPINGERRORMSG", "Oops. I wasn't paying attention. Tell me again what is going on."); define("LOOPINGLIMIT",75); // -1 for no limit define("RANDOMCHANCECLEAN",200); // -1 to never check define("MINUTESTOKEEPDATA",300); // -1 to keep forever # This is where all the AIML and startup.xml resides $rootdir= "/home/dkaid/public_html/forums/alice/aiml/"; require('/home/dkaid/public_html/forums/includes/config.php'); $DB_HOST=$config['MasterServer']['servername']; $DB_UNAME=$config['MasterServer']['username']; $DB_PWORD=$config['MasterServer']['password']; $DB_DB=$config['Database']['dbname']; $boterrors=""; mysql_connect($DB_HOST,$DB_UNAME,$DB_PWORD) or $boterrors = $boterrors . "Could not connect to database.\n"; @mysql_select_db($DB_DB) or $boterrors = $boterrors . "Unable to select database\n"; ?>
Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/dkaid/public_html/forums/alice/src/admin/botloaderfuncs.php on line 27

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/dkaid/public_html/forums/alice/src/admin/botloaderfuncs.php on line 27

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/dkaid/public_html/forums/alice/src/admin/botloaderfuncs.php on line 31

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/dkaid/public_html/forums/alice/src/admin/botloaderfuncs.php on line 31

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/dkaid/public_html/forums/alice/src/admin/botloaderfuncs.php on line 35

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/dkaid/public_html/forums/alice/src/admin/botloaderfuncs.php on line 35

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/dkaid/public_html/forums/alice/src/admin/botloaderfuncs.php on line 44

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/dkaid/public_html/forums/alice/src/admin/botloaderfuncs.php on line 44

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/dkaid/public_html/forums/alice/src/admin/botloaderfuncs.php on line 59

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/dkaid/public_html/forums/alice/src/admin/botloaderfuncs.php on line 59
Loading startup.xml

Warning: fopen(startup.xml) [function.fopen]: failed to open stream: No such file or directory in /home/dkaid/public_html/forums/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input
that is my error. I have confirmed everything correct. I have reuploaded everything, painstakingly followed the instructions letter for letter...

What could be the problem?

Gizmo5h1t3 09-24-2006 08:54 AM

are you sure your filepath is "forums", and not "forum"??

Quote:

/home/dkaid/public_html/forums/alice/src/admin/botloaderfuncs.php on line 508

gooberface 09-24-2006 09:08 AM

Yes, it is forums. Thanks though. Does anybody have ANY sort of idea it could be? I've read this entire thread at least 3 times now, and quintuple checked everything. This is killing me! This bot would be awesome.

hotwheels 09-24-2006 12:40 PM

gooberface, try reuploading all of the files and overwrite them, be sure to only set the "/home/dkaid/public_html/forums/alice/aiml/"; '/home/dkaid/public_html/forums/includes/config.php' and nothing else, reupload the xml in your admincp, then run the bot loader......

Neal-UK 09-24-2006 12:59 PM

How can I uninstall this product please, such as the db alterations and phrases?

gooberface 09-24-2006 03:40 PM

Ok, I reuploaded everything AGAIN, and this time it went a little further. I don't understand where the difference would have been, but it did make a change. Here is the new errors I am seeing:

Quote:

Warning: main(home/dkaid/public_html/forums/includes/config.php) [function.main]: failed to open stream: No such file or directory in /home/dkaid/public_html/forums/alice/src/admin/dbprefs.php on line 49

Warning: main(home/dkaid/public_html/forums/includes/config.php) [function.main]: failed to open stream: No such file or directory in /home/dkaid/public_html/forums/alice/src/admin/dbprefs.php on line 49

Fatal error: main() [function.require]: Failed opening required 'home/dkaid/public_html/forums/includes/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dkaid/public_html/forums/alice/src/admin/dbprefs.php on line 49
Any clue what this means?

nitro 09-24-2006 05:05 PM

Could be your missing the preceding / from the path(s) you entered ? as it should read /home/... not home/...


All times are GMT. The time now is 12:23 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01702 seconds
  • Memory Usage 1,756KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete