Question: Installer Error After Pointing Docroot To Public

Installer Error After Pointing Docroot To Public

I have configured Apache and pointed webroot to "/path-to-location/tsms/public". When I access it from browser: mydomain.com/installer the installer runs but on "Installation progress" ste

W

Waqas

Asked

I have configured Apache and pointed webroot to “/path-to-location/tsms/public”. When I access it from browser: mydomain.com/installer the installer runs but on “Installation progress” step, it shows the same Error! Installer is …

Apache logs show 404 error: 
 - - [24/Jan/2021:08:01:54 +0000] "GET /installer/ HTTP/1.1" 404 397 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0"

Screenshot is also attached for reference.

  • MS

    Mian Saleem

    Answered

    Hello,

    Please make you have upload the .htaccess file to public folder. You can check it in your download file to compare with server. If you are on linux/unix then dot files are hidden by default.

    Thank you

  • W

    Waqas

    Answered

    Hi,

    Thank you for you response, I have checked .htaccess file as well. Please see the attached screenshot. Not sure why this error appears.

    Regards Waqas

  • MS

    Mian Saleem

    Answered

    Hello,

    If the root path is set correctly there shouldn’t be 404 error. Please share the server details in private reply so that I can check.

    You can add private reply by enabling PRIVATE for Staff only at top right of the reply section.

    Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    Please update your php to 7.4 and try to access the installer again.

    Thank you

  • W

    Waqas

    Answered

    Hi,

    Really appreciate your prompt response. I enabled php 7.4 and it was showing the same while checking: php -v PHP 7.4.14 (cli) (built: Jan 12 2021 13:59:46) ( NTS ) Copyright © The PHP Group Zend Engine v3.4.0, Copyright © Zend Technologies with Zend OPcache v7.4.14, Copyright ©, by Zend Technologies

    but somehow it was picking up php 7.3. I have removed php 7.3 as it was not needed for now. The error has gone now and installer has proceeded.

    Thank you very much.

    Regards Waqas

  • Login to Reply