P
P
Petya Fox2019-09-02 00:38:25
1C-Bitrix
Petya Fox, 2019-09-02 00:38:25

How to transfer the site (CMS Bitrix) to another hosting?

Guys, the problem is the following - I moved the site (CMS Bitrix) to another hosting, when importing the dump, an error pops up: # 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''domain' at line
796

[Error] 
Access to undeclared static property: COption::$GLOBALS (0)
/var/www/login/data/domain/bitrix/modules/main/include.php:877
#0: require_once
  /var/www/login/data/domain/bitrix/modules/main/include/prolog_before.php:14
#1: require_once(string)
  /var/www/login/data/domain/bitrix/modules/main/include/prolog.php:10
#2: require_once(string)
  /var/www/login/data/domain/bitrix/header.php:1
#3: require(string)
  /var/www/login/data/domain/index.php:2

I am not familiar with this CMS system, so this is probably a common mistake. And if you also faced this problem - share your experience.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Georgy Baruchyan, 2019-09-02
@Snatch87

1) Check the versions of mysql server, and also adapt the config of the new server using the config of the old
one 2) Most likely, the register_globals parameter is disabled

D
Dmitry Larin, 2019-09-02
@fanrok

Instruction

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question