Answer the question
In order to leave comments, you need to log in
Why does the site not work after transferring 1c-bitrix to a new server?
On a clean server, unpacked the site archive. I registered the site in Apache. Created a database with a user specified in bitrix/php_interface/dbconn.php and bitrix/.settings.php. Filled it with a dump of sql from a portable site. That is, everything is standard here, the procedure with other CMS was done 1000 times, but not with Bitrix.
And the site on the new server displays only text, there are no pictures, everything is crooked, and there are also lines from the code on the page. For example, here is the first paragraph of text in the browser (I replaced the keywords of the site description and so on with blabla):
SetPageProperty("keywords_inner", "bla-bla-bla"); $APPLICATION->SetPageProperty("title", "blablabla"); $APPLICATION->SetPageProperty("description", "blablabla."); $APPLICATION->SetTitle("blabla"); ?>
'да'); $APPLICATION->IncludeComponent("aplix:block", "property_slider", array()); ?>
PHP Notice: Use of undefined constant SITE_TEMPLATE_PATH - assumed 'SITE_TEMPLATE_PATH' in /%path_to_site_folder%/index.php
Answer the question
In order to leave comments, you need to log in
You have problems with the composition, something didn’t fill up.
Bitrix does not find a directory with pictures and a directory with a template.
/home/bitrix/www/uloads
/home/bitrix/www/bitrix/tamplates/template_name
+
/home/bitrix/www/ should contain directories according to the site structure such as catalog, news, abaut, personal, etc. what you had there.
And yes, there are standard backups in Bitrix, maybe it will be more reliable to deploy through them. We need a restore.php file from the office. site can be downloaded.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question