Instalação

Browse: Home / Instalação / Erro ao importar banco de dados

Info

Tags

  • Nenhuma tag ainda.

Erro ao importar banco de dados (4 posts)

Olá, instalei o WordPress no servidor eu importei os dados do site que eu tenho no meu computador e até então tudo bem, mas na hora em que ativei o tema que já estava pronto apareceu a seguinte mensagem no topo:

Warning: Cannot modify header information - headers already sent by (output started at /home/vistaaur/public_html/sitenovo/wp-content/themes/aurea/functions.php:24) in /home/vistaaur/public_html/sitenovo/wp-includes/functions.php on line 861

Warning: Cannot modify header information - headers already sent by (output started at /home/vistaaur/public_html/sitenovo/wp-content/themes/aurea/functions.php:24) in /home/vistaaur/public_html/sitenovo/wp-includes/functions.php on line 862

Entrei no arquivo "wp-includes/functions.php" para ver o que eram essas linhas e lá aparece @since 2.7.0 como pode ver abaixo:

/**
 * Retrieve user interface setting value based on setting name.
 *
 * @package WordPress
 * @subpackage Option
 * @since 2.7.0
 *
 * @param string $name The name of the setting.
 * @param string $default Optional default value to return when $name is not set.
 * @return mixed the last saved user setting or the default value/false if it doesn't exist.
 */

A versão do servidor é 3.3.1, será que este 2.7.0 é a versão da minha máquina e por isso está dando erro? Se for alguém pdoe me orientar no que tenho que fazer?

 

Obrigado!

  • # Anônimo
  • Não registrado
  • 3 mêses

se tem q olha na linha 861 e 862 pra ver qual é o error.

Isso eu já fiz. Ontem tava dando pau e hoje voltou sozinho, mas com a mensagem:


Warning: Cannot modify header information - headers already sent by (output started at /home/vistaaur/public_html/sitenovo/wp-content/themes/aurea/functions.php:21) in /home/vistaaur/public_html/sitenovo/wp-includes/functions.php on line 861

Warning: Cannot modify header information - headers already sent by (output started at /home/vistaaur/public_html/sitenovo/wp-content/themes/aurea/functions.php:21) in /home/vistaaur/public_html/sitenovo/wp-includes/functions.php on line 862

  • # Anônimo
  • Não registrado
  • 3 mêses

Colei o código abaixo em cima das linhas 861 e 862 e funciounou:

if (isset($_GET['page']))

Obrigado Alyen!

  • # Anônimo
  • Não registrado
  • 3 mêses
148 posts in 50 topics over 31 months by 52 of 599 members. Latest: Drabkarly, jefersonpsousa, nadaf