Login Page Shows 404

0

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

Question Resolved For: Stock Manager Advance (Invoice & Inventory System) 0 Votes 6 Answers 915 Views
Asked by muzzamal 4 years ago

0

Answered by Mian Saleem 4 years ago

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

0

Answered by muzzamal 4 years ago

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.

0

Answered by muzzamal 4 years ago

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

0

Answered by muzzamal 4 years ago

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

0

Answered by Mian Saleem 4 years ago

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

0

Answered by muzzamal 4 years ago

Thank you

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.