Question: http 500 error after install complete

http 500 error after install complete

I Just install SMA all modules. But forget to log in & change default id Pass. after try to log in wrong id pass single time. HTTP 500 error happen. would you please help me out.

R

Rashed

Asked
I Just install SMA all modules. But forget to log in & change default id Pass. after try to log in wrong id pass single time. HTTP 500 error happen. would you please help me out.
  • EV

    Ezequiel Villarreal

    Answered
    In index.php, change line 45 to this: define('ENVIRONMENT', 'development');
  • MS

    Mian Saleem

    Answered
    Hello,

    Please set `ENVIRONMENT` back to `production` It's not good idea to set it to development unless you want develop on local server. If you need you can enable app log in by changing the `log_threshold` to 1 in `app/config/config.php`

    [@Rashed](/u/Rashed_019) It looks like the system can not connect to database. Please check the `app/config/database.php` for database config. Please make sure the username & password are correct and that user has all the privileges on the database.

    Thank you
  • R

    Rashed

    Answered
    Thanks
    now database can connect. i get the shop page. but default user name and password is not supported. its show error 404
  • MS

    Mian Saleem

    Answered
    If you check the documentation.pdf the 404 not found is already answered there with checklist/suggestions. More than 90% it's due to missing .htaccess file. I am pasting the FAQ below

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

    Please
    1. make sure that your apache mod_rewite is enabled and it's configure to use .htaccess file from site directory
    2. check that .htaccess file is successfully uploaded and exists in the main directory (where app, system and themes folders)
    3. base_url in app/config/config.php
  • R

    Rashed

    Answered
    I am unable to do it. Would you please help me out.
  • MS

    Mian Saleem

    Answered
    I am sorry I won't be able to help with server.

    Did you check the Suggestion No. 2, please attach the screenshot of the file/folder listing and the content of the .htaccess file.

    Thank you
  • R

    Rashed

    Answered
    I request you to installation service. What is the procedur? Should i provide you required informatio. Here or mail you?
  • MS

    Mian Saleem

    Answered
    Hello,

    You can [open ticket for installation](/support/tickets/new) and provide your server details with desired path to install.

    If you have already installed and having error, you can open ticket to check server $10. For installation the ticket price is $20.

    Thank you
  • Login to Reply