We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13610
    • 52 Posts
    I can’t figure out why I am getting this error when I hit the login button on my page http://www.tsia.com/login.html

    When I use the correct username and password, there is no issue.

    If I just hit the login button or enter incorrect credentials then I get the message below.

    SQL: INSERT INTO `modx_v1`.`modx1_event_log` (eventid,type,createdon,source,description,user) VALUES(1,3,1279828390,'AjaxSearch - Snippet','syntax error, unexpected \'<\'
    
    
    \nParse error: syntax error, unexpected \'<\' in E:\\MODX\\manager\\includes\\document.parser.class.inc.php(770) : eval()\'d code on line 1



    Please help if possible, I have trying to figure this out for 2 days now.

    Thanks,

    Jason
      Jason Buck
    • It looks like the ajaxSearch snippet code has a problem on line 1; take a look at it. Does it have doubled <?php opening tags? If so, check the end ?> tags as well.
        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