This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Can't install Dolphin if using Sentora - ZPanel
[Not Solved] Can't install Dolphin if using Sentora - ZPanel
I've come up with this error which has been documented before:
Warning: file_exists(): open_basedir restriction in effect. File(/usr/local/bin/php) is not within the allowed path(s): (/var/sentora/hostdata/okgurls/public_html/okg:/var/sentora/temp/) in /var/sentora/hostdata/okgurls/public_html/okg/install/index.php(1171) : runtime-created function on line 2
Before you tell me to disable open_basedir, it's not enabled in PHP.INI or HTTPD.CONF.
I found on the digitalocean site that the problem is with Sentora. It seems it won't allow anything to be written to a TMP file. The file must be named TEMP. The writer said "Just change the script". There are two instances of TMP in Install/index.php, but changing them to temp makes no difference. I'm sure there are other issues.
Has anyone been successful installing Dolphin with Sendora or Zpanel and are you willing help me and others?
Thanks given by:
[Not Solved] RE: Can't install Dolphin if using Sentora - ZPanel
I'm not sure what you did or how you created your hosting space since the is no .tld in the paths.

Quote:(/var/sentora/hostdata/okgurls/public_html/okg:/var/sentora/temp/) in /var/sentora/hostdata/okgurls/public_html/okg/install/index.php

Should be something like:
Quote:(/var/sentora/hostdata/okgurls/public_html/okg_com:/var/sentora/temp/) in /var/sentora/hostdata/okgurls/public_html/okg_com/install/index.php

Besides that, you enable and disable openbase_dir for each domain individually in: Admin > Module Admin > Apache Config > Override a Virtualhost > [select domain] > un-tick openbase_dir > save and wait for daemon to run !5 minutes.

But, I don't think disabling openbase_dir will work in this manner since the source it is looking for is outside the overall hosting folder.

Another thing you could try is to copy the openbase_dir path from the domains httpd-vhosts.conf vhost entry, disable openbase_dir, paste it into the 'custom entries' box and add: /usr/local/bin/php to the custom openbase_dir entry you are adding to the custom box. It should look something like this:

Quote:php_admin_value open_basedir "/var/sentora/hostdata/okgurls/public_html/okg:/var/sentora/temp/:/usr/local/bin/php"
But as a security notice: why does the script need to directly access /usr/local/bin/php??
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Thanks given by:

Possibly Related Threads...
Thread Author Replies Views Last Post
what files edit /etc/sentora/configs/apache/httpd-vhosts.conf mungujakisa 10 296 8 hours ago
Last Post: mungujakisa
Tomcat on Sentora !! blackstormy1804 1 410 Yesterday, 10:37 PM
Last Post: Me.B
Sentora 1.0.3 millzee 0 46 Yesterday, 07:55 PM
Last Post: millzee

Forum Jump:

Users browsing this thread: 1 Guest(s)