jhdesign Posted April 15, 2016 Report Share Posted April 15, 2016 We get this error: Version: Revive Adserver v3.2.2 PHP/DB: PHP 5.4.36 / MySQL 5.5.41-MariaDB Page: /bmg/www/admin/account-preferences-timezone.php Error: Duplicate entry '0-1' for key 'PRIMARY' Query: INSERT INTO b_account_preference_assoc (account_id , value ) VALUES ( 1 , 'America/Los_Angeles' ) $_POST: Array ( [submitok] => true [timezone] => America/Los_Angeles [token] => 23a408e74941adb2d8ac3f16792d491c [submitsettings] => Save Changes ) $_GET: Empty When I check the table, it has shows the value but preference_id is 0 Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted April 15, 2016 Report Share Posted April 15, 2016 I would suggest having a look in the preferences table (probably called 'b_preferences' in your case) and finding out if a row exists there for timezone with preference_name "timezone". I've seen cases where that row disappeared (but have never been able to explain why). If so, just add one row and make sure it has a unique preference ID and event_name equals "timezone" (lower case). Account_type must be "MANAGER" (all caps). Once that's done, you should be able to set your time zone preference, although you might want to first remove that invalid row with preference_id = 0. andrewatfornax 1 Quote Link to comment Share on other sites More sharing options...
jhdesign Posted April 15, 2016 Author Report Share Posted April 15, 2016 That worked, thank you Erik. Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted April 15, 2016 Report Share Posted April 15, 2016 Thanks for letting us know! Quote Link to comment Share on other sites More sharing options...
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.