lmnop
Forum Replies Created
-
Forum: Plugins
In reply to: [Query Monitor] Plugin conflict with MedicPlus them (Redux framework plugin)Thanks. The page seems to load very quickly once QM is disabled.
Unfortunately I don’t know enough about WordPress underlying structure to be able to figure out what’s going on myself, as of yet.
I’m a grumpy old PERL hacker.
Forum: Plugins
In reply to: [WP Super Cache] Use of undefined constant IPC_CREATSame here. Is this code up on Github so we can fix it?
Forum: Localhost Installs
In reply to: Syncing/mirroring/replicating local dev version to live serverRight. Thanks for that. I’m a bit aghast that WordPress spreads the site’s hostname all through the DB. That should be located in one place only, then referenced from elsewhere!
The catch with updating the localhost file is OSX pretty much ignores it, which you have to overcome by running dnsmasq.
But from what you’ve said, running a duplicate host structure sounds like it’s the only way to do this that doesn’t involve copious quantities of arseing around, thanks to the DB structure.
My dev will have to remember that her machine is always referencing her local version of wordpress and she’ll have to get on a different machine to access the production system.
Thanks for your input.
I’ll set it up so that a script does a SQL replication and then rsync’s the file system changes.
Forum: Plugins
In reply to: [WP Multi Network] Cannot get it to work on localhostIt’s messy.
I tried to do it via DNS by assigning a bunch of test hostnames in a real live domain to 127.0.0.1 (test1.example.com test2.example.com etc) but that will not work because the design of DNS means that if you query them the DNS will not reply with 127.0.0.1 – it’s a reserved IP number. Very frustrating. Would have been a nice easy way of doing it.
I ended up installing dnsmasq (on my WP dev’s iMac running OSX 10.11, using brew) which allows you to intercept a list of domains/tld’s before they go out to DNS query. You can map all those hostnames to 127.0.0.1 and then have no problems running WP Multi Network on your local machine.
Lots of guides out there, most of which appear to recommend using .dev for this purpose. That’s not a good idea now, as .dev is a real live TLD.
I used the 4 letter acronym of our company name, which is far less likely to ever become a real TLD.