Sentora problem - open_basedir - prestashop
10-26-2016, 12:14 AM
(This post was last modified: 10-26-2016, 12:20 AM by jacekl.)
Hi guys!
I have a strange problem, and so the system logs showing me a strange line.
Any why is :
Any why not is:
Prestashop SEO & URL
Thanks.
I have a strange problem, and so the system logs showing me a strange line.
PHP Code:
[Tue Oct 25 15:55:32.554510 2016] [:error] [pid 16957] [client 0.0.0.0:52413] PHP Warning: include_once(): open_basedir restriction in effect. File(/var/sentora/hostdata/userx/public_html/shop_domaintld_plinit.php) is not within the allowed path(s):
PHP Code:
File(/var/sentora/hostdata/userx/public_html/shop_domaintld_plinit.php)
Any why not is:
Code:
File(/var/sentora/hostdata/userx/public_html/shop_domaintld_pl/init.php)
Prestashop SEO & URL
Quote:/etc/sentora/configs/apache/httpd-vhosts.conf
Code:
# DOMAIN: sklep.domaintld.pl
<virtualhost *:80>
ServerName sklep.domaintld.pl
ServerAlias www.sklep.domaintld.pl
ServerAdmin dido@domaintld.pl
DocumentRoot "/var/sentora/hostdata/dido/public_html/sklep_domaintld_pl"
php_admin_value open_basedir "/var/sentora/hostdata/dido/public_html/sklep_domaintld_pl:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate$
ErrorLog "/var/sentora/logs/domains/dido/sklep.domaintld.pl-error.log"
CustomLog "/var/sentora/logs/domains/dido/sklep.domaintld.pl-access.log" combined
<Directory "/var/sentora/hostdata/dido/public_html/sklep_domaintld_pl">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
ErrorDocument 510 /_errorpages/510.html
ErrorDocument 403 /_errorpages/403.html
ErrorDocument 404 /_errorpages/404.html
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)
# Custom VH settings (if any exist)
</virtualhost>
# END DOMAIN: sklep.domaintld.pl
################################################################
Thanks.