The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I bought/install Flashchat now I'm getting this error :ermm:
Fatal error: Cannot redeclare getmicrotime() (previously declared in /xxx/xxx/bbs.metallifukinca.com/html/FlashChat/inc/common.php:123) in /xxxx/xxxx/bbs.metallifukinca.com/html/includes/functions_arcade.php on line 3 My poor arcade is gone ![]() Could somepne help me out? Thanks in advance |
#2
|
|||
|
|||
![]()
i guss that on your main file have
require(common.php) and require(/includes/functions_arcade.php) and i guss that in common.php there is a call to /functions_arcade.php in other words script calls same functions twice |
#3
|
||||
|
||||
![]()
any ideas if I can remove a line of code?
|
#4
|
|||
|
|||
![]()
surround one of the two functions getmicrotime with:
if(!function_exists(getmicrotime)){ the actual function.....(you know, this is a guess!) } |
#5
|
||||
|
||||
![]()
you wouldn't happen to know which one, would you?
There only one in each file, common.php and functions_arcade.php |
#6
|
|||
|
|||
![]()
you can do it on both, as the if condition just verify if one function is already called...
|
#7
|
||||
|
||||
![]()
so change this..
function getmicrotime() { to if(!function_exists(getmicrotime)){ ? |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|