redrain Posted March 5, 2016 Report Posted March 5, 2016 Hi,After upgrading to 3.2.3 I can't link banners to the zones. I get "You don't have access to that page. You have been re-directed." when I try to link a banner to a zone. I've tried a clean install but nothing changed.I've checked banner-zone.php for changes. And here is the result:$ diff ads_old/www/admin/banner-zone.php banner-zone.php 59a60,61 > OA_Permission::checkSessionToken(); > Yes, if I commented out that line I can link banners without any problem. So problem seems to be OA_Permission::checkSessionToken() line. I can't find any other files it's used in. Do you have any idea why this could happen? And more importantly can "my solution" cause any problem? Quote
GavinMannion Posted March 6, 2016 Report Posted March 6, 2016 Had the exact same problem, thanks for the quick hack fix.Upgrading Revive really is a bit of a pain Quote
bdamage Posted March 7, 2016 Report Posted March 7, 2016 I have 3.2.1 and was about to update to 3.2.3 ... is this a reason to hold off? Quote
GavinMannion Posted March 7, 2016 Report Posted March 7, 2016 Once I commented out that line everything started to work again... not sure of the repercussions of that though Quote
redrain Posted March 7, 2016 Author Report Posted March 7, 2016 (edited) I have 3.2.1 and was about to update to 3.2.3 ... is this a reason to hold off?There were security fixes also. So I would upgrade again. As @GavinMannion said this is the only problem we had. I wish Admins would comment on repercussions. Edited March 7, 2016 by redrain Quote
bdamage Posted March 7, 2016 Report Posted March 7, 2016 There were security fixes also. So I would upgrade again. As @GavinMannion said this is the only problem we had. I wish Admins would comment on repercussions. So advice is to upgrade anyway then apply the hack at the top of this thread? I find being able to linkĀ banners to zones kindaĀ important ;-) Quote
bocadave Posted March 7, 2016 Report Posted March 7, 2016 (edited) I just upgradedĀ that hack didn't work for Ā me2 Ā errors-Ā You don't have access to that page. You have been re-directed.Ā Ā If I try to Ā deactivate a banner, Ā I get that Ā same Ā messageĀ InstallNonBlockingErrorsĀ Ā and i found no answer for that Ā except a thread with no answer from Ā 3.2.2Ā Edited March 7, 2016 by bocadave Quote
redrain Posted March 7, 2016 Author Report Posted March 7, 2016 So advice is to upgrade anyway then apply the hack at the top of this thread? I find being able to linkĀ banners to zones kindaĀ important ;-)Yes. Of course it's your decision. But please try it before upgrading your main server. I just upgradedĀ that hack didn't work for Ā me2 Ā errors-Ā You don't have access to that page. You have been re-directed.Ā Ā If I try to Ā deactivate a banner, Ā I get that Ā same Ā messageĀ InstallNonBlockingErrorsĀ Ā and i found no answer for that Ā except a thread with no answer from Ā 3.2.2Ā To deactivate banner you should look into banner-activate.php file. The OA_Permission::checkSessionToken() function is at 38th line. Quote
bocadave Posted March 7, 2016 Report Posted March 7, 2016 Ā To deactivate banner you should look into banner-activate.php file. The OA_Permission::checkSessionToken() function is at 38th line.thatĀ worked. Ā thanks.Ā Ā Ā Quote
adus Posted March 9, 2016 Report Posted March 9, 2016 They have patched it in 3.2.4 according to the git commits list. Not sure when its planned for release though. Quote
softplace Posted March 9, 2016 Report Posted March 9, 2016 Hello, we had to apply the modification to files banner-activate.php and banner-zone.php to make it working.The question now is: what does it mean deactivating theĀ OA_Permission::checkSessionToken() function ?? Can that affetc other functions of the software?Thanks, Nicola Quote
Ian Posted March 9, 2016 Report Posted March 9, 2016 You can 'safely' remove that option, it does not affect the functionality of the software. Quote
Matt Glover Posted March 12, 2016 Report Posted March 12, 2016 You can 'safely' remove that option, it does not affect the functionality of the software.Great - is there a hotfix for this in the form of a patch or something else? 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.