Simple Map Locator

Contents

1. What are the requirements?

2. How do i install the software?

3. How do i update the software?

4. I cannot upload files larger than X mb

5. I change the language but translations not working

6. How to move the installation to a new server?

7. Ho to migrate the license to a new installation?

8. Reset administrator password

1. What are the requirements?

Server: PHP 5+, Mysql
PHP Extensions: gettext, zip, curl, gd, imagick, mysqli

2. How do i install the software?

1) Create an empty database on your server panel and take note of the access parameters, you will be prompted in the installer.
2) Unzip codecanyon_XXXXXXXX.zip file.
3) Copy all files and directories from the codecanyon_XXXXXXX directory into your hosting server root or subdirectory.
4) Access with your browser to http://yourserver/directory/install/start.php (replace your server/directory with the correct path).
5) Follow the wizard and complete the installation.

3. How do i update the software?

0) Back up files and database of previous version 

Automatic update (version 2.9+)
1) Log in to your backend with the administrator account 
2) In the sidebar menu, click Update 
3) Click UPDATE NOW! 

Manual update (if the automatic method doesn’t work) 
1) Unzip the new version of codecanyon_XXXXXXXX.zip 
2) Upload new versions of the files by replacing them in the directory of your hosting server being careful not to delete the existing contents 
3) Log out of the backend and log back in 
NB It is not necessary to run the installer again 

If Automatic Update not working try to adjust these PHP settings:
- allow_url_fopen: enable this
- max_execution_time: max execution time of scripts (Suggested: > 300)
- memory_limit: not equal to post_max_size or upload_max_filesize (Suggested: > 512M)

4. I cannot upload files larger than X mb

Adjust PHP settings to allow uploading large files:
- max_execution_time: max execution time of scripts (Suggested: > 300)
- max_input_time: max execution time of upload (Suggested: > 300)
- memory_limit: not equal to post_max_size or upload_max_filesize (Suggested: > 512M)
- post_max_size: the maximum size of the file you want to upload (this value need to be larger then upload_max_filesize)
- upload_max_filesize: the maximum size of the file you want to upload

If you are under NGNIX server you need also to increase the client_max_body_size to the same or greater value of post_max_size.

5. I change the language but translations not working

- make sure that the PHP extension gettext is installed into your server
- double check if your server have the correct language locale installed, for example de_DE for Germany. If you have ssh access to your server run the command locale -a to check it.
- if the language is not listed in the above output, run these commands to install it: locale-gen de_DE and locale-gen de_DE.UTF-8
- restart the web server

6. How to move the installation to a new server?

1) Copy all the files from your actual server to the new one

2) Dump / Restore the database from your actual server to the new one.

3) Open the file /config/config.inc.php and change the database parameters

4) If you change the domain name or ip address of the server, remember that you must invalidate your license (by put an invalid purchase code inside your settings) on the old server in order to then be able to use it on the new installation.

Remember to change your DNS settings pointing to your new IP server if you want to maintain your domain name

7. Ho to migrate the license to a new installation?

1- Log in into backend of the current installation

2- Go to Settings - License

3- In the Purchase Code field enter an invalid code, click Check and then Save

4- You can now use your license in the new installation

If the above does not work, just open a ticket in the "License Migration / Problem" category, that doesn't require an active support!

8. Reset administrator password

1. Login into sml database from your server admin panel

2. Go to table sml_users

3. Find the corresponding line of the administrator and mark his ID

4. Run this query (replace your_new_password and ID)

UPDATE sml_users SET `password`=AES_ENCRYPT('your_new_password','sml') WHERE id=ID;

for example

UPDATE sml_users SET `password`=AES_ENCRYPT('changeme','sml') WHERE id=1;