Question: Unable to login to clean install

Unable to login to clean install

Clean install (new database, new location, new extract from zip). After the final screen, remove SMA file and install/ directory. Click on the link to login, enter [email protected] with

SS

Scott Smith

Asked
Clean install (new database, new location, new extract from zip).

After the final screen, remove SMA file and install/ directory.

Click on the link to login, enter [email protected] with password 12345678

Redirected back to the login page. No error messages.

Enabled level 4 logging in config.php

Log output is attached
  • SS

    Scott Smith

    Answered
    Also, clicking on the forgot password link only loops back to the login form, no messages.

    Same DEBUG error shows up in the log.
  • MS

    Mian Saleem

    Answered
    Hello,

    You should set log threshold to 1 errors. Is SMA installed on main domain or subdomain or subdirectory? Can you share the link, you can add private reply.

    Thank you
  • SS

    Scott Smith

    Answered
    I cannot provide you access as it is installed behind a firewall on a private server, in a subdirectory of a subdomain. All DNS is served locally. The SMA install is located at

    https://aplus.server.private/sma/

    We have an instance of Simple Invoice Manager running very well in the same environment, but at

    https://aplus.server.private/sim/

    With the log threshold set to 1, there is no output to the log.

    Were the following log entries not helpful? In particular the second DEBUG line?

    INFO - 2020-04-01 12:30:13 --> Form Validation Class Initialized
    DEBUG - 2020-04-01 12:30:13 --> Config file loaded: /home/smith/files/ibays/aplus/html/sma/app/config/ion_auth.php
    DEBUG - 2020-04-01 12:30:13 --> Unable to find validation rules
    INFO - 2020-04-01 12:30:13 --> File loaded: /home/smith/files/ibays/aplus/html/sma/themes/default/admin/views/auth/login.php
    INFO - 2020-04-01 12:30:13 --> Final output sent to browser
  • MS

    Mian Saleem

    Answered
    No debug/info log can't help but only error logs. You can check your server error logs too.

    May I know your php version? SMA require php 7.1+ I suggest to install with php7.4
  • SS

    Scott Smith

    Answered
    Got it sorted. In config.php base_url, typo of http://... instead of https:/...
  • MS

    Mian Saleem

    Answered
    I am glad to know that the issue is sorted :)
  • Login to Reply