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: [SOLVED] syntax error .... Main.php on line 205  (Read 2706 times)

0 Members and 1 Guest are viewing this topic.

Offline jimango

  • BeBot User
  • **
  • Posts: 36
  • Karma: +0/-0
[SOLVED] syntax error .... Main.php on line 205
« on: September 08, 2008, 02:50:12 pm »
I want to run Bebot at my debian server..
The server programs are all newest versons..
so what do i do wrong?
I did all in the Readme file right I think, so where is my mistake?

In the treads I read on the forum I see you always say that I should start the command by:
Quote
start.php
Since i dont find this file I have used StartBot.php

I do this to get the message:
Quote
php StartBot.php

The outcome is:
Quote
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /.../.../.../Main.php on line 205

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /.../.../.../Main.php on line 205

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /.../.../.../Main.php on line 205
The line repeat it self until I stop it..

Unless I write:
Quote
php Main.php
then it only show once.. but the prosess is still running (I have to Ctrl+Z to get the command line back).


This is probably something easy to fix but im an beginner to linux som i dont get it :(

Hope someone can give me a clue on what is wrong...

jimango
« Last Edit: September 10, 2008, 12:30:15 am by jimango »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: syntax error .... Main.php on line 205
« Reply #1 on: September 08, 2008, 03:26:06 pm »
what version are you running

Offline jimango

  • BeBot User
  • **
  • Posts: 36
  • Karma: +0/-0
Re: syntax error .... Main.php on line 205
« Reply #2 on: September 08, 2008, 03:32:24 pm »
bebot-hyborian.0.5.2.r19.zip is the file i downloaded..

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: syntax error .... Main.php on line 205
« Reply #3 on: September 08, 2008, 03:42:07 pm »
Get our Version, its a later release than the AoC Only Version, and includes everything that in it with some improvments

http://bebot.link/news-b10/bebot-v0-5-3-released-(development-version)/


Offline jimango

  • BeBot User
  • **
  • Posts: 36
  • Karma: +0/-0
Re: syntax error .... Main.php on line 205
« Reply #4 on: September 09, 2008, 10:39:24 am »
Thank you for the newer file.. but now i have the same error except on line 214

Could i t be that I don't put the right info into the "name and path of the binary executable"
I am a little confused here..

Thank you for your help in advance..


jim

Offline jimango

  • BeBot User
  • **
  • Posts: 36
  • Karma: +0/-0
Re: [SOLVED] syntax error .... Main.php on line 205
« Reply #5 on: September 10, 2008, 12:29:45 am »
I had both php4 and php5 at my server..

removed all of php4 and its components, then it located the php5 automaticly...

Now i only have to learn all this thing can do ;)


jim
 

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: [SOLVED] syntax error .... Main.php on line 205
« Reply #6 on: September 10, 2008, 03:12:30 am »
yer bebot doesnt work with 4 any more

 

* 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: 678
  • 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