Suporte » Temas » mensagem de erro PHP

  • Olá, criei um site de vídeo e sempre que tento colocar um thumbnail, uma foto em miniatura pro meu post a imagem nao aparece, e quando eu abro o link da imagem aparece um link mt estranho e com essa mensagem :

    PHP Error Message

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/pt-br/wp-content/uploads/2010/09/125×125.gif) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a9932764/public_html/pt-br/wp-content/themes/eVid/timthumb.php on line 787

    Free Web Hosting

    thimthumb.php

    784 function get_document_root ($src) {
    785
    786 // check for unix servers
    787 if (file_exists ($_SERVER[‘DOCUMENT_ROOT’] . ‘/’ . $src)) {
    788 return $_SERVER[‘DOCUMENT_ROOT’];
    789 }
    790
    791 // check from script filename (to get all directories to timthumb location)
    792 $parts = array_diff (explode (‘/’, $_SERVER[‘SCRIPT_FILENAME’]), explode (‘/’, $_SERVER[‘DOCUMENT_ROOT’]));
    793
    794 $path = ‘./’;

    algem sabe como solucionar esse meu problema ?

Visualizando 3 respostas - 1 até 3 (de um total de 3)
Visualizando 3 respostas - 1 até 3 (de um total de 3)
  • O tópico ‘mensagem de erro PHP’ está fechado para novas respostas.