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

    General server information:
    Operating system 	Linux
    Service Status 	Click to View
    Kernel version 	2.6.10-1.771_FC2smp
    Machine Type 	i686
    Apache version 	1.3.36 (Unix)
    PERL version 	5.8.7
    Path to PERL 	/usr/bin/perl
    Path to sendmail 	/usr/sbin/sendmail
    Installed Perl Modules 	Click to View
    PHP version 	4.4.2
    MySQL version 	4.0.25-standard
    cPanel Build 	10.8.1-RELEASE 113
    Theme 	cPanel X v2.5.0
    Documentation 	Click to View
    cPanel Pro 	1.0 (RC36)


    Above is my hosting plan details.. smiley

    First of all: I tried to do a search on it, but couldn’t find anything specific about this errors that I have.
    I’ve been trying to install modX cms, but I recieve following errors every time I try to install it:

    Setup has carried out a number of checks to see if everything's ready to start the setup.
    
    Checking PHP version: OK!
    
    Checking if sessions are properly configured: OK!
    
    Checking if assets/cache directory exists: OK!
    
    Checking if assets/cache directory is writable: OK!
    
    Checking if assets/cache/siteCache.idx.php file is writable: OK!
    
    Checking if assets/cache/sitePublishing.idx.php file is writable: OK!
    
    Checking if assets/images directory exists: OK!
    
    Checking if assets/images directory is writable: OK!
    
    Checking if assets/export directory exists: OK!
    
    Checking if assets/export directory is writable: OK!
    
    Checking if manager/includes/config.inc.php exists and is writable: OK!
    
    Creating connection to the database: OK!
    
    Checking table prefix `modx2_`: OK!


    This step is okay as you might see.

    On next step this errors appears, and I have no clue what they means:

    Setup will now attempt to setup the database:
    
    Creating connection to the database: OK!
    
    Selecting database `gg123_modx`: OK!
    
    Checking table prefix `modx2_`: OK!
    
    Creating database tables: OK!
    
    Writing configuration file: OK!
    
    Chunks:
    
      WebLoginSideBar: Installed
    
    Module:
    
      QuickEdit: Installed
    
    Plugin:
    
      FCKEditor: Installed
    
      QuickEdit: Installed
    
      Inherit Parent Template: Installed
    
    Snippets:
    
      Personalize: Installed
    
      MemberCheck: Installed
    
      DateTime: Installed
    
      GetStats: Installed
    
      ContactForm: Installed
    
      DropMenu: Installed
    
      FlexSearchForm: Installed
    
      NewsFeed: Installed
    
      NewsListing: Installed
    
      NewsPublisher: Installed
    
      UserComments: Installed
    
      PoweredBy: Installed
    
      PageTrail: Installed
    
      WebLogin: Installed
    
      WebChangePwd: Installed
    
      WebSignup: Installed
    
    Warning: main(../manager/processors/cache_sync.class.processor.php): failed to open stream: No such file or directory in /home/gg123/public_html/modx/install/instprocessor.php on line 434
    
    Warning: main(): Failed opening '../manager/processors/cache_sync.class.processor.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gg123/public_html/modx/install/instprocessor.php on line 434
    
    Fatal error: Cannot instantiate non-existent class: synccache in /home/gg123/public_html/modx/install/instprocessor.php on line 435
    


    Thanks for all help you can provide!

    Cheers!
    Kristoffer
      • 7923
      • 4,213 Posts
      After you uploaded modx files to your server, did you make the /assets/cache (and its files), /assets/export and /assets/images folders world-writeable (CHMOD 666 or 777) ?


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 33337
        • 3,975 Posts
        check your files if everything uploaded correctly. Sometime FTP missed some files during upload due to connection loss.

        regards,

        zi
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link
          • 21353
          • 2 Posts
          Thanks for all your help, it was a combination of missing files and corrupt ones.
          But, now I get the following problem in the system configuration dialog and I’m thinking it has something to do with me selecting norwegian language.

          Does anybody know how to fix the problem?

          Parse error: syntax error, unexpected T_INCLUDE_ONCE in /home/gg123/public_html/modx/manager/includes/lang/norsk.inc.php on line 1

          Thanks!
          Kristoffer
          • Sounds like another corrupted file; the beginning of your file should look like this:

            <?php
            /**
             * Filename:       includes/lang/norwegian.inc.php
             * Function:       Norwegian language file.
             * Encoding:       ISO-8859-1
             * Author:         ÿyvind Saltvik
             * Date:           29-Jan-2006
             * Version:        0.9.1
             * MODx version:   0.9.1
            */
            
            include_once(dirname(__FILE__).'/english.inc.php'); // fallback for missing defaults or new additions
            
              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