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

    I followed the installation instructions to install modx and followed the beginners guide wiki tutorial. However I can not preview the site when I select the Preview option in the manager. I just get the Index of/modx directory page up in the browser. This also happened before I did the tutorial.

    Is this a permissions issue on the assets or manager files? Any help appreciated as it’s a bit of a show stopper!

    sad
      • 7231
      • 4,205 Posts
      Do you have the MODx index.php in the root directory? If you do have all the files then it may be that your server is not setup to look for index.php so it will show the directory index if there is no index.html file. Try accessing via the full url: your host name/index.php?id=1
        [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]
        • 26903
        • 1,336 Posts
        it may be that your server is not setup....
        If it is your server you’ll need to set something like this to tell your web server that files ending in .php are to be interpreted, this is from a linux/apache setup in the php.conf file :-
        #
        # Cause the PHP interpreter to handle files with a .php/htm/html extension.
        #
        AddHandler php5-script .php .html .htm
        AddType text/html .php
        


        Windows will be different, ask your service provider or google.

          Use MODx, or the cat gets it!
          • 20613
          • 18 Posts

          Thanks guys, I accidentally removed the index.php file along with ht.access so I did a clean install and all is working! smiley