Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd May 2010, 08:24
DOLARiON DOLARiON is offline
Junior Member
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Remote: FTP User Create :: SOAP Error: directory_error_notinweb

Hi,

so... the problem is:
Code:
SOAP Error: directory_error_notinweb
when I'm trying to do this:
Code:
$params	= array(
	"server_id"			=> "1",
	"parent_domain_id"	=> "1",
	"username"			=> "mysite_newuser",
	"password"			=> "1234567890",
	"quota_size"		=> "-1",
	"active"			=> "y",
	
	"uid"				=> "web1",
	"gid"				=> "client1",
	"dir"				=> "/var/www/clients/client1/web1",
	"quota_files"		=> "100",
	"ul_ratio"			=> "-1",
	"dl_ratio"			=> "200",
	"ul_bandwidth"		=> "-1",
	"dl_bandwidth"		=> "100",

);


/**
* Save
*/
$client_id = 1;

$user_id = $client->sites_ftp_user_add($session_id, $client_id, $params);
echo 'User ID: '.$user_id.'<br />';
The question is: what is wrong?
Reply With Quote
Sponsored Links
  #2  
Old 22nd May 2010, 10:04
DOLARiON DOLARiON is offline
Junior Member
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
$client_id = 0;
here is an error
but I'm not shure why...
Reply With Quote
  #3  
Old 23rd May 2010, 19:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

What's the output of
Code:
ls -la /var/www/clients/client1/
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 25th May 2010, 23:19
DOLARiON DOLARiON is offline
Junior Member
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
server:~# ls -la /var/www/clients/client1/
total 12
drwxr-xr-x 3 root root    4096 Май 23 22:41 .
drwxr-xr-x 3 root root    4096 Май 13 14:03 ..
lrwxrwxrwx 1 root root      30 Май 13 14:03 {her_is_mysite}.com -> /var/www/clients/client1/web1/
drwxr-x--x 6 web1 client1 4096 May 13 14:03 web1
Reply With Quote
  #5  
Old 26th May 2010, 14:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Can you try this?
Code:
chmod 755 /var/www/clients/client1/web1
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP User + Mail Adress Randall Flagg General 2 1st September 2009 15:38
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Ruby / FastCGI Problem Chad Server Operation 1 8th March 2008 20:38
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
FTP 101 the basics koegies Installation/Configuration 7 17th November 2005 15:55


All times are GMT +2. The time now is 16:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.