I solve the problem of transferring the site to Bitrix. There was a problem. From the console, * .nix unpacked from the archive the distribution kit of the previously deployed site, which was packaged in the taz format.
My actions further:
Unpacked the archive with the tar command.
Made a query to my database. There the base is called conditionally mybase. I watch the login and password of the root user. To do this, run the command:
select * from mysql.user where user = 'root';
From there I get a login and password.
On ftp-server I register in
/bitrix/.settings.phpand at/bitrix/php_interface/dbconn.phpAccess to the database: the name of the database, the root user and the password taken from the database, however I get the error:
Warning: require_once(/home/kprealty/www/kprealty.sy.pro/bitrix/modules/main/include/prolog.php): failed to open stream: Permission denied in /home/kprealty/www/kprealty.sy.pro/bitrix/header.php on line 1 Fatal error: require_once(): Failed opening required '/home/kprealty/www/kprealty.sy.pro/bitrix/modules/main/include/prolog.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/kprealty/www/kprealty.sy.pro/bitrix/header.php on line 1
Filled to the server, the restore.php file to transfer data, but there also produced a lot of errors:
Warning: include_once (/home/kprealty/www/kprealty.sy.pro/bitrix/modules/main/include/urlrewrite.php): failed to open stream: Permission denied in /home/kprealty/www/kprealty.sy.pro /bitrix/urlrewrite.php on line 2
Warning: include_once (): Failed opening '/home/kprealty/www/kprealty.sy.pro/bitrix/modules/main/include/urlrewrite.php' for inclusion (include_path = '.: / Usr / share / php: / usr / share / pear ') in /home/kprealty/www/kprealty.sy.pro/bitrix/urlrewrite.php on line 2
Warning: include_once (/home/kprealty/www/kprealty.sy.pro/404.php): failed to open stream: Permission denied in /home/kprealty/www/kprealty.sy.pro/bitrix/urlrewrite.php on line four
Warning: include_once (): Failed opening '/home/kprealty/www/kprealty.sy.pro/404.php' for inclusion (include_path = '.: / Usr / share / php: / usr / share / pear') in /home/kprealty/www/kprealty.sy.pro/bitrix/urlrewrite.php on line 4
How to deal with it, and what is the general reason? I worked on bitrix a little and it was a long time ago and it is not true, therefore I ask for help from specialists, who can suggest this. I would be grateful to hear the answers and advice from people working with Bitrix.