We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32614
    • 65 Posts
    I’ve upgraded to the latest version of Ditto (2.1.0, right?) but it doesn’t seem to have effected anything on my site.

    here’s the debug file for the new version of Ditto:
    http://www.thesoundsinmyhead.com/support/ditto2.1.0_debug_doc1.html

    mark, thanks so much for helping me out with this!!
      "A great democracy must be progressive, or soon it shall cease to be great, and soon it shall cease to be a democracy." -Theodore Roosevelt
      • 18397
      • 3,250 Posts
      The development version contains several fixes that the stable release does not have yet. You can get a copy from the link in my signature.
        • 32614
        • 65 Posts
        still no dice, even with Ditto version 2.1.1.SVN. here’s the debug for this latest version:
        http://www.thesoundsinmyhead.com/support/ditto2.1.1.svn_debug_doc1.html

        i will note tho, that it DEFINITELY has something to do with the hosting, because i confirmed that they did in fact move my account to a new server, and when i compared the version on the new server (which is the live version of the site) to the old version on the no-longer-accessible server everything still worked the way it did prior to when things broke a week or so ago.

        i don’t know if that helps, but that’s all i know. if i should ask my host any specific questions to help get to the bottom of this i can, just let me know what to ask.

        thanks again for all the hard work!
          "A great democracy must be progressive, or soon it shall cease to be great, and soon it shall cease to be a democracy." -Theodore Roosevelt
          • 18397
          • 3,250 Posts
          While I sift through the debug data, adding &sortBy=`id` &sortDir=`DESC` should work around the problem as newer shows will logically have greater IDs.
            • 32614
            • 65 Posts
            interesting. when i add the &sortDir=`DESC` tag to the call, it actually breaks the page. i get the following error in the browser when i try to load the page:

            « MODx Parse Error »

            MODx encountered the following error while attempting to parse the requested resource:
            « Execution of a query to the database failed - Got error 28 from storage engine »
            SQL: SELECT stv.name,stc.tmplvarid,stc.contentid,stv.type,stv.display,stv.display_params,stc.value FROM `thesound_modx`.`modx_site_tmplvar_contentvalues` stc LEFT JOIN `thesound_modx`.`modx_site_tmplvars` stv ON stv.id=stc.tmplvarid WHERE stv.name=’episodeType’ AND stc.contentid IN (25,26,27,28,29,30,31) ORDER BY stc.contentid ASC;
            [Copy SQL to ClipBoard]

            Parser timing
            MySQL: 1.0264 s (6 Requests)
            PHP: 0.8465 s
            Total: 1.8729 s

            maybe this new info will help diagnose the problem? i hope so...
              "A great democracy must be progressive, or soon it shall cease to be great, and soon it shall cease to be a democracy." -Theodore Roosevelt
              • 18397
              • 3,250 Posts
                • 32614
                • 65 Posts
                i don’t know what has happened now, but today when i tried to go to my site the whole thing is down. I had removed the &sortDir=`DESC` tag from the call and everything (other than the page which uses Ditto for it’s listing) was still working fine. but now all i get no matter where i try to go on the site:

                « MODx Parse Error »

                MODx encountered the following error while attempting to parse the requested resource:
                « PHP Parse Error »

                PHP error debug
                Error: mysql_connect() [function.mysql-connect]: Can’t connect to MySQL server on ’thesoundsinmyhead.ipowermysql.com’ (113)
                Error type/ Nr.: Warning - 2
                File: /hermes/bosweb/web235/b2350/ipw.thesoundsinmyhead/public_html/manager/includes/extenders/dbapi.mysql.class.inc.php
                Line: 87
                Line 87 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {

                Parser timing
                MySQL: 0.0000 s (0 Requests)
                PHP: 3.0364 s
                Total: 3.0364 s
                Error while inserting event log into database.

                  "A great democracy must be progressive, or soon it shall cease to be great, and soon it shall cease to be a democracy." -Theodore Roosevelt
                  • 32614
                  • 65 Posts
                  Sorry, I didn’t realize this post had been added. I’m going to try this and see if it solves all of my problems! Thanks!!

                  Quote from: Mark at May 28, 2008, 10:11 AM

                  http://superaff.com/archives/2006/11/11/wordpress-database-error-got-error-28-from-storage-engine/

                  http://codex.wordpress.org/FAQ_Troubleshooting#MySQL_Error_28

                  http://drupal.org/node/44160#comment-90565
                    "A great democracy must be progressive, or soon it shall cease to be great, and soon it shall cease to be a democracy." -Theodore Roosevelt
                    • 25663 MODX Staff
                    • 12,272 Posts
                    Really sounds like when they "upgraded" your server, they put some serious restrictions on the MySQL bits or put you on a server with heavy MySQL users.
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 32614
                      • 65 Posts
                      oh yeah, big time. ipower.com is horrible. the database was just totally broken today (nothing to do with modx) and it took them 2 hours to get it up and running again. now that it is, i was able to add the extra bits of code to the Ditto call, but much to my chagrin, this didn’t result in any change in terms of the sort order.

                      here’s the full call i’m using, is everything in the right order and stuff?

                      [!Ditto?tpl=`Episodes`&parents=`3`&paginate=`1`&depth=`2`&hideFolders=`1`&prv=`previousShows` &nxt=`newerShows`&display=`7`&showPublishedOnly=`1`&sortBy=`id` &sortDir=`DESC`!]


                      this is such a drag. i’m sorry to have burdened everyone with such annoying bs.
                        "A great democracy must be progressive, or soon it shall cease to be great, and soon it shall cease to be a democracy." -Theodore Roosevelt