My Mass Install Script – need help!
-
Hi!
I made a script (mass-install.php) which I run and it then makes multiple installs of wordpress. But I have some trouble with it. Primary mass-install.php contains all the codes and commands from wp-admin/install.php. And I have a “for” loop in it to change the database prefix for multiple blog installs using the same database.
The first run is ok (all tables and files get installed 100%). The next run I get the message “You appear to have already installed WordPress. To reinstall please clear your old database tables first.” … and that’s the problem. I have no idea why. The prefixes are unique etc. everything is fine. I have that feeling that I need to CLOSE and RE-OPEN the mysql connection for every blog install … but I don’t know how to do that.
How can I reset the complete db connection ??? Could this solve the problem?
Thanks for your help!!
- The topic ‘My Mass Install Script – need help!’ is closed to new replies.