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

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

Author Topic: start.php Doesn't start  (Read 6753 times)

0 Members and 1 Guest are viewing this topic.

Offline Hotshot

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: start.php Doesn't start
« Reply #15 on: August 10, 2006, 02:12:45 pm »
Im completely new, and i cant find a easy to use program to open the php files. I downloaded php4 but i couldnt figure out how to use it. Er. Help? Thanks.

Offline plugz

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: start.php Doesn't start
« Reply #16 on: September 06, 2006, 04:05:01 pm »
Having a similar issue as well in startup of Bebot
WinXP SP2, PHP5, latest non-beta release of MySQL

Code: [Select]
Parse error: parse error, unexpected '!' in E:\Games\BeBot\BeBot_v0.2.8\conf\Bot
.conf on line 33

E:\Games\BeBot\BeBot_v0.2.8>pause
Press any key to continue . . .

The Bot.conf line 33 is the command line, as follows:

Code: [Select]
$command_prefix = "!";           // Please make sure this is in a Reg-Exp format... (exampe: for "." use "\.")
No change from original

So, in this instance, how come I can't it to start up?
Sorry, I'm a PHP/SQL coding dummie, so I don't have the know-how to debug this myself

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: start.php Doesn't start
« Reply #17 on: September 06, 2006, 06:11:11 pm »
First off don't use the batch file. Just type "php start.php"
Eternalist
General of The Syndicate

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: start.php Doesn't start
« Reply #18 on: September 06, 2006, 06:29:25 pm »
@Malosar
For most Windows users, there is no "just type", Windows hides command line and doesn't require their users to ever touch it.
Which is why there is a .bat file. In addition the .bat file ensures that the correct php.ini is passed so that the users don't have to worry about aokex not being loaded and getting login errors.

@plugz
Make sure you also check the preceeding line's as the error does not neccecarily tell you which line the actual error is on, but rather the line at which it ran into it causing a problem.

If you'r still stuck, strip username and password out of the file and drop me a PM with it attched.
BeBot Founder and Fixer Kingpin

Offline plugz

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: start.php Doesn't start
« Reply #19 on: September 07, 2006, 06:54:28 am »

@plugz
Make sure you also check the preceeding line's as the error does not neccecarily tell you which line the actual error is on, but rather the line at which it ran into it causing a problem.

If you'r still stuck, strip username and password out of the file and drop me a PM with it attched.

That got me on track at least, now I'm getting access denied errors from SQL, so will go back and review the install text to see if I misconstrued something there

thanks khalem

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: start.php Doesn't start
« Reply #20 on: September 07, 2006, 07:07:33 am »
BeBot Founder and Fixer Kingpin

Offline plugz

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: start.php Doesn't start
« Reply #21 on: September 07, 2006, 07:25:13 am »
Be sure to checkout http://bebot.link/index.php/topic,384.0.html

Did that and followed it to the letter, unable to find a database of the name I gave it when searching my C drive, since I let it install on default paths

Edit*
Got DB set up, for the ; at the end of the commands
running start.bat, gives error argument for line 63 of the mysql.php file

Code: [Select]
$conn = mysql_connect($this -> SERVER, $this -> USER, $this -> PASS, true);
In MySql, where we are supposed to input our login info
Code: [Select]
var $CONN = "";
Install.txt had no mention of inputting info for this line
« Last Edit: September 07, 2006, 07:33:35 am by plugz »

Offline plugz

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: start.php Doesn't start
« Reply #22 on: September 07, 2006, 07:35:20 am »
Mmm, I think I got it finally
in MySQL.conf, removed the @localhost in username and it worked


Be sure to checkout http://bebot.link/index.php/topic,384.0.html

Did that and followed it to the letter, unable to find a database of the name I gave it when searching my C drive, since I let it install on default paths

Edit*
Got DB set up, for the ; at the end of the commands
running start.bat, gives error argument for line 63 of the mysql.php file

Code: [Select]
$conn = mysql_connect($this -> SERVER, $this -> USER, $this -> PASS, true);
In MySql, where we are supposed to input our login info
Code: [Select]
var $CONN = "";
Install.txt had no mention of inputting info for this line


Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: start.php Doesn't start
« Reply #23 on: September 17, 2006, 10:38:10 pm »
I an running my bot from a website that has php and my sql
i can get main.php to run but it shuts down every so often
i cant get start.php to run i get this..
Proxy Error
The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request GET /bebot2/start.php.

Reason: Document contains no data

« Last Edit: September 17, 2006, 10:42:41 pm by Chris96 »

Offline Vhab

  • Contributor
  • *******
  • Posts: 180
  • Karma: +0/-0
    • VhaBot Forum
Re: start.php Doesn't start
« Reply #24 on: September 17, 2006, 11:25:29 pm »
erm, do NOT run the bot as a website..

Offline Naturalistic

  • Contributor
  • *******
  • Posts: 221
  • Karma: +0/-0
Re: start.php Doesn't start
« Reply #25 on: September 18, 2006, 09:04:57 am »
This is a chat bot, there is no website capabilities (even security issues possibly) if you tried to run it on a website.

It has to be done from a secure directory, and locally run.
220/25 Eternalist Doctor
-----------------------------
Campalot Coding Co-ordinator and Super Admin
http://www.campalot.info/index.php

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: start.php Doesn't start
« Reply #26 on: September 18, 2006, 10:04:40 pm »
This is probably because of php or apache timing out your request.

Background processes like BeBot are not designed to be launched by a web browser, and it never should be launched that way. Ever.
BeBot Founder and Fixer Kingpin

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


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


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

* Who's Online
  • Dot Guests: 107
  • 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