jeferson_roseira
(usa Debian)
Enviado em 03/02/2009 - 12:33h
Aea pessoal..
instalei o wordpress e tudo ok
ao acessa localhost\wordpress apresenta a seguinte mensagem
404 Not found
Warning: require_once(/etc/wordpress/config-localhost.php) [function.require-once]: failed to open stream: No such file or directory in /etc/wordpress/wp-config.php on line 16
Fatal error: require_once() [function.require]: Failed opening required '/etc/wordpress/config-localhost.php' (include_path='.:/usr/share/php:/usr/share/pear') in /etc/wordpress/wp-config.php on line 16
como resover esse problema
segue meu /etc/wordpress/wp-config.php
<?php
/** WordPress's Debianised default master config file
Please do NOT edit and read about how the configuration works in the README.Debian
**/
#http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435289
#http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440572 (underscores, not dashes)
$debian_server = preg_replace('/:.*/', "", $_SERVER['HTTP_HOST']);
$debian_file = '/etc/wordpress/config-'.strtolower($debian_server).'.php';
if (!file_exists($debian_file)) {
header("HTTP/1.0 404 Not Found");
echo "404 Not found";
}
require_once($debian_file); ** Essa linha q esta apresentando o problema **
define('ABSPATH', '/usr/share/wordpress/');
require_once(ABSPATH.'wp-settings.php');
?>