On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • "Modx Installation Problems in Windows 2003

    I am having these problems installing Modx in a Windows 2003
    system:

    Warning:
    fopen(D:/Inetpub/vhosts/capoeirabrasiltucson.com/httpdocs/
    cbtmodxsite/manager/media/style//login.html)
    [function.fopen]: failed to open stream: No such file or directory in
    D:\Inetpub\vhosts\xxxxxxxxx\httpdocs\cbtmodxsite
    \manager\includes\accesscontrol.inc.php on line 129

    Warning: filesize() [function.filesize]: Stat failed for
    D:/Inetpub/vhosts/xxxxxxxxx/httpdocs/cbtmodxsite/
    manager/media/style//login.html (errno=2 - No such file or directory) in
    D:\Inetpub\vhosts\xxxxxxxxx\httpdocs\cbtmodxsite
    \manager\includes\accesscontrol.inc.php on line 130

    Warning: fread(): supplied argument is not a valid stream resource in
    D:\Inetpub\vhosts\xxxxxxxxx\httpdocs\cbtmodxsite
    \manager\includes\accesscontrol.inc.php on line 130

    Warning: fclose(): supplied argument is not a valid stream resource in
    D:\Inetpub\vhosts\xxxxxxxxx\httpdocs\cbtmodxsite
    \manager\includes\accesscontrol.inc.php on line 131

    Could you help me with suggestions how to solve these problems? Apparently,
    there was nothing wrong in the lines 129, 130, and 131."
    • You did not get a complete, or it’s corrupt, FTP transfer most likely.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • All files are in the directory that the installation says they do not exist. What do you suggest?
        • try reuploading all the files again sounds like they are corrupt.
            http://www.onesmarthost.co.uk
            UK MODX Hosting with love.
          • It looks like the manager style is not specified, which can happen when there are PHP session problems. Notice the paths of the files that are not being found -- D:/Inetpub/vhosts/capoeirabrasiltucson.com/httpdocs/
            cbtmodxsite/manager/media/style//login.html -- the last path element before the filename is missing, which is typically the default style (MODxLight) name. Can you try running the installation again, this time in upgrade mode, and see if the situation resolves itself?
            • I think this will help.
              • Thanks all for your help. The problem was not related with anything that we guessed before. Yesterday, I had the idea to look some permission options in my server. What was missing was just the permissions to be done for the site on the server permissions side. Allowing this in Windows 2003 was what needed to have Modx installed without any problems, at least in my case.
                Steps:
                1 - Log in the Server and Go to Programs / Administrative tools/ Internet Information Services (ISS) Manager
                2 - On the Left menu Select Server / Web sites
                3 - Select the web site that you are installing Modx
                4 - Go to the top menu and Select Action / Permissions
                5 - On the Security Tab see Group or users names
                6 - Give full permissions to (ISERVER\USR
                7 - Give full permissions to (ISERVER\IWAN).
                8 - Reinstall Modx using the upgrade option.

                After these steps, Modx .96 is running nice in my Windows 2003 server. Modx is an incredibly powerful
                system. grin

                A. Moura