Search the Community
Showing results for tags 'production site'.
Hi everybody! I have been reading about Multisite, but it kinda bugs me that every topic talks about having both admin and database same for multiple sites. I have a project where customer tests it by adding content to the site, while I still need to do some changes here and there in code, maybe some in database. If something crashes for a while, customer can't keep testing, which is a bit problematic. Is there any way that I could have two separate versions of one site ("production" and development) that share the same database, but are otherwise independent? Just the thought of having to migrate database every time I want to show client something new gives me anxiety 😁
Hello, when moving the site from a local to a remote server, I can't log in with the user+password set up in my config.php: Why the hell is it trying to log in as 'root'@'localhost' when my config.php says: /** * Database username * */ $config->dbUser = 'myusername'; /** * Database password * */ $config->dbPass = 'mypassword'; /** * Database host * */ $config->dbHost = 'mydbname'; Should'nt it send a request as 'myusername'? Why 'root'? I tested many advice found in the forum without any luck: export+import tables only, setting the local server with same username, db name and password, deleting cache… The site is in a subdir (pw) so I also edited the .htaccess as in http://processwire.com/docs/tutorials/troubleshooting-guide/page3 (I did it on the .htaccess in the subdir, not the main dir). Thank you