Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : "The path of the domain you selected could not be found."



Normal Mode | Print  

 "The path of the domain you selected could not be found." (14 Replies, Read 3123 times)
franceserv
Group: Member
Post Group: Newbie
Posts: 21
Status:
Hello,
I'm testing Softaculous with remote API with their steep :1) act=adduser, 2) act=adddomain and 3) act=software, but it's fail at this final steep 3.
I can create a user with this :
PHP Code

 $post = array('saveuser' => 1,
                
'username' => $login,
                
'user_email' => $email,
                
'uid' => $uid,
                
'num_users' => '0'); 



where $login is "test", $email a valid email and $uid the Linux UID.
Then I create a "domain" like this :
PHP Code

 $post = array('domain' => $domain,
                
'username' => $user,
                
'path' => $path,
                
'backup_dir' => $path.'/backups',
                
'data_dir' => $path.'/datadir',
                
'savedomain' => 1); 


where $domain is "test20210618wp.franceserv.com", $user is "test" and $path is "/home/httpd/t/e/s/test/test20210618wp.franceserv.com"
and it's working on this steep...

Now, when I try to install a script (Wordpress with a Premium licence) :
PHP Code

 $post = array('softsubmit' => '1',
                
'softdomain' => $domain,
                
'softdirectory' => $sub_folder// Peut ĂȘtre vide
                
'softdb' => $db_name,
                
'dbusername' => $db_user,
                
'dbuserpass' => $db_pass,
                
'dbprefix' => $db_prefix,
                
'hostname' => 'sql.franceserv.fr',
                
'admin_username' => $admin_user,
                
'admin_pass' => $admin_pass,
                
'admin_email' => $admin_email,
                
'language' => $admin_language,
                
'site_name' => $site_name,
                
'site_desc' => $site_description); 



Where $domain is "test20210618wp.franceserv.com", $softdirectory is empty (I tested with tons of attempts likes the full path, the / etc... I have this error message :
array(2) {
  ["softdomain"]=>
  string(55) "The path of the domain you selected could not be found."
  ["fatal_error_text"]=>
  string(65) "This User does not have any Domain. Please contact Administrator." }

And the path for the domain name exist (if it don't exist, it's not possible to create the domain in steep 2).
Do I need to set "$GLOBALS['softaculous_conf']['user_mod_dir'] = 1;" ? Or perhaps I have an error into my variables or the way into authentication as user and not as root with api_key ?
Thank you in advance.
IP: --   


Threads
 franceserv   "The path of the domain you selected could not be found." (14 Replies, Read 3123 times)
    |--  Brijesh   Hi, Sorry for...   on June 22, 2021, 7:13 am
    |--  franceserv   Great, thank you...   on June 22, 2021, 7:33 am
    |--  Brijesh   Hi, Glad to...   on June 22, 2021, 8:10 am
    |--  franceserv   Underscore is allowed...   on June 22, 2021, 8:35 am
    |--  Brijesh   Hi, It looks...   on June 22, 2021, 9:36 am
    |--  franceserv   Thank you again...   on June 22, 2021, 10:20 am
    |--  Brijesh   Hi, You want...   on June 22, 2021, 10:31 am
    |--  franceserv   My own panel...   on June 22, 2021, 10:42 am
    |--  franceserv   I think I...   on June 22, 2021, 2:48 pm
    |--  franceserv   I found the...   on June 22, 2021, 3:08 pm
    |--  franceserv   Just a message...   on June 22, 2021, 8:25 pm
    |--  Brijesh   Hi, Glad to...   on June 23, 2021, 8:17 am
    |--  urgido   Hi I have...   on October 7, 2021, 8:05 pm
    |--  Brijesh   Hi, Sorry for...   on October 28, 2021, 12:25 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 1, 2024, 5:10 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.062