Welcome to Geeklog, Anonymous Friday, November 08 2024 @ 08:50 pm EST
Geeklog Forums
Warning: open_basedir restriction in effect
Page navigation
Mitch
Anonymous
Dirk... thank you for your fast response. I have contacted my host and the screwed with the PHP.ini file
1) Changed open_basedir = none to open_basedir = off
(that's how it was before.. do they have a clue?)
2) Affirmed that Safe Mode was off
Still getting the open_basedir error.
Also, on the check.php page, it's just loaded with errors like:
and
Also, I did try the chmod 777 as detailed in the install doc.
Thanks for any advice, I really appreciate your time.
Mitch
1) Changed open_basedir = none to open_basedir = off
(that's how it was before.. do they have a clue?)
2) Affirmed that Safe Mode was off
Still getting the open_basedir error.
Also, on the check.php page, it's just loaded with errors like:
Parse error: parse error in /home/httpd/vhosts/mydomain.com/httpdocs/lib-common.php on line 4210
Warning: Use of undefined constant LB - assumed 'LB' in /home/httpd/vhosts/mydomain.com/httpdocs/admin/install/check.php on line 48
LB
Warning: Use of undefined constant LB - assumed 'LB' in /home/httpd/vhosts/mydomain.com/httpdocs/admin/install/check.php on line 49
LB
Warning: Use of undefined constant LB - assumed 'LB' in /home/httpd/vhosts/mydomain.com/httpdocs/admin/install/check.php on line 48
LB
Warning: Use of undefined constant LB - assumed 'LB' in /home/httpd/vhosts/mydomain.com/httpdocs/admin/install/check.php on line 49
LB
and
Testing logs directory ...
LBCould not open error.log and access.log
Warning: Use of undefined constant LB - assumed 'LB' in /home/httpd/vhosts/mydomain.com/httpdocs/admin/install/check.php on line 73
for writing.
Please check that you have set the logs directory and the files error.log and access.log in that directory to chmod 775.LB
Warning: Undefined variable: _CONF in /home/httpd/vhosts/mydomain.com/httpdocs/admin/install/check.php on line 74
Warning: Undefined variable: _CONF in /home/httpd/vhosts/mydomain.com/httpdocs/admin/install/check.php on line 75
LBCould not open error.log and access.log
Warning: Use of undefined constant LB - assumed 'LB' in /home/httpd/vhosts/mydomain.com/httpdocs/admin/install/check.php on line 73
for writing.
Please check that you have set the logs directory and the files error.log and access.log in that directory to chmod 775.LB
Warning: Undefined variable: _CONF in /home/httpd/vhosts/mydomain.com/httpdocs/admin/install/check.php on line 74
Warning: Undefined variable: _CONF in /home/httpd/vhosts/mydomain.com/httpdocs/admin/install/check.php on line 75
Also, I did try the chmod 777 as detailed in the install doc.
Thanks for any advice, I really appreciate your time.
Mitch
39
32
Quote
Mitch
Anonymous
Figured it out.... Had to edit the vhost.conf file for that domain. So it went something like this:
From Root
1)
2)
3) Edit like this:
php_admin_value open_basedir "/home/httpd/vhosts/mydomain.com :/"
</Directory>
4) INSTALL CONF FILE
5) RESTART APACHE
Still having some issues however so this is not a complete solution but it has gotten me closer.
Let me know if you have any questions.
Best Regards,
Mitch
http://www.xpancom.com
mitchmoccia@xpancom.com
From Root
1)
Text Formatted Code
cd /home/httpd/vhosts/mydomain.com/conf2)
Text Formatted Code
pico vhost.conf3) Edit like this:
Text Formatted Code
<Directory /home/httpd/vhosts/mydomain.com>php_admin_value open_basedir "/home/httpd/vhosts/mydomain.com :/"
</Directory>
4) INSTALL CONF FILE
Text Formatted Code
/usr/local/psa/admin/bin/my_apci_rst -v -u mydomain.com5) RESTART APACHE
Text Formatted Code
apachectl -k restartStill having some issues however so this is not a complete solution but it has gotten me closer.
Let me know if you have any questions.
Best Regards,
Mitch
http://www.xpancom.com
mitchmoccia@xpancom.com
30
26
Quote
Someone not happy
Anonymous
Uhhhhh Forget it all. Never worked... Switching to different script.
27
34
Quote
Someone not happy
Anonymous
26
32
Quote
mrzero
Anonymous
I had this problem whith php and PLESK
the only thing i could do was to create a symlink to the right place and put it in the directory where the script was operating from.
i.e:
my script was running from
/home/httpd/vhosts/mydomain.com/httpdocs/somedir/anotherdir/
but was trying to access
/home/httpd/vhosts/mydomain.com/httpdocs/someotherdir/andanotherdir/
in order to write to.
however this just wasnt working under any kind of setuup even when i was messing around with php config variables (i have root ssh acces to the box)
anyway to cut a long story short i fixed it by chmoding the write directory
"chmod -R 777 /home/httpd/vhosts/mydomain.com/httpdocs/someotherdir/andanotherdir/"
then creating the symlink by using
#cd /home/httpd/vhosts/mydomain.com/httpdocs/somedir/anotherdir/
#ln -s /home/httpd/vhosts/mydomain.com/httpdocs/someotherdir/andanotherdir/ andanotherdir
this mean that instead of accesssing the write dir in long form from my script i could address it as simply "andanotherdir/"
bit of a fiasco for such a simple thing... i think it has somthing to do with PLESK in my case but if your server is running somthing similar it might have somthing to do with it
Z..
the only thing i could do was to create a symlink to the right place and put it in the directory where the script was operating from.
i.e:
my script was running from
/home/httpd/vhosts/mydomain.com/httpdocs/somedir/anotherdir/
but was trying to access
/home/httpd/vhosts/mydomain.com/httpdocs/someotherdir/andanotherdir/
in order to write to.
however this just wasnt working under any kind of setuup even when i was messing around with php config variables (i have root ssh acces to the box)
anyway to cut a long story short i fixed it by chmoding the write directory
"chmod -R 777 /home/httpd/vhosts/mydomain.com/httpdocs/someotherdir/andanotherdir/"
then creating the symlink by using
#cd /home/httpd/vhosts/mydomain.com/httpdocs/somedir/anotherdir/
#ln -s /home/httpd/vhosts/mydomain.com/httpdocs/someotherdir/andanotherdir/ andanotherdir
this mean that instead of accesssing the write dir in long form from my script i could address it as simply "andanotherdir/"
bit of a fiasco for such a simple thing... i think it has somthing to do with PLESK in my case but if your server is running somthing similar it might have somthing to do with it
Z..
25
24
Quote
Page navigation
All times are EST. The time is now 08:50 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content