Question: Not Able To Install In Demo

Not Able To Install In Demo

I had purchased this code and asked my developer ot do some modification and when i wanted to show a demo to my client i am not able to install it in the demo server.

S

SANJAY

Asked
I had purchased this code and asked my developer ot do some modification and when i wanted to show a demo to my client i am not able to install it in the demo server.
  • EG

    Enyinnaya Gift

    Answered
    Hello,

    Are you getting any particular error message?

    What kind of modification did you do?

    I am not sure @**Tecdiary** directly support modified code.

    You could reach out to your developer to help you with the installation.

    Or contact me via `[email protected]`

    I am an **Independent developer** that knows the system very well.
  • S

    SANJAY

    Answered
    hello Dear my devloper did not modify the code, he just edited the details like name , logo and tested it in local host. now he send me the file and i tried uploading it in and installing it then the install gives the error below:
    Installer is locked!
    Please contact your developer/support.

    i checked for .htaccess
    entered correct base url.

    Everything is fine.,
  • EG

    Enyinnaya Gift

    Answered
    **[SANJAY](/u/SANJAY)** Hello,

    Installer blocked means that **installation has already been run on the script**, you don't need to run another installation.

    Everything should work fine if you copy the code sent to you to correct server location, properly setup the database, and configure the app base url correctly.

    Note: It's not in `.htcaccess` file that you need to enter the `base url`. You will need to do that in `app\config\config.php` file.
  • S

    SANJAY

    Answered
    **[Enyinnaya Gift](/u/giftedhands4real)** Dear

    I tired all that nothing helps.
  • EG

    Enyinnaya Gift

    Answered
    **[SANJAY](/u/SANJAY)** Kindly reach out to your developer to help you set it up, or you can as well reach me via `[email protected]`

    I am an **Independent developer**

    Thanks.
  • S

    SANJAY

    Answered
    check your mail please
  • MS

    Mian Saleem

    Answered
    Hello,

    To re-install, you will need to upload all the files. I can't guess the error message 'not able to install'. Please share the error message with screenshot so that I can understand the issue and guide.

    Thank you
  • EG

    Enyinnaya Gift

    Answered
    **[SANJAY](/u/SANJAY)** Check the log folder to see if there's any error. You can locate the log folder in `app\log`.

    Meanwhile try adding `index.php` in `$config['index_page']` in the config file. See example below.

    `$config['index_page'] = 'index.php';`
  • MS

    Mian Saleem

    Answered
    Hello,

    As mentioned in the docs, the installer will be locked after successful installation. If you need to reinstall, you will need to upload the `SMA_POS` null file that determines the install status.

    Otherwise, you can backup local database and files and restore them on your live server. Lastly change the base_url and database config. That's all. There won't be any need to reinstall. In case you have error, please check server error logs for error details and let us know so that we can suggest.

    500 errors are internal server errors and might be due to various reasons. The server logs would be very helpful to know the cause.

    Thank you
  • S

    SANJAY

    Answered
    **[Enyinnaya Gift](/u/giftedhands4real)** i trie dall this nothign works
  • Login to Reply