L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 12:56:44 AM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Support for older versions > BeBot 0.2 support > Topic: Could not open input file: start.php
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Could not open input file: start.php  (Read 579 times)
0 Members and 1 Guest are viewing this topic.
Gladiatorrr
Freshman
*
Offline Offline

Posts: 5


Could not open input file: start.php
« on: April 02, 2007, 06:42:10 AM »

Hello,

I want to use BeBot for my Guild, but some reason, it doesn't want to start.
I have installed / configured MySQL  following the manual
I have Editted Bot.conf / MySQL.conf the right way ( I think )

And now, when I try to open start.php ( Using CMD  -   C:\BeBot\php start.php )   

It sais:   Could not open input file: start.php     

Could anyone help me please?  I've searched for the answer on this forums but I cant seem to find it..

Thanks in advance Smiley
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: Could not open input file: start.php
« Reply #1 on: April 02, 2007, 07:23:35 AM »

Did you execute that command in the directory that contains start.php?

Otherwise php got no clue where to look Smiley
Logged
Gladiatorrr
Freshman
*
Offline Offline

Posts: 5


Re: Could not open input file: start.php
« Reply #2 on: April 02, 2007, 08:28:36 AM »

I did... I think :p
Logged
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: Could not open input file: start.php
« Reply #3 on: April 02, 2007, 09:16:35 AM »

I think "the preferred way"tm to start the bot is to:
  • Start a command line interpeter with START->Run->"cmd"[ENTER]
  • Change directory to where the bot is (in your case: cd \BeBot)
  • Run startbot.bat (the .bat extention is optional)
 

Hope that helps.
Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Gladiatorrr
Freshman
*
Offline Offline

Posts: 5


Re: Could not open input file: start.php
« Reply #4 on: April 02, 2007, 10:02:29 AM »

What do you mean by: 

Change directory to where the bot is (in your case: cd \BeBot)

?



If I run startbot.bat I get an other error -_-

MySQL error (# 0) on query: Database not found or insufficient priviledges!
Access denied for user 'Blackbt'@'localhost' to database 'anarchy'

Tho I am pretty sure that the Database is installed correct.
« Last Edit: April 02, 2007, 12:55:44 PM by Gladiatorrr » Logged
Nanoflux
Freshman
*
Offline Offline

Posts: 8


Re: Could not open input file: start.php
« Reply #5 on: April 02, 2007, 01:25:31 PM »

Check username and password for that database + your sql server, if no luck try making new ones
Logged
Gladiatorrr
Freshman
*
Offline Offline

Posts: 5


Re: Could not open input file: start.php
« Reply #6 on: April 02, 2007, 01:39:03 PM »

I already did.. I've reinstalled the complete progess like 3 times keep getting the same error :s

And for the simplicity I've putted the same name / password onto everything so I cant mess things up... still not working :s

Logged
pusikas
Experienced
****
Offline Offline

Posts: 161


Re: Could not open input file: start.php
« Reply #7 on: April 02, 2007, 01:45:24 PM »

Maybe a problem with permissions?
Logged

Luuv  Bot-Keeper of Vengeance ^^*
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: Could not open input file: start.php
« Reply #8 on: April 02, 2007, 02:52:18 PM »

Ok, two likely scenarioes comes to mind here.

A) You have not granted access to the user Blackbt to the table anarchy or forgot to reload the privileges after such a grant has been made. To do this log into your MySQL server as root and type the commands:
Code:
GRANT ALL ON anarchy.* TO Blackbt@localhost IDENTIFIED BY 'passwordHere';
FLUSH PRIVILEGES;

or

B) The username is case sensitive so you might have granted access to blackbt@localhost or BlackBt@localhost or some other similar name. (perhaps even BlackBot@localhost). To verify this beyond all odds you can log into your MySQL server as root and type the commands:
Code:
use mysql;
SELECT * FROM db WHERE User='Blackbt';

It should yeld a reply similar to:
Code:
+-----------+------------+-----------+-------------+-------------+-------------+-------------+-------------+-----------+------------+-----------------+------------+------------+-----------------------+------------------+------------------+----------------+---------------------+--------------------+--------------+
| Host      | Db         | User      | Select_priv | Insert_priv | Update_priv | Delete_priv | Create_priv | Drop_priv | Grant_priv | References_priv | Index_priv | Alter_priv | Create_tmp_table_priv | Lock_tables_priv | Create_view_priv | Show_view_priv | Create_routine_priv | Alter_routine_priv | Execute_priv |
+-----------+------------+-----------+-------------+-------------+-------------+-------------+-------------+-----------+------------+-----------------+------------+------------+-----------------------+------------------+------------------+----------------+---------------------+--------------------+--------------+
| localhost | anarchy    | Blackbt   | Y           | Y           | Y           | Y           | Y           | Y         | N          | Y               | Y          | Y          | Y                     | Y                | Y                | Y              | Y                   | Y                  | Y            |
+-----------+------------+-----------+-------------+-------------+-------------+-------------+-------------+-----------+------------+-----------------+------------+------------+-----------------------+------------------+------------------+----------------+---------------------+--------------------+--------------+

Now if this lines is filled with 'N's or does not return see point A.

I hope that helps.


Note: To log in to your MySQL server as root type the command at the command line: mysql.exe -u root -p
Then at the prompt provide the root password you have set. (You have set a root password, haven't you?)

Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Gladiatorrr
Freshman
*
Offline Offline

Posts: 5


Re: Could not open input file: start.php
« Reply #9 on: April 08, 2007, 04:33:33 AM »

heey

sorry for the very very late response, but it worked =) 


Thanks guys!

Thank you so much I love the bot:)
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Support for older versions > BeBot 0.2 support > Topic: Could not open input file: start.php
« previous next »
 
Jump to:  

Recent
[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]

Starting Bot
by Allisande
[November 28, 2008, 07:08:21 AM]
Stats
Members
Total Members: 1243
Latest: Whackoeng
Stats
Total Posts: 11144
Total Topics: 1505
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 0
Guests: 17
Total: 17

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.177 seconds with 29 queries. (Pretty URLs adds 0.028s, 4q)
Loading...