We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20508
    • 157 Posts
    My client is getting the following error on their site you can see it here: (http://www.changeforkids.org).

    Does anyone know how I can begin to fix this?

    MODx encountered the following error while attempting to parse the requested resource:
    « Execution of a query to the database failed - Table ’./changefo_cfkmodx/modx_site_content’ is marked as crashed and should be repaired »
    SQL: SELECT DISTINCT sc.id, sc.menutitle, sc.pagetitle, sc.introtext, sc.menuindex, sc.published, sc.hidemenu, sc.parent, sc.isfolder, sc.description, sc.alias, sc.longtitle, sc.type,if(sc.type=’reference’,sc.content,’’) as content, sc.template, sc.link_attributes FROM `changefo_cfkmodx`.`modx_site_content` sc LEFT JOIN `changefo_cfkmodx`.`modx_document_groups` dg ON dg.document = sc.id WHERE sc.published=1 AND sc.deleted=0 AND (sc.privateweb=0) AND sc.hidemenu=0 AND sc.id IN (55,56,73,86) GROUP BY sc.id ORDER BY sc.menuindex ASC ;
      • 22303 MODX Staff
      • 10,725 Posts
      If you have access to PHPMyAdmin (or other access to your client’s database), you need to repair the table specified in the error. There is generally a link under the Operations tab in PHPMyAdmin after you select the table in question.
        • 7231
        • 4,205 Posts
        Looks like there may be an issue with the query as well since what you posted does not match what is in the parse error message.
          [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

          Something is happening here, but you don't know what it is.
          Do you, Mr. Jones? - [bob dylan]