![]() |
|
Sentora problem - open_basedir - prestashop - Printable Version +- Sentora Support Forums (https://senforums.mach-hosting.com) +-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5) +--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32) +---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36) +---- Thread: Sentora problem - open_basedir - prestashop (/showthread.php?tid=3151) |
Sentora problem - open_basedir - prestashop - jacekl - 10-26-2016 Hi guys! 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. RE: Sentora problem - open_basedir - prestashop - kini - 10-26-2016 I have this problem too with whmcs.. RE: Sentora problem - open_basedir - prestashop - TGates - 10-27-2016 That is because Code: sklep.domaintld.plis a different domain and folder than Code: shop.domaintld.plYou are trying to 'illegally' access a file outside of the original domain's root folder. If you need to access a file on another domain you will have to try and use the URL instead of full path. |