I got a working script that does this :
1- add domains to our hosting plan's control pannel,
2- adds SQL databases for the domain via a webhost phpMyAdmin 2.8.0.3,
3- adds sub-domains to our hosting plan's control pannel
4- adds SQL databases for the sub-domain again via a webhost phpMyAdmin 2.8.0.3,
5- generates a config files and uploads content for each domain.
The problem seems to be situated at the database connexion level.
I have a second hosting plan that uses as Server:
[login to view URL]
instead of:
[login to view URL]
it needs to be ajusted so it works with that server as well.
Vincent
## Deliverables
Hello and welcome to my project !
I got a working script that does this :
1- add domains to our hosting plan's control pannel,
2- adds SQL databases for the domain via a webhost phpMyAdmin 2.8.0.3,
3- adds sub-domains to our hosting plan's control pannel
4- adds SQL databases for the sub-domain again via a webhost phpMyAdmin 2.8.0.3,
5- generates a config files and uploads content for each domain.
My problem seems to be situated at the database connexion level.
All the sites connect through the databases with the same username, password and server.
I have a second hosting plan at the same place that uses as Server:
[login to view URL]
instead of:
[login to view URL]
Like the other one.
This causes the script to halt prematurely.
The usual pattern is it will add all the sites but only the 1st database and end with an error like this :
There is no form numbered 3 at ./[login to view URL] line 121
There is no form numbered 3 at ./[login to view URL] line 121
No form defined at ./[login to view URL] line 121
I want the script to be adjusted to work with mysql-1 as well as mysql-2.
It’s most probably very small things to change since the two plans are identical and have for difference only a server name change.
With the script the coder can register a free 30 day trial with the hosting plan. I will give him access as well to the [login to view URL] phpMyAdmin 2.8.0.3 and domains to test if he wishes.
I cannot give access to the rootbox where the files are at though from where the script runs but am more than ready to
give reporting of errors.
If you have any questions don't hesitate to ask.
Best regards,
Vincent
## Platform
Linux Debian 3.1 Webserver