Question: Login Page Shows 404

Login Page Shows 404

Hi team, Hope you are fine. I have just installed the Stock Manager Advance v3.4.46. Installation was smooth . But i am unable to access the login page. It shows 404 page. Need your help

M

muzzamal

Asked
Hi team,
Hope you are fine. I have just installed the Stock Manager Advance v3.4.46. Installation was smooth .
But i am unable to access the login page. It shows 404 page. Need your help please.
Thanks in advance
  • MS

    Mian Saleem

    Answered
    Hello,

    Over 90% cause of the 404 error would be missing .htaccess file. Please check the following FAQ

    ---
    **Why am I getting 404 Not Found error after installation?**

    Please

    1. make sure that your apache `mod_rewite` is enabled and configured to use `.htaccess` from site folder
    2. check that `.htaccess` file is successfully uploaded and exists in the main directory of SMA
    3. `base_url` in app/config/config.php

    If you are using godaddy, please visit the codeigniter official guide here. You might need to check and modify you `.htaccess` files too.

    ---

    This is already answered in the documentation.pdf too.

    Thank you
  • M

    muzzamal

    Answered
    Hello,
    rewrite engine is on in htaccess. Here is the code.
    RewriteEngine On
    # RewriteBase /basepath/
    RewriteCond $1 !^(index\.php|assets|install|update)
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    I cannot use the application as each listing page shows "Loading data from server" and nothing is shown. I have tried increasing resources nothing changed.
  • M

    muzzamal

    Answered
    Here is the screenshot of the issue > https://snipboard.io/B8vojd.jpg
  • M

    muzzamal

    Answered
    Hello, Issue is resolved. My website is using HTTPS but the app/config/config.php had HTTP in the base URL. I have replaced it with HTTPS and it is working fine now. Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    I am glad to know that you have found the reason.

    Generally the http or https both should at least load the page and not show 404 not found :( I will keep this in mind if anyone else has such issue.

    Thank you for sharing
  • M

    muzzamal

    Answered
    Thank you
  • Login to Reply