Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Language specific forums Russian (Русский) Веб сервер
  • Search

[РЕШЕНО] шаблон default и open_basedir restriction in effect

Вопросы по работе Веб сервера
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
dejurin
Posts: 2
Joined: Fri Dec 30, 2016 1:15 am

[РЕШЕНО] шаблон default и open_basedir restriction in effect
  • Quote

Post by dejurin » Fri Dec 30, 2016 11:49 am

Проблема такая:
в папке public_html находится только один файл index.php все остальные файлы вне папки public_html, а если быть точнее в папке private (сделано это для безопасности).
Если я ставлю default соответственно я получаю ошибку связанную с open_basedir restriction in effect
"Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php"
Я иду к файлу vim /home/admin/conf/web/httpd.conf и правлю

Code: Select all

php_admin_value open_basedir /home/admin/web/mysite.ru/public_html:/home/admin/tmp
на

Code: Select all

php_admin_value open_basedir /home/admin/web/mysite.ru:/home/admin/tmp
Перезагружаюсь и все равно ошибка, как быть?

Code: Select all

CentOS Linux release 7.3.1611 (Core) 	
vesta 0.9.8 (x86_64)	Релиз:17
UPD
РЕШЕНИЕ: viewtopic.php?t=13404
Top

one
Posts: 392
Joined: Tue Sep 15, 2015 4:11 pm

Os: Debian 8x
Web: apache + nginx
Re: [РЕШЕНО] шаблон default и open_basedir restriction in effect
  • Quote

Post by one » Wed Jan 04, 2017 8:31 am

При переносе сайта на OpenCart 2.3.0.2 с сервера с Vesta 16 (c nginx) на сервер c Vesta 17 (без nginx) тоже столкнулся с подобной проблемой и на мой взгляд мистика какая то. По какой то причине при заходе в панель управления OpenCart не может писать сессии в tmp папку. Все настройки Vesta по умолчанию. Решения по форуму не нашел.
arning: is_file(): open_basedir restriction in effect. File(/home/user/web/site.com/public_html/system/../../vendor/autoload.php) is not within the allowed path(s): (/home/user/web/site.com/public_html:/home/user/tmp) in /home/user/web/site.com/public_html/vqmod/vqcache/vq2-system_startup.php on line 89

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/user/web/site.com/public_html/vqmod/vqcache/vq2-system_startup.php:89) in /home/user/web/site.com/public_html/system/library/session.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /home/user/web/site.com/public_html/vqmod/vqcache/vq2-system_startup.php:89) in /home/user/web/site.com/public_html/system/library/session.php on line 50
Top

one
Posts: 392
Joined: Tue Sep 15, 2015 4:11 pm

Os: Debian 8x
Web: apache + nginx
Re: [РЕШЕНО] шаблон default и open_basedir restriction in effect
  • Quote

Post by one » Wed Jan 04, 2017 2:42 pm

В общем решение нашлось тут и дубль тут и не имеет к панели никакого отношения.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Веб сервер”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password