O
O
oyshomusic2020-10-01 10:45:44
PHP
oyshomusic, 2020-10-01 10:45:44

Is it possible to do the following?

Good afternoon!
I need to deploy a backup of the 1C-Bitrix site.
My thoughts are: install bitrixsetup (because I don’t have access to the previous admin panel) and run through the demo version, then deploy the backup in the admin panel and live happily ever after.
Is it possible? Or is it necessary to buy a person? (If so, how often should it be updated, etc.)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Miku Hatsune, 2015-12-23
@SLaMeeR

1. Calling a static method to a variable that is not declared as such
2. No write access to the directory of compiled templates (chmod)
The first is fixed like this:
Open the file /var/www/lib/mysql.class.php, somewhere at the beginning class - the properties of the class are described, find something like:
The second is fixed easier, to the directory where the compiled templates are saved ( /var/www/inc/templates/helic/templates_c ) give chmod - 0777
Via SSH it is done like this:

chmod 777  /var/www/inc/templates/helic/templates_c

Y
Yaroslav Alexandrov, 2020-10-01
@oyshomusic

oyshomusic ,

I can’t get into the admin panel (because I don’t have a login and password from the previous CMS owner).

Add a PHP file to the root of the site with this code and go to the admin panel
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
global $USER;
$USER->Authorize(1);
LocalRedirect("/bitrix/admin/");

M
Maxim, 2020-10-01
@Tomio

So you can restore the site from a backup using restore.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question