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

    this is a rather strange one; I've installed Revo 2.5 from scratch on a shared host and imported all database tables that I needed (templates,tables,chunks,TVs with all dependent tables) and now the content field of some documents is empty in the manager. Funny thing is, the pages with the empty content field in the manager, display just fine in the front-end. I checked in PHPMyAdmin to see if the content was missing, but nothing was wrong.

    I should point out that it doesn't affect all documents. All other feilds, such as pagetitle,aliss, etc. display are fine.

    I tried the following fixes : Uninstall/disable TinyMCE, reinstall MODX,unsinstall/reinstall all packages, clear the manager cache, manaually empty the core/cache folder, empty the browser cache, try a different browser, but nothing gives.

    I'm currenlty running MODX 5/PHP5.2/MYSQL 5.1.

    I'm running a few other sites on the same host, with the exact same environment no problem

    Any help will be greatly appreciated.
      A MODx Fanatic
      • 3749
      • 24,544 Posts
      I'd suggest checking the other fields of the resources this happens with against other resources, especially class_key, context_key, content_type and parent.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 30585
        • 833 Posts
        Quote from: BobRay at Dec 10, 2012, 02:30 AM
        I'd suggest checking the other fields of the resources this happens with against other resources, especially class_key, context_key, content_type and parent.

        Thx Bob for the follow-up. On all pages I checked, these are the settings for class_key, context_key and content_type; respectively:
        modDocument;web;1
          A MODx Fanatic
        • Any errors in the error log, or in your browser error console?
            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
            • 30585
            • 833 Posts
            After scratching my head all night, I simply reverted to copying the missing content from the database fields into the manager. Luckily for me, I only had 20 documents to modify since the rest of the content is automatically generated.

            I'm still not sure what went wrong.

            As far as errors, here's a few for anyone else in a similar situation:

            [2012-12-10 04:57:30] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 04:57:30] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 04:57:30] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 04:57:30] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:05:04] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:10:14] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:10:14] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:10:18] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:10:19] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:10:19] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:10:19] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:10:19] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:15:15] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:16:20] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:16:20] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:16:24] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:16:24] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:16:29] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:16:29] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:16:29] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:16:29] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            [2012-12-10 05:16:29] (ERROR @ /index.php) Could not get table name for class: modS3MediaSource
            
              A MODx Fanatic