Results 1 to 18 of 18

Thread: ERROR 500 Unknown installation status

  1. #1
    User
    Join Date
    06-20-09.
    Location
    Middlesbrough, UK
    Posts
    246

    Default ERROR 500 Unknown installation status

    ERROR 500 Unknown installation status
    Some files were found on your server but no known Contao version could be detected.
    You must either manually repair your application or remove the following files and folders to install Contao:

    - public_html

    This is the folder with the symlink set up on. I can't delete this. The hosting company set the symlink up.

    Anyone have any ideas?
    Attached Images Attached Images
    360fusion: Virtual Tours - Web Design
    Social Media: Twitter - Facebook Page

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    You must set the DocumentRoot to the web/ folder and not to the pulic_html/ directory:
    Code:
    public_html/
               |
               app/
               assets/
               files/
               system/
               templates/
               var/
               vendor/
               web/     <--- set the DocumentRoot to this folder
                  |
                  …
                  contao-manager.phar.php
                  …
    If you can't do this yourself, ask your hosting provider to set the DocumentRoot accordingly.
    Last edited by xchs; 03/03/2018 at 14:08.
    Contao Community Moderator
    → Support options

  3. #3
    User
    Join Date
    06-20-09.
    Location
    Middlesbrough, UK
    Posts
    246

    Default

    The hosting company did set the document root folder to be the web folder.
    360fusion: Virtual Tours - Web Design
    Social Media: Twitter - Facebook Page

  4. #4
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Was it like this before? Or was that just changed now?
    Contao Community Moderator
    → Support options

  5. #5
    User
    Join Date
    06-20-09.
    Location
    Middlesbrough, UK
    Posts
    246

    Default

    It was like this before. When they created the symlink they set the web folder to be the document root
    360fusion: Virtual Tours - Web Design
    Social Media: Twitter - Facebook Page

  6. #6
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Could you maybe post a screenshot of the current directory structure? The installation directory must be empty at the beginning, in order that the Contao Manager can run the installation process.
    Contao Community Moderator
    → Support options

  7. #7
    User
    Join Date
    06-20-09.
    Location
    Middlesbrough, UK
    Posts
    246

    Default

    Hear you are.

    Thanks
    Ben
    Attached Images Attached Images
    360fusion: Virtual Tours - Web Design
    Social Media: Twitter - Facebook Page

  8. #8
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    What does the lock symbol in the folder icon of public_html mean? Why don't you move the web/ folder into the public_html/ folder and run the Contao Manager there?
    Contao Community Moderator
    → Support options

  9. #9
    User
    Join Date
    06-20-09.
    Location
    Middlesbrough, UK
    Posts
    246

    Default

    I thought the whole idea was the web folder is to replace the public_html folder and all files for contao sit above it for security reasons?

    I don't know how this installer works. If I run it in the web folder does it put all system files in the folder above. If I put the web folder in the public_html won't this them leave the system files in the public_html and therefore exposed?

    Can't contao just be configured to use the public_html as the main folder. This would save a lot of effort as all hosting companies I use have public_html as the main folder to put websites in.

    I'm not sure why the padlock is on it. I can all the hosting company.

    Thanks for your help.
    360fusion: Virtual Tours - Web Design
    Social Media: Twitter - Facebook Page

  10. #10
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    So, basically, the DocumentRoot of your domain is currently set to the public_html/ folder and you cannot change this, right?

    Can you create symlinks? If yes, then I would do it like this:

    • rename your current public_html/ folder to e.g. www/
    • move your current web/ folder (with the contao-manager.phar.php script) into the www/ folder
    • create a new symlink public_html and set the target to the www/web/ folder
    Contao Community Moderator
    → Support options

  11. #11
    User
    Join Date
    06-20-09.
    Location
    Middlesbrough, UK
    Posts
    246

    Default

    Hi,

    I'm giving this another go.

    I have got the hosting company to do as you said.

    public_html/
    |
    app/
    assets/
    files/
    system/
    templates/
    var/
    vendor/
    web/ <--- set the DocumentRoot to this folder
    |

    contao-manager.phar.php


    But now I get this error message: ERROR 404 Unexpected API status

    Thanks
    Ben
    Attached Images Attached Images
    360fusion: Virtual Tours - Web Design
    Social Media: Twitter - Facebook Page

  12. #12
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Can you access other files from within the web/ folder? For example, if you add a new file test.txt in your web/ directory, can you access this file via https://example.com/test.txt?
    Contao Community Moderator
    → Support options

  13. #13
    User
    Join Date
    06-20-09.
    Location
    Middlesbrough, UK
    Posts
    246

    Default

    Yes, that's works, just added a txt file and I can access it fine.
    360fusion: Virtual Tours - Web Design
    Social Media: Twitter - Facebook Page

  14. #14
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Then it should work, actually.

    When do you get this error message?
    Contao Community Moderator
    → Support options

  15. #15
    New user
    Join Date
    07-03-18.
    Posts
    2

    Default

    I had the same problem with a XAMPP installation on Win 10 in Virtual Box. Copy the Contao 4.4 files to htdocs and contao-manager.phar.php into htdocs\web.
    The URL to configure it is now http://localhost/web/contao-manager.phar.php instead of http://localhost/contao-manager.phar.php

  16. #16
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Quote Originally Posted by Flip View Post
    The URL to configure it is now http://localhost/web/contao-manager.phar.php
    That only works on localhost! Nevertheless, it would be better to set up a virtualhost there as well.
    Contao Community Moderator
    → Support options

  17. #17
    New user
    Join Date
    07-03-18.
    Posts
    2

    Default

    Quote Originally Posted by xchs View Post
    That only works on localhost! Nevertheless, it would be better to set up a virtualhost there as well.
    yes, that's clear but I didn't find an installation guide for 4.4. The documentation is *very* basic about installation and setup.

  18. #18
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    You mean an installation guide for localhost or XAMPP?

    Like I said before, http://localhost/web/contao-manager.phar.php is fine, but it only works on localhost and not on a live server, which we're discussing here in the thread.
    Contao Community Moderator
    → Support options

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •