Menu

#1 The key turns but the engine won't tick over

open
nobody
5
2004-03-05
2004-03-05
D Lewis
No

when trying to access the default skin index.php i
recive the following error

Fatal error: Cannot redeclare getcommand() in
/var/www/html/gift/gift_connection.php on line 61

thanx in advance

Discussion

  • Nobody/Anonymous

    Logged In: NO

    PHP does not support function overloading, nor is it
    possible to undefine or redefine previously-declared functions.

    this would be the reason why. getCommand is defined twice in
    gift_connection.php

     
  • Jelmer

    Jelmer - 2004-07-26

    Logged In: YES
    user_id=1087047

    For me the same.
    I use windows, and a working giftserver (giFTwin can use it).
    At this moment i use Reactor-lite server
    (www.reactorserver.com).

    Quote:
    " WindowsApache +PHP + Perl
    + Apache 2.0.48
    + PHP 4.3.4 + PEAR
    + Perl 5.8.0 (mini)
    + mod_php 4.3.4
    + SQLite 2.8.11
    + Turck MMCache 2.4.6 (It increases performance of PHP
    scripts by caching them in compiled state)
    + Jinzora 1.0"

    Platform: Windows XP Pro (nl)

     
  • Nobody/Anonymous

    Logged In: NO

    gift_connection.php on line 57~59
    delete or comment. like this,

    /*
    function getCommand() {
    return array_pop($this->command_arr);
    }*/

    maybe, this is not a exactly right solution.
    but, well working... ^-^;;

     

Log in to post a comment.