大家好,请教一个问题。我搭完eyeos 环境(windows + php5 + mysql+ eyeosv2.5)之后,输入http://127.0.0.1/eyeos为什么总是报错??
( ! ) EyeErrorException: Declaration of MMapAPI::getInstance() should be compatible with Kernel::getInstance($class) in C:\xampp\htdocs\eyeos\eyeos\system\kernel\services\MMap\implementations\MMapAPI.php on line 38
Call Stack
# Time Memory Function Location
1 0.0014 151168 {main}( ) ..\index.php:0
2 0.0052 188872 Bootstrap::init( ) ..\index.php:78
3 0.0957 1842576 Bootstrap::loadServices( array(3) ) ..\Bootstrap.php:71
4 0.1583 3058200 Bootstrap::loadService( string(4) ) ..\Bootstrap.php:169
5 0.1609 3137224 Bootstrap::load( string(58) ) ..\Bootstrap.php:151
6 0.1618 3154304 require_once( 'C:\xampp\htdocs\eyeos\eyeos\system\kernel\services\MMap\implementations\MMapAPI.php' ) ..\Bootstrap.php:81
7 0.1618 3156528 __lib_exceptions_error_handler( long, string(91), string(83), long, array(1) ) ..\Bootstrap.php:38( ! ) EyeErrorException: Declaration of MMapAPI::getInstance() should be compatible with Kernel::getInstance($class) in C:\xampp\htdocs\eyeos\eyeos\system\kernel\services\MMap\implementations\MMapAPI.php on line 38
Call Stack
# Time Memory Function Location
1 0.0014 151168 {main}( ) ..\index.php:0
2 0.0052 188872 Bootstrap::init( ) ..\index.php:78
3 0.0957 1842576 Bootstrap::loadServices( array(3) ) ..\Bootstrap.php:71
4 0.1583 3058200 Bootstrap::loadService( string(4) ) ..\Bootstrap.php:169
5 0.1609 3137224 Bootstrap::load( string(58) ) ..\Bootstrap.php:151
6 0.1618 3154304 require_once( 'C:\xampp\htdocs\eyeos\eyeos\system\kernel\services\MMap\implementations\MMapAPI.php' ) ..\Bootstrap.php:81
7 0.1618 3156528 __lib_exceptions_error_handler( long, string(91), string(83), long, array(1) ) ..\Bootstrap.php:38
( ! ) EyeBootstrapException: Cannot load service "MMap". in C:\xampp\htdocs\eyeos\eyeos\system\bootstrap\Bootstrap.php on line 160
Call Stack
# Time Memory Function Location
1 0.0014 151168 {main}( ) ..\index.php:0
2 0.0052 188872 Bootstrap::init( ) ..\index.php:78
3 0.0957 1842576 Bootstrap::loadServices( array(3) ) ..\Bootstrap.php:71
4 0.1583 3058200 Bootstrap::loadService( string(4) ) ..\Bootstrap.php:169
There is an error in this eyeOS installation, please contact the system administrator

