Pesquisar na Comunidade
Mostrando resultados para as tags ''erro notice: undefined variable; notice: undefined variable''.
Encontrado 1 registro
-
Olá, boa tarde ,sou novo nessa área e estou com alguns problemas quando acesso o localhost do xamp aparece isto Notice: Undefined variable: config in C:\xampp\htdocs\index.php on line 6Notice: Use of undefined constant USING_WINDOWS - assumed 'USING_WINDOWS' in C:\xampp\htdocs\index.php on line 10Notice: Undefined variable: config in C:\xampp\htdocs\index.php on line 10Notice: Use of undefined constant USING_WINDOWS - assumed 'USING_WINDOWS' in C:\xampp\htdocs\index.php on line 12Notice: Undefined variable: config in C:\xampp\htdocs\index.php on line 12Notice: Undefined variable: config in C:\xampp\htdocs\index.php on line 62Notice: Undefined variable: config in C:\xampp\htdocs\index.php on line 65Notice: Undefined variable: config in C:\xampp\htdocs\index.php on line 68Notice: date_default_timezone_set(): Timezone ID '' is invalid in C:\xampp\htdocs\index.php on line 68Notice: Undefined variable: config in C:\xampp\htdocs\index.php on line 71Template could not be loaded. Err code: 135604042010 No meu index php está assim <?php session_start(); ob_start(); $start = microtime(true); require("config.php"); if($config['server_name'] == "%SERVER_NAME%") { header("Location: install/"); exit; } if(USING_WINDOWS && $config['engine']['loadManagement']) exit("Load management is not available on Windows. Please switch it off in config.php"); else if(USING_WINDOWS == 0 && $config['engine']['loadManagement']) { $process = sys_getloadavg(); if ($process[0] > $config['engine']['maxLoad']) { header('HTTP/1.1 503 Too busy, try again later'); die('IDE Dropped connection with you. The server is too busy. Please try again later.'); } } /* |--------------------------------------------------------------- | PHP ERROR REPORTING LEVEL |--------------------------------------------------------------- | | By default CI & IDE runs with error reporting set to ALL. For security | reasons you are encouraged to change this when your site goes live. | For more info visit: http://www.php.net/error_reporting | */ error_reporting(E_ALL); /* |--------------------------------------------------------------- | SYSTEM FOLDER NAME |--------------------------------------------------------------- | | This variable must contain the name of your "system" folder. | Include the path if the folder is not in the same directory | as this file. | | NO TRAILING SLASH! | */ $system_folder = "system"; /* |--------------------------------------------------------------- | APPLICATION FOLDER NAME |--------------------------------------------------------------- | | If you want this front controller to use a different "application" | folder then the default one you can set its name here. The folder | can also be renamed or relocated anywhere on your server. | | | NO TRAILING SLASH! | */ $application_folder = "application"; /* | Define template name */ $template = $config['layout']; /* Full website address including HTTP:// Without slash at the end! */ $website = $config['website']; /* Default time zone for the server must be set here. */ date_default_timezone_set($config['timezone']); /* Set the default title of a website. */ $title = $config['title']; /* |=============================================================== | END OF USER CONFIGURABLE SETTINGS |=============================================================== */ require("system/api.php"); if(!DEFINED("API_KEY") or !DEFINED("API_PASS")) exit("This server does not have API_KEY or API_PASS set properly. If you are administrator of this server check the system/api.php in order to set the right properties, or try reinstalling this system. Err code: 150024042010"); require("system/version.php"); if(!DEFINED("VERSION")) exit("This server has not specified version of running system. If you are administrator of this server check the system/version.php file or download & install new version of this system. Err code: 154124042010"); /* Gostaria que me dessem uma luz, desde já agradeço.