Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Q & A : open_basedir and domain problem
#1
Questions:

1st Problem
When invoked from any domain cp, get the following error:

Warning: Unknown: open_basedir restriction in effect. File(/usr/share/phpmyadmin/index.php) is not within the allowed path(s): (/var/www/vhosts/ehcp/) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0


However when called from ip address no problem

2nd problem:

When creating new domains the path for the domains does not point to httpdocs, it does point to /var/www/vhosts/ehcp

Any Ideas?




Answers:
1.
since each domain has open_basedir restriction,
when you try to access phpmyadmin inside subdomains like cp.yourdomain.com, or in domains, you get that error.
that is normal. you cannot use phpmyadmin which is provided by system, unless you do some fine tuning.. (i will fix that in future versions of ehcp)

some solutions:
<li>http://ehcp.net/?q=node/704
<li>http://ehcp.net/?q=node/256
<li>manually copy phpmyadmin files into domain's directory,


2.
check these:
<li>http://ehcp.net/?q=node/161
<li>http://ehcp.net/?q=node/776


for all:
debugging may help a lot: http://ehcp.net/?q=node/771


Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping