Всем Привет!
Помогите пожалуйста!
Пришло такое письмо:
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Директория темы указана неверно, пожалуйста, исправьте ее нажав на этот текст.
Проверил пути, все правильно.
Как можно решить эту проблему?
Сравните пути:
/srv/www/vhosts/top-ix.uz/* - вы запрашиваете
/var/www/vhosts/top-ix.uz/* - вам разрешены
Посмотрите, что у вас в /Settings.php прописано. А именно $boarddir, $sourcedir и $cachedir
maestrosite.ru, Большое Вам спасибо. Все заработало.
Не нашел кнопку + (плюс) :)
на всяк случай воспользуйтесь repair_settings.php в разделе tools при скачивании найдете, ибо пути нужно править еще и для тем оформления
†MavN†, чесно говоря Я не очень понял Вас!
Но, через админку форума изменил пути тем оформления.