解决方案 »

  1.   

    一般是php版本的问题
      

  2.   


    版本是PHP Version 5.4.7 
    System  Windows NT MARK3 5.1 build 2600 (Windows XP Professional Service Pack 3) i586  
    因为什么能具体点说么?
      

  3.   


    phpinfo()的结果如下:
    PHP Version 5.4.7 System  Windows NT MARK3 5.1 build 2600 (Windows XP Professional Service Pack 3) i586  
    Build Date  Sep 12 2012 23:44:56  
    Compiler  MSVC9 (Visual C++ 2008)  
    Architecture  x86  
    Configure Command  cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--disable-static-analyze" "--with-pgo"  
    Server API  Apache 2.4 Handler Apache Lounge  
    Virtual Directory Support  enabled  
    Configuration File (php.ini) Path  C:\windows  
    Loaded Configuration File  C:\xampp\php\php.ini  
    Scan this dir for additional .ini files  (none)  
    Additional .ini files parsed  (none)  
    PHP API  20100412  
    PHP Extension  20100525  
    Zend Extension  220100525  
    Zend Extension Build  API220100525,TS,VC9  
    PHP Extension Build  API20100525,TS,VC9  
    Debug Build  no  
    Thread Safety  enabled  
    Zend Signal Handling  disabled  
    Zend Memory Manager  enabled  
    Zend Multibyte Support  provided by mbstring  
    IPv6 Support  enabled  
    DTrace Support  disabled  
    Registered PHP Streams php, file, glob, data, http, ftp, zip, compress.zlib, compress.bzip2, phar 
    Registered Stream Socket Transports tcp, udp 
    Registered Stream Filters convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.*, bzip2.*  This program makes use of the Zend Scripting Language Engine:
    Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
        with Xdebug v2.2.2, Copyright (c) 2002-2013, by Derick Rethans
     
    --------------------------------------------------------------------------------
      

  4.   

    PHP Credits--------------------------------------------------------------------------------Configuration
    apache2handler
    Apache Version  Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7  
    Apache API Version  20120211  
    Server Administrator  postmaster@localhost  
    Hostname:Port  localhost:80  
    Max Requests  Per Child: 0 - Keep Alive: on - Max Per Connection: 100  
    Timeouts  Connection: 300 - Keep-Alive: 5  
    Virtual Server  No  
    Server Root  C:/xampp/apache  
    Loaded Modules  core mod_win32 mpm_winnt http_core mod_so mod_access_compat mod_actions mod_alias mod_allowmethods mod_asis mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dav_lock mod_dir mod_env mod_headers mod_include mod_info mod_isapi mod_log_config mod_cache_disk mod_mime mod_negotiation mod_proxy mod_proxy_ajp mod_rewrite mod_setenvif mod_ssl mod_status mod_php5  Directive Local Value Master Value 
    engine 1 1 
    last_modified 0 0 
    xbithack 0 0 
    Apache Environment
    Variable Value 
    MIBDIRS  C:/xampp/php/extras/mibs  
    MYSQL_HOME  \xampp\mysql\bin  
    OPENSSL_CONF  C:/xampp/apache/bin/openssl.cnf  
    PHP_PEAR_SYSCONF_DIR  \xampp\php  
    PHPRC  \xampp\php  
    TMP  \xampp\tmp  
    HTTP_ACCEPT  image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*  
    HTTP_REFERER  http://127.0.0.1/xampp/navi.php  
    HTTP_ACCEPT_LANGUAGE  zh-cn  
    HTTP_ACCEPT_ENCODING  gzip, deflate  
    HTTP_USER_AGENT  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; CIBA; InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)  
    HTTP_HOST  127.0.0.1  
    HTTP_CONNECTION  Keep-Alive  
    HTTP_COOKIE  ck_login_theme_20=Sugar5; __utma=96992031.2088416372.1363944848.1363944848.1363944848.1; __utmz=96992031.1363944848.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ck_login_id_20=1; ck_login_language_20=zh_cn  
    PATH  C:\Program Files\PC Connectivity Solution\;C:\Program Files\M1 Licensing\;C:\Program Files\Common Files\ArchestrA\;D:\osi\osi_cust\bin\hrs;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;D:\osi\osi_cust\scripts;D:\osi\osi_cust\bin;D:\osi\monarch\scripts;D:\osi\monarch\bin;D:\osi\monarchnet\bin;;C:\Program Files\GE Fanuc\Proficy iFIX;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin;C:\Program Files\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files\Microsoft Visual Studio 8\VC\Bin;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;D:\osg\OpenSceneGraph-2.8.0\bin;D:\osg\3rdParty\bin;C:\Program Files\Common Files\MatrikonOPC\Common;;C:\Program Files\StormII\Codec\QTSystem\  
    SystemRoot  C:\windows  
    COMSPEC  C:\windows\system32\cmd.exe  
    PATHEXT  .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH  
    WINDIR  C:\windows  
    SERVER_SIGNATURE  <address>Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 Server at 127.0.0.1 Port 80</address>  
    SERVER_SOFTWARE  Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7  
    SERVER_NAME  127.0.0.1  
    SERVER_ADDR  127.0.0.1  
    SERVER_PORT  80  
    REMOTE_ADDR  127.0.0.1  
    DOCUMENT_ROOT  C:/xampp/htdocs  
    REQUEST_SCHEME  http  
    CONTEXT_PREFIX  no value  
    CONTEXT_DOCUMENT_ROOT  C:/xampp/htdocs  
    SERVER_ADMIN  postmaster@localhost  
    SCRIPT_FILENAME  C:/xampp/htdocs/xampp/phpinfo.php  
    REMOTE_PORT  30631  
    GATEWAY_INTERFACE  CGI/1.1  
    SERVER_PROTOCOL  HTTP/1.1  
    REQUEST_METHOD  GET  
    QUERY_STRING  no value  
    REQUEST_URI  /xampp/phpinfo.php  
    SCRIPT_NAME  /xampp/phpinfo.php  
    HTTP Headers Information
    HTTP Request Headers 
    HTTP Request  GET /xampp/phpinfo.php HTTP/1.1  
    Accept  image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*  
    Referer  http://127.0.0.1/xampp/navi.php  
    Accept-Language  zh-cn  
    Accept-Encoding  gzip, deflate  
    User-Agent  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; CIBA; InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)  
    Host  127.0.0.1  
    Connection  Keep-Alive  
    Cookie  ck_login_theme_20=Sugar5; __utma=96992031.2088416372.1363944848.1363944848.1363944848.1; __utmz=96992031.1363944848.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ck_login_id_20=1; ck_login_language_20=zh_cn  
    HTTP Response Headers 
    X-Powered-By  PHP/5.4.7