Simple Machines Community Forum

SMF Support => Language Specific Support => Русский (Russian) => Topic started by: Life-BEC on February 27, 2012, 10:21:16 AM

Title: Проблема | Директория темы указана неверно, пожалуйста, исправьте ...
Post by: Life-BEC on February 27, 2012, 10:21:16 AM
Всем Привет!
Помогите пожалуйста!
Пришло такое письмо:
QuoteThere has been a problem with the database!

This is a notice email to let you know that SMF could not connect to the database, contact your host if this continues.
Теперь выдает такие ошибки:
QuoteWarning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/vhosts/top-ix.uz/subdomains/new/httpdocs) is not within the allowed path(s): (/var/www/vhosts/top-ix.uz/subdomains/new/httpdocs:/tmp) in /var/www/vhosts/top-ix.uz/subdomains/new/httpdocs/Settings.php on line 51

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/vhosts/top-ix.uz/subdomains/new/httpdocs/Sources) is not within the allowed path(s): (/var/www/vhosts/top-ix.uz/subdomains/new/httpdocs:/tmp) in /var/www/vhosts/top-ix.uz/subdomains/new/httpdocs/Settings.php on line 53

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/vhosts/top-ix.uz/subdomains/new/httpdocs/cache) is not within the allowed path(s): (/var/www/vhosts/top-ix.uz/subdomains/new/httpdocs:/tmp) in /var/www/vhosts/top-ix.uz/subdomains/new/httpdocs/Settings.php on line 55

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/vhosts/top-ix.uz/subdomains/new/httpdocs/Themes/default/languages/index.english.php) is not within the allowed path(s): (/var/www/vhosts/top-ix.uz/subdomains/new/httpdocs:/tmp) in /var/www/vhosts/top-ix.uz/subdomains/new/httpdocs/Sources/Load.php on line 1943

........................
Ест такая ссылка:
QuoteДиректория темы указана неверно, пожалуйста, исправьте ее нажав на этот текст.
Проверил пути, все правильно.
Как можно решить эту проблему?
Title: Re: Проблема | Директория темы указана неверно, пожалуйста, исправьте ...
Post by: maestrosite.ru on February 27, 2012, 10:35:47 AM
Сравните пути:
/srv/www/vhosts/top-ix.uz/* - вы запрашиваете
/var/www/vhosts/top-ix.uz/* - вам разрешены

Посмотрите, что у вас в /Settings.php прописано. А именно $boarddir, $sourcedir и $cachedir
Title: Re: Проблема | Директория темы указана неверно, пожалуйста, исправьте ...
Post by: Life-BEC on February 28, 2012, 10:04:27 AM
maestrosite.ru, Большое Вам спасибо. Все заработало.
Не нашел кнопку + (плюс) :)
Title: Re: Проблема | Директория темы указана неверно, пожалуйста, исправьте ...
Post by: †MavN† on February 28, 2012, 10:05:06 PM
на всяк случай воспользуйтесь repair_settings.php в разделе tools при скачивании найдете, ибо пути нужно править еще и для тем оформления
Title: Re: Проблема | Директория темы указана неверно, пожалуйста, исправьте ...
Post by: Life-BEC on March 01, 2012, 09:38:44 AM
†MavN†, чесно говоря Я не очень понял Вас!
Но, через админку форума изменил пути тем оформления.