Проблема | Директория темы указана неверно, пожалуйста, исправьте ...

Started by Life-BEC, February 27, 2012, 10:21:16 AM

Previous topic - Next topic

Life-BEC

Всем Привет!
Помогите пожалуйста!
Пришло такое письмо:
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Директория темы указана неверно, пожалуйста, исправьте ее нажав на этот текст.
Проверил пути, все правильно.
Как можно решить эту проблему?

maestrosite.ru

Сравните пути:
/srv/www/vhosts/top-ix.uz/* - вы запрашиваете
/var/www/vhosts/top-ix.uz/* - вам разрешены

Посмотрите, что у вас в /Settings.php прописано. А именно $boarddir, $sourcedir и $cachedir
First of all, sorry for my english. По-русски у меня получается значительно лучше.

Проблема на форуме? Сначала посмотрите лог ошибок вашего форума и лог ошибок сайта (error_log)

You can try other modifications - see demo

Life-BEC

hxxp:maestrosite.ru [nonactive], Большое Вам спасибо. Все заработало.
Не нашел кнопку + (плюс) :)

†MavN†

на всяк случай воспользуйтесь repair_settings.php в разделе tools при скачивании найдете, ибо пути нужно править еще и для тем оформления

Life-BEC

†MavN†, чесно говоря Я не очень понял Вас!
Но, через админку форума изменил пути тем оформления.

Advertisement: