НЕ работает добавления файлов с компа!

Всем привет, проблема заключается в том что, после того как я перенес сайт на движке вордпрес на другой хостинг, у меня не работает функция добавления файла с компьютера на сайт, когда добавляю статью. Выдает такую ошибку

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/a3300433/public_html/wp-content/uploads/2009/03) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/a3300433/public_html/wp-content/uploads/2009) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/a3300433/public_html/wp-content/uploads/2009) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/a3300433/public_html/wp-content/uploads) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/a3300433/public_html/wp-content/uploads) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/a3300433/public_html/wp-content) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/a3300433/public_html/wp-content) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/a3300433/public_html) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/a3300433/public_html) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/a3300433) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/a3300433) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/webmastr:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/webmastr/public_html/wp-includes/functions.php on line 1746

Открыл файл functions.php но там много разных кодов, не знаю что редактировать что бы заработала функция добавления файлов!
Что мне сделать, что бы работала функция добавления файлов с компьютера?

В настройках PHP указан параметр open_basedir, который и не позволяет загружать файлы в произвольный каталог. Пишите хостеру.

А это разве нельзя поправить в functions.php?

Если бы было можно, то любой доморощенный хакер смог бы за нефиг делать переломать все сайты на хостнге 🙂

На хостинге мне ответили чтобы я настроил путь с /home/a3300433/public_html на /home/webmastr/public_html,
но я не знаю как это сделать? Может кто ни будь подскажет как это сделать?

Кто нибудь может помочь настроить путь с /home/a3300433/public_html на /home/webmastr/public_html

заранее спасибо!

Люди помогите пожалуйста, думаю не трудно для знающего человека настроить путь блога с /home/a3300433/public_html на /home/webmastr/public_html , где можно это сделать?

этот вопрос надо у хостера спрашивать

Anonymous
Отправить
Ответ на: