neoounix Posted April 30, 2017 Report Posted April 30, 2017 Hello, I have revive version 3.2.5 running on one server and 4.0.1 on another server. The reason is that I am running an older version of PHP on the server running 3.2.5 and don't want to break things by upgrading to a version of PHP supported by 4.0.1. As a work around, I want to just replace our invocation tags as follows: ORIGINAL TAG ON "SERVEROLD" <ins data-revive-zoneid="5" data-revive-id="8351b7c2e97a6c66b1382241945d20f0"></ins> <script async src="//serverold.com/www/delivery/asyncjs.php"></script> NEW TAG ON "SERVERNEW" <ins data-revive-zoneid="5" data-revive-id="d77d030158ef3b39e6ed6db0cf1a2192"></ins> <script async src="//servernew.com/www/delivery/asyncjs.php"></script> CHANGE TO: <ins data-revive-zoneid="5" data-revive-id="8351b7c2e97a6c66b1382241945d20f0"></ins> <script async src="//servernew.com/www/delivery/asyncjs.php"></script> The reason I want to do this is so I can just change the DNS entry for the ad server and not change the tags, which requires a lot of unnecessary work. Can you please tell me where I can edit the MySQL DB to change these data-revive-ids so I can get them to match? THANKS! Quote
Matteo Beccati Posted May 1, 2017 Report Posted May 1, 2017 @neoounix The revive-id is simply an identifier generated using the delivery URLs. If you switch DNSes and change the delivery URLs of the new server to match the old one, the upgrade will be seamless. Quote
neoounix Posted May 4, 2017 Author Report Posted May 4, 2017 Hi Matteo, Thanks! This is because the attribute "data-revive-zoneid" is the attribute that drives the delivery and because "data-revive-id" is unused by revive? I understand that "data-revive-zoneid"is the key attribute from your message; but what does "data-revive-id" do, since it is not used by revive for delivery? Quote
Matteo Beccati Posted May 4, 2017 Report Posted May 4, 2017 @neoounix I was taking about the hash in data-revive-id. That is used by the async JS code to fill only the slots owned by a particular instance of Revive Adserver, in case there are more on the same page. Quote
neoounix Posted May 4, 2017 Author Report Posted May 4, 2017 (edited) @Matteo Beccati Thanks! Got it! Edited May 4, 2017 by neoounix Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.