kroz Posted April 16, 2015 at 08:24 PM Report Share #581395 Posted April 16, 2015 at 08:24 PM Boas , eu estou a tentar abrir as server files de um jogo , já instalei a versão do php, neste caso a ioncube_loader_win_5.5.dll . Mas continuo com este erro, http://prntscr.com/6ukv0a [b]Warning[/b]: require(C:\xampp\htdocs\app\config.php): failed to open stream: No such file or directory in [b]C:\xampp\htdocs\app\boot.php[/b] on line [b]22[/b] [b]Warning[/b]: require(C:\xampp\htdocs\app\config.php): failed to open stream: No such file or directory in [b]C:\xampp\htdocs\app\boot.php[/b] on line [b]22[/b] [b]Fatal error[/b]: require(): Failed opening required 'C:\xampp\htdocs\app\config.php' (include_path='.;C:\xampp\php\PEAR') in [b]C:\xampp\htdocs\app\boot.php[/b] on line [b]22[/b] isso é um print, se alguem poder ajudar agradecia. Link to comment Share on other sites More sharing options...
HappyHippyHippo Posted April 16, 2015 at 08:40 PM Report Share #581396 Posted April 16, 2015 at 08:40 PM as mensagens de erro são bem descritivas do problema : os ficheiros não existem no local que o script espera IRC : sim, é algo que ainda existe >> #p@p Portugol Plus Link to comment Share on other sites More sharing options...
kroz Posted April 16, 2015 at 09:01 PM Author Report Share #581398 Posted April 16, 2015 at 09:01 PM (edited) mas os ficheiros tão naquele caminho não percebo <?php define( "ROOT_PATH", realpath( dirname( dirname( __FILE__ ) ) ).DIRECTORY_SEPARATOR ); define( "APP_PATH", ROOT_PATH."app".DIRECTORY_SEPARATOR ); define( "LIB_PATH", ROOT_PATH."lib".DIRECTORY_SEPARATOR ); define( "MODEL_PATH", APP_PATH."model".DIRECTORY_SEPARATOR ); define( "VIEW_PATH", APP_PATH."view".DIRECTORY_SEPARATOR ); @set_magic_quotes_runtime( FALSE ); if ( isset( $_SERVER['HTTP_ACCEPT_ENCODING'] ) && substr_count( $_SERVER['HTTP_ACCEPT_ENCODING'], "gzip" ) ) { ob_implicit_flush( 0 ); if ( @ob_start( array( "ob_gzhandler", 9 ) ) ) { header( "Content-Encoding: gzip" ); } } header( "Date: ".gmdate( "D, d M Y H:i:s" )." GMT" ); header( "Last-Modified: ".gmdate( "D, d M Y H:i:s" )." GMT" ); if (isset($_GET["showerr"])) error_reporting (E_ALL); require LIB_PATH.'incube.php'; require( APP_PATH."config.php" ); require( LIB_PATH."webservice.php" ); require( LIB_PATH."widget.php" ); require( LIB_PATH."webhelper.php" ); require( APP_PATH."metadata.php" ); require( MODEL_PATH."base.php" ); require( APP_PATH."components.php" ); require( APP_PATH."mywidgets.php" ); $cookie = ClientData::getinstance( ); $AppConfig["system"]["lang"] = "en";//$cookie->uiLang; define( "LANG_PATH", APP_PATH."lang".DIRECTORY_SEPARATOR.$AppConfig["system"]["lang"].DIRECTORY_SEPARATOR ); define( "LANG_UI_PATH", LANG_PATH."ui".DIRECTORY_SEPARATOR ); require( LANG_PATH."lang.php" ); $tempdata = explode( " ", microtime( ) ); $data1 = $tempdata[0]; $data2 = $tempdata[1]; $__scriptStart = ( double )$data1 + ( double )$data2; ?> esse o codigo do boot Edited April 16, 2015 at 09:37 PM by apocsantos geshi Link to comment Share on other sites More sharing options...
chbcl Posted April 17, 2015 at 10:59 AM Report Share #581415 Posted April 17, 2015 at 10:59 AM Já experimentaste aceder no Explorer do Windows a C:\xampp\htdocs\app\config.php Se não experimentaste também não precisas, não vai existir la esse ficheiro xd Percebe, o pc não se engana xd developer @ filipealves.net filipealvesbcl [a] gmail.com github.com/filipealvesbcl Link to comment Share on other sites More sharing options...
kroz Posted April 17, 2015 at 11:54 AM Author Report Share #581418 Posted April 17, 2015 at 11:54 AM sim também tenho esse é onde se configurar o sever localhost pass username essas coisas , velocidade do servidor e tal, é que num host free normal funciona perfeitamente sem estes erros , deve ser preciso por alguma premissão que não faço ideia qual é. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now