Im running twice the same website
- one for the public
- one for private testing
Everything is moreless the same, except some config variables in the php and the replacement of css directories
However on the test server im getting a no database selected
mysql_query('sqlhere') doesnt work
mysql_query('sqlhere',$conn) does work
So somehow on my test server it is not taking the only open connection, but wants it specified.
After trying for an hour, what could be causing this?
Another little question, how are you guys using testservers and how do you update the live website when neccesary, should i put it in maintenance mode, or just simply upload at 12 in the evening. What is the best approach?
Thanks,
Thierry