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

Answered Error:

    • 30912
    • 463 Posts
    Hi All, got an error I've never seen before:

    Ive just upgraded to modx 1.0.13 and when i try to use weblogin to login to a page i get the following:

    Logging error: internalKey not set

    When i go abck to my login page i get this:

    « MODX Parse Error »
    MODX encountered the following error while attempting to parse the requested resource:
    « Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'test2', '1394554005', '998', NULL, 'xx.xx.xx.xx')' at line 1 »
    SQL > REPLACE INTO `wyvern`.`modx_active_users` (internalKey, username, lasthit, action, id, ip) values(-, 'test2', '1394554005', '998', NULL, 'xx.xx.xx.xx')
    Basic info
    REQUEST_URI : 	http://www.url.com/login.html
    Resource : 	[79]Login
    Current Snippet : 	WebLogin


    Ive repaired my tables in the database and such and ran the instal again but dont know what else to try?

    thanks in advance

    This question has been answered by sottwell. See the first response.

    • discuss.answer
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I believe that is a bug; there have been some other posts mentioning that the login ended up missing the internalKey value. https://github.com/modxcms/evolution/issues/212
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 30912
        • 463 Posts
        oops i forgot to edit the title lol thanks Susan