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

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

Author Topic: Cannot redeclare class Whois_Core  (Read 6619 times)

0 Members and 1 Guest are viewing this topic.

Offline Gizzer

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Cannot redeclare class Whois_Core
« on: November 10, 2008, 03:56:53 am »
Fatal error: Cannot redeclare class Whois_Core in C:\Documents and Settings\Gareth\Desktop\bebot-php_v5.2.6\bebot-hyborian\core\aoc\Whois.php on line 546

Using the latest bebot that was released today.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Cannot redeclare class Whois_Core
« Reply #1 on: November 10, 2008, 06:01:32 am »
check if you have a old file in just /core/

redeclaring class usually means u got 2 modules the same (maybe 1 is older)

Btw is thi an upgrade (installed ontop of another) or new folder

Offline Gizzer

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: Cannot redeclare class Whois_Core
« Reply #2 on: November 10, 2008, 04:35:52 pm »
I just put a new one over an old one.

I can try redoing whole folder.

Offline Gizzer

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: Cannot redeclare class Whois_Core
« Reply #3 on: November 10, 2008, 04:55:41 pm »
Okay I have just done that but I get a new error now

Warning: Invalid argument supplied for foreach() in C:\Documents and Settings\Ga
reth\Desktop\bebot-php_v5.2.6\bebot-hyborian\main\10_Roster.php on line 113
MySQL error (# 0) on query: SELECT char_id FROM users WHERE auto_invite=1
Unknown column 'auto_invite' in 'where clause'

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Cannot redeclare class Whois_Core
« Reply #4 on: November 10, 2008, 05:25:21 pm »
ill look into that error but im pretty sure ignoreing it will be fine

Offline Gizzer

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: Cannot redeclare class Whois_Core
« Reply #5 on: November 10, 2008, 05:30:39 pm »
yeah lol ... Closed it and restarted it and it worked. Bot is up and running ^^

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Cannot redeclare class Whois_Core
« Reply #6 on: November 10, 2008, 06:18:15 pm »
Those 2 Startup Issues are now Fixed, Thank you for pointing them out :D

 

* Recent Posts
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 ]


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

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