We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4429
    • 429 Posts
    I uploaded modx to a server im using but when I visit the url to install modx, I am greeted with the following:


    Warning: main(lang.php): failed to open stream: No such file or directory in /home/p/r/presspointproof/public_html/naturediet/install/index.php on line 15
    
    Fatal error: main(): Failed opening required 'lang.php' (include_path='.:/lib/php') in /home/p/r/presspointproof/public_html/naturediet/install/index.php on line 15


    I have never had that before on any installation.

    Any idea what the problem is and how to fix it?
      • 3749
      • 24,544 Posts
      It sounds like some files were skipped or corrupted during the download from MODx, or (more likely) the upload to the remote machine.

      It happens fairly often with a package this large. Try re-uploading the files.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 9207 ☆ A M B ☆
        • 2,475 Posts
        I’ve had that happen... usually I think it’s better to download the install package directly to the webserver. If you have shell access, you can use the wget command, e.g.
        wget http://modxcms.com/assets/snippets/filedownload/download.php?path=YnVpbGRz&fileName=modx-0.9.6.3.tar.gz&utm_source=0961p2&utm_medium=web&utm_campaign=download
        


        If you don’t have shell access, try downloading the zip file and copying it to your server as a single file, then unzip it on the server.

          • 4429
          • 429 Posts
          Installed now - corrupt files.

          i’m not added the content - though the design still needs tweaking. Thanks.