We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39464
    • 13 Posts
    I have the backup files from a site on 0.9.6.3
    I want to install on xampp then upgrade to revolution.

    Installing 9.6.3 on xampp 1.7.7 i get a big list of errors - see attachment

    Php 5.3.8
    Apache 2.2
    mysql 5.0.8

    where do i start?
      • 39464
      • 13 Posts
      this happens at the end of the installation.
        • 4310
        • 2,310 Posts
        In your DB dump file try replacing all instances of :
        'TYPE=MyISAM'

        with :
        'ENGINE=MyISAM'
          • 39464
          • 13 Posts
          sorry i havent update the thread, i found that solution and it solved most of the issues.
          I have 3 errors similar to this and one other.

          Specified key was too long; max key length is 1000 bytes during the execution of SQL statement CREATE TABLE IF NOT EXISTS `modx_documentgroup_names` ( `id` int(10) NOT NULL auto_increment, `name` varchar(255) NOT NULL default '', `private_memgroup` tinyint DEFAULT 0 COMMENT 'determine whether the document group is private to manager users', `private_webgroup` tinyint DEFAULT 0 COMMENT 'determines whether the document is private to web users', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=MyISAM COMMENT='Contains data used for access permissions.'.
            • 27708 MODX Staff
            • 2,502 Posts
            Just a note, there is no direct path to move from Evo to Revo.
              Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
              • 39464
              • 13 Posts
              yes, thats my next issue to solve but one step at a time. my plan is to install 9.6.3 get my site working, upgrade to 1.05 then to revo. But thats a nother thread.
                • 39464
                • 13 Posts
                ok i think ill start another thread as the initial problem has been solved
                  • 39464
                  • 13 Posts
                  OK i solved the issues installing 0.9.6.3, there are a lot of Deprecated functions in the code.

                  https://forums.modx.com/thread/?thread=60964.new%3Btopicsee&i=1&page=2 the last post on this thread is an easy solution for a newby.

                  Then there was a piece of code in browsercheck.inc
                  $client = & new phpSniff($GET_VARS['UA'],$sniffer_settings);

                  Need to remove the '&'

                  Then there was the 4 errors that start with:
                  'Specified key was too long; max key length is 1000 bytes'

                  I changed the collation from Uft8 to Latin1 as it take s 1/3 of the bytes.

                  Then there is a line of code 844 in document.parser.classic.ini that reads like this:
                  $tempSnippetParams= split($splitter, $tempSnippetParams);

                  need to be changed to this;
                  $tempSnippetParams= preg_split('/$splitter/', $tempSnippetParams);

                  I dont know how comprehensive these fixes are or if they will cause problems later on as im really very green and i dont really understand what i was changing.

                  good luck
                  [ed. note: worldly123 last edited this post 14 years, 4 months ago.]
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    You can also change all the split() functions to explode() without any problems.
                      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