collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Could not open input file: start.php  (Read 4732 times)

0 Members and 1 Guest are viewing this topic.

Offline Gladiatorrr

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Could not open input file: start.php
« on: April 02, 2007, 01:42:10 pm »
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 :)

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Could not open input file: start.php
« Reply #1 on: April 02, 2007, 02:23:35 pm »
Did you execute that command in the directory that contains start.php?

Otherwise php got no clue where to look :)

Offline Gladiatorrr

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Could not open input file: start.php
« Reply #2 on: April 02, 2007, 03:28:36 pm »
I did... I think :p

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: Could not open input file: start.php
« Reply #3 on: April 02, 2007, 04:16:35 pm »
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.
The only problem that can't be solved by adding another wrapper is having too many wrappers.

Offline Gladiatorrr

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Could not open input file: start.php
« Reply #4 on: April 02, 2007, 05:02:29 pm »
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, 07:55:44 pm by Gladiatorrr »

Offline Nanoflux

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Could not open input file: start.php
« Reply #5 on: April 02, 2007, 08:25:31 pm »
Check username and password for that database + your sql server, if no luck try making new ones

Offline Gladiatorrr

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Could not open input file: start.php
« Reply #6 on: April 02, 2007, 08: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


Offline pusikas

  • BeBot Apprentice
  • ***
  • Posts: 161
  • Karma: +0/-0
Re: Could not open input file: start.php
« Reply #7 on: April 02, 2007, 08:45:24 pm »
Maybe a problem with permissions?
Luuv  Bot-Keeper of Vengeance ^^*

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: Could not open input file: start.php
« Reply #8 on: April 02, 2007, 09: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: [Select]
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: [Select]
use mysql;
SELECT * FROM db WHERE User='Blackbt';

It should yeld a reply similar to:
Code: [Select]
+-----------+------------+-----------+-------------+-------------+-------------+-------------+-------------+-----------+------------+-----------------+------------+------------+-----------------------+------------------+------------------+----------------+---------------------+--------------------+--------------+
| 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?)

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

Offline Gladiatorrr

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Could not open input file: start.php
« Reply #9 on: April 08, 2007, 11:33:33 am »
heey

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


Thanks guys!

Thank you so much I love the bot:)

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 310
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal