We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32464
    • 3 Posts
    Hi, I would be grateful for some advice on an installation problem, as follows:
    MODx version 0961
    Windows shared hosting
    mySQL version 5
    php version 4.4.6
    php Server API CGI/FastCGI
    All the files on the server have read/write permission

    1. I first got a check failure for "manager/includes/config.inc.php exists and is writable". I found that the file on the server was named "config.inc.php.blank" so I manually renamed it "config.inc.php" and then did a Retry successfully. I was then able to proceed to the Inatall step. Not sure why this happened though.

    2. On installation I got a failure writing the config file. The installer prompted me to manually copy and paste some php code from a text box, which I did OK. Installation appeared to complete OK.

    3. When I tried to access www.mydomain.co.uk/manager, I got the following:
    ============================================
    Warning: fopen(d:/domains/mydomain.co.uk/wwwroot/manager/media/style//login.html) [function.fopen]: failed to open stream: No such file or directory in d:\domains\mydomain.co.uk\wwwroot\manager\includes\accesscontrol.inc.php on line 129

    Warning: filesize() [function.filesize]: Stat failed for d:/domains/mydomain.co.uk/wwwroot/manager/media/style//login.html (errno=2 - No such file or directory) in d:\domains\mydomain.co.uk\wwwroot\manager\includes\accesscontrol.inc.php on line 130

    Warning: fread(): supplied argument is not a valid stream resource in d:\domains\mydomain.co.uk\wwwroot\manager\includes\accesscontrol.inc.php on line 130

    Warning: fclose(): supplied argument is not a valid stream resource in d:\domains\mydomain.co.uk\wwwroot\manager\includes\accesscontrol.inc.php on line 131
    =============================================
    It looks like some variable(s) are not defined somewhere, since the above paths are not complete. Can anyone advise what has gone wrong and the remedy. Many thanks.
      • 32464
      • 3 Posts
      Further to my problem, it looks like the value for $manager_theme is not being set in accesscontrol.inc.php, I guess that would explain why the file path is the error message has a missing folder name i.e. the name of the manager theme under manager/media/style

      Would this be an installation problem? can I fix it manually? Thanks
        • 7231
        • 4,205 Posts
        Sounds like you may have some missing or corrupted files or that the install process was not successful. Double check that all the files were uploaded (specially in the manager folder) and try runing the installer again.

        2. On installation I got a failure writing the config file. The installer prompted me to manually copy and paste some php code from a text box, which I did OK. Installation appeared to complete OK.
        This means that the config file was not writable so the installer was not able to put the code in the file automatically so it asks you to do it manually. If the file was writable modx would have done this for you.

          [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]
          • 32464
          • 3 Posts
          Hi dev_cw, thanks very much for your posting. I did not have my website read/write permissions switched on in my HELM control panel (Windows hosting). I have now installed successfully! I uploaded the files using FileZilla and had checked the files had read/write here, but I forgot to do this in HELM. I can now forge ahead... Thanks again. smiley