US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > General technical discussion


Reply
 
Thread Tools
Old 11-15-2011, 10:09 AM   #1
Junior Member
 
Join Date: Oct 2011
Posts: 12
pdhodges is on a distinguished road
Default base configuration

I have installed a WordPress plugin called IDrive. It backs up the site and the database. It fails on the mysql dump with the following line in the err log.

[Mon Nov 14 22:31:16 2011] [error] [client 188.120.254.184] PHP Warning: unlink() [<a href='function.unlink'>function.unlink</a>]: open_basedir restriction in effect. File(/tmp/IDW_WP_MySQL_dump.sql) is not within the allowed path(s): (/home/pdhodges/data:.) in /home/pdhodges/data/www/pdhodges.com/wp-content/plugins/idrive-for-wordpress/idrive.php on line 1177

The client IP address is mine. How do I make /tmp/IDW_WP_MySQL_dump.sql available to specified IP addresses or if the IP address matches the IP address of the account. I plan on adding a unique IP for each client.
pdhodges is offline   Reply With Quote
Old 11-15-2011, 11:27 AM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Hello, you should configure temporary directory in plugin's configuration (if possible) or try change PHP mode to PHP as CGI in WWW domain properties.
slava is offline   Reply With Quote
Old 11-16-2011, 10:04 PM   #3
Junior Member
 
Join Date: Oct 2011
Posts: 12
pdhodges is on a distinguished road
Default

The plugin does not allow that level of control.

When I try to change an existing www account to PHP as CGI or create a new www account with PHP as CGI in the WWW domains section I get

PHP permission problem. The change or creation is no allowed.
pdhodges is offline   Reply With Quote
Old 11-17-2011, 05:00 AM   #4
Junior Member
 
Join Date: Oct 2011
Posts: 12
pdhodges is on a distinguished road
Default

I created a new account with a new preset. Everything was set as PHP as cgi. I still get the same err.
pdhodges is offline   Reply With Quote
Old 11-17-2011, 04:09 PM   #5
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Are you have enabled PHP as CGI in the user and preset properties?


slava is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:08 AM.