L
L
Lici2014-08-22 23:50:10
CMS
Lici, 2014-08-22 23:50:10

Where are hoster paths in SimplaCMS?

When transferring to a new server, you can’t simply roll out all the files and the database - everything falls down. Where are the paths listed?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kot9ra, 2016-02-19
@kot9ra

"Just to roll out all files and a DB" - it is possible. To transfer the site, you will need:
1. Upload files to the host (preferably in an archive)
2. Write new data in config/config.php: database, database user, database password
3. Clean compiled/our_theme/ folder and simpla/design/compiled
4 Write the full path to .passwd in /simpla/.htaccess
To find out in step 4 the full path to the file, you can create a php file with the code:

<?php
    echo 'Полный путь к сайту: ';
    echo $_SERVER['DOCUMENT_ROOT'];
    echo '/';
?>

upload it to the root and open ( http://our_site/our_php_file.php)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question