SMF Support > Русский (Russian)
Проблема | Директория темы указана неверно, пожалуйста, исправьте ...
(1/1)
Life-BEC:
Всем Привет!
Помогите пожалуйста!
Пришло такое письмо:
--- Quote ---There 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.
--- End quote ---
Теперь выдает такие ошибки:
--- Quote ---Warning: 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
........................
--- End quote ---
Ест такая ссылка:
--- Quote ---Директория темы указана неверно, пожалуйста, исправьте ее нажав на этот текст.
--- End quote ---
Проверил пути, все правильно.
Как можно решить эту проблему?
maestrosite.ru:
Сравните пути:
/srv/www/vhosts/top-ix.uz/* - вы запрашиваете
/var/www/vhosts/top-ix.uz/* - вам разрешены
Посмотрите, что у вас в /Settings.php прописано. А именно $boarddir, $sourcedir и $cachedir
Life-BEC:
maestrosite.ru, Большое Вам спасибо. Все заработало.
Не нашел кнопку + (плюс) :)
†MavN†:
на всяк случай воспользуйтесь repair_settings.php в разделе tools при скачивании найдете, ибо пути нужно править еще и для тем оформления
Life-BEC:
†MavN†, чесно говоря Я не очень понял Вас!
Но, через админку форума изменил пути тем оформления.
Navigation
[0] Message Index
Go to full version