We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24278
    • 165 Posts
    Hi,

    I had to export the test site to a new database and also the project folder changed. After doing so, the test site works perfectly.

    But, i get the following error with the manager, when I try to login.

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « Execution of a query to the database failed - Duplicate entry '0' for key 1 »
          SQL: INSERT INTO `ap_test`.modx_manager_log(timestamp, internalKey, username, action, itemid, itemname, message) VALUES('1156662367', '1', 'admin', '58', '-', 'MODx', 'Logged in')
          [Copy SQL to ClipBoard]
     
    Parser timing
      MySQL: 	0.0003 s s	(0 Requests)
      PHP: 	1156662367.2824 s s	 
      Total: 	1156662367.2827 s s


    I emptied the modx_manager_log table and still get the same error. I guess I must have messed up somewhere.

    Please may I have some advice on rectifying the error.

    best regards,

    -Raavi