Hi,
I am using remote framework to create new sites. I also need to create one database for each sites.
To create new sites, I use the soapclient call function with parameters:
Quote:
....
'web_mysql' => 1, // I supose this is to enable mysql
'web_mysql_anzahl_dbs' => 5, // I supose this is the max database
....
|
I see in ISPconfig the site is created with Mysql enabled and
Number of Database=1. Soapclient debug does not show any error during this step:
Quote:
soapclient: got response: 43
soapclient: Entering parseResponse(), about to create soap_parser instance
soapclient: vanos a llamar a soap_parser con:43
soapclient: soap_parser: Entering soap_parser()
soap_parser: llamamos a parser con: xml->parser=Resource id #11 y xml=43
soap_parser: found root struct serviceResponse, pos 2
soap_parser: adding data for scalar value soapVal of value 43
soap_parser: inside buildVal() for serviceResponse(pos 2) of type struct
soap_parser: parsed successfully, found root struct: 2 of name serviceResponse
soapclient: sent message successfully and got a(n) array back
|
The problem is if I try to create the needed database (using remote framework) I have the error message: "HTTP Error: no data present after HTTP headers".
debug:
Quote:
soap_transport_http: path = /remote/index.php
soap_transport_http: entered sendHTTPS() with data of length: 851
soap_transport_http: found proper separation of headers and document
soap_transport_http: cleaned data, stringlen: 0
soap_transport_http: no data after headers!
soapclient: Error: HTTP Error: no data present after HTTP headers.
|
In ISPconfig I can see database have been created but phpMyadmin does not allow access (user or password error). I tried to change password using ISPconfig but it does not work. I removed database in ISPconfig, create new one... ok.
I also tried to UPDATE site with 'web_mysql' => 1 and 'web_mysql_anzahl_dbs' => 5 but it does not solve the problem. Maybe I am doing something wrong but it seems mysql is not actualy enabled when site is created.
Thanks if someone can help me.
Recent comments
1 hour 18 min ago
10 hours 46 min ago
11 hours 36 min ago
15 hours 9 min ago
19 hours 33 min ago
19 hours 55 min ago
22 hours 5 min ago
1 day 8 hours ago
1 day 13 hours ago
1 day 14 hours ago