rjcuser
2011-07-21 13:11:23
Hi
I currently have a production version 6.1.1 running and want to set up a staging or development site of it, so that I can make some serious theming and styling mods to the template. Can I copy the site across and use the same database or should I set up a new database and link to this some how? Is this the best way to do it?
Thanks for any help or pointers.
Cheers
Richard
mors3
2013-03-13 14:14:04
Hang on a sec, what about the license? We've tried to get this sort of thing running on a local box (for PHP debugging) but then you can't get into /admin as the license blows it up?
Am really hoping we've missed something staggeringly obvious here as I'd LOVE to have a local version to batter and source control! :D
Martin
2013-03-13 14:27:32
Hang on a sec, what about the license? We've tried to get this sort of thing running on a local box (for PHP debugging) but then you can't get into /admin as the license blows it up?
Am really hoping we've missed something staggeringly obvious here as I'd LOVE to have a local version to batter and source control! :D
There are copies out there that basically remove that protection.
That's the quickest and easiest way to resolve the issue... and as you have a license are developing, etc... then the legal issues boil down to Interspire basically giving you the middle finger on support of new domain keys, etc... In short, they've not a pot to piss in...
Obviously the above does not constitute accurate or even implied legal advice but you get the gist :)
mors3
2013-03-14 13:08:26
Heh! roger wilco on THAT, cheers bud
myshop
2013-03-15 01:44:06
There is a copy of ISC floating around that contains some dodgy code - I wouldnt be using it.
Why not set up a dev copy on the same domain - just stick it in a subfolder /dev or somthing - this way you dont need a new/different license.
mors3
2013-03-15 10:03:04
:) cheers for that, totally agree, I don't want to be pushing out changes from a hacked version of the codebase to live, god knows what might be embedded into that muck.
After martins comment, yesterday I went and had a bit of a quiet dig around the code for license key management.
Tracked down a function call to ech0() in /lib/general.php (in my version of isc - 6.1.8) that carries through $LK, it looks like it returns false if the license isn't valid, so theoretically, if one were to make the returned value ($v) true irrespective of anything else that happens in the function (to ensure minimal impact on dev code so site should still react as similar to the live and staging versions as possible) the site will react as if the license key checks return a valid license key.
All is theory obviously, certainly not advocating anyone using this method to avoid license key issues, was an interesting experiment into how ISC manages its legal licenses is all.
mors3
2013-03-19 13:30:33
Ok, got some more info on this, I'll create a new thread on how to set this all up :)