# Migrating v2.6.4, Website doesn't load, in Manager only the Landingpage shows

**URL:** <https://community.modx.com/t/migrating-v2-6-4-website-doesnt-load-in-manager-only-the-landingpage-shows/4706>\
**Category:** Installation\
**Tags:** installation\
**Created:** [December 6, 2021, 1:44pm UTC](https://community.modx.com/t/migrating-v2-6-4-website-doesnt-load-in-manager-only-the-landingpage-shows/4706 "2021-12-06T13:44:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonAss69](https://community.modx.com/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@JonAss69](https://community.modx.com/u/JonAss69)\
**Post date:** [December 6, 2021, 1:44pm UTC](https://community.modx.com/t/migrating-v2-6-4-website-doesnt-load-in-manager-only-the-landingpage-shows/4706/1 "2021-12-06T13:44:28Z")

</div>

I tried to migrate a website, the file structure on the old server was changed, I just took assets and core/packages and /components, put it in after a fresh install on the new server and imported the database without modx\_users and modx\_user\_attributes.  
In the manager I can see all the filenames but if I open anything under the resource tab but the homepage, I get an instant error 500. The homepage html shows fine. The templates, chunks, etc. are all there as well. If I try to open the website, it loads for about a minute before it shows the error 500 screen.  
Do you have any idea what I might have done wrong?

---

<div class="post-metadata">

**Author:** ![jako](https://community.modx.com/user_avatar/community.modx.com/jako/32/618_2.png) [@jako](https://community.modx.com/u/jako)\
**Post date:** [December 6, 2021, 2:21pm UTC](https://community.modx.com/t/migrating-v2-6-4-website-doesnt-load-in-manager-only-the-landingpage-shows/4706/2 "2021-12-06T14:21:42Z")

</div>

Deactivate all plugins. That should help in most cases. And empty the extension\_packages system setting.

Afterwards, you can reactivate them step by step.

---

<div class="post-metadata">

**Author:** ![JonAss69](https://community.modx.com/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@JonAss69](https://community.modx.com/u/JonAss69)\
**Post date:** [December 6, 2021, 3:15pm UTC](https://community.modx.com/t/migrating-v2-6-4-website-doesnt-load-in-manager-only-the-landingpage-shows/4706/3 "2021-12-06T15:15:28Z")

</div>

Thanks, unfortunately deactivating the plugins didn’t change anything. Also there is no extension\_packages system setting anymore (I don’t know why it was deleted, i didn’t make the website)

---

<div class="post-metadata">

**Author:** ![halftrainedharry](https://community.modx.com/user_avatar/community.modx.com/halftrainedharry/32/1063_2.png) [@halftrainedharry](https://community.modx.com/u/halftrainedharry)\
**Post date:** [December 6, 2021, 3:26pm UTC](https://community.modx.com/t/migrating-v2-6-4-website-doesnt-load-in-manager-only-the-landingpage-shows/4706/4 "2021-12-06T15:26:30Z")

</div>

Maybe it helps if you check the _server error log_ ( **not** the error log from MODx) to see what the actual error message is.

---

<div class="post-metadata">

**Author:** ![JonAss69](https://community.modx.com/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@JonAss69](https://community.modx.com/u/JonAss69)\
**Post date:** [December 6, 2021, 3:46pm UTC](https://community.modx.com/t/migrating-v2-6-4-website-doesnt-load-in-manager-only-the-landingpage-shows/4706/5 "2021-12-06T15:46:52Z")

</div>

Alright here’s the PHP error log:

**Deprecated** : Array and string offset access syntax with curly braces is deprecated in **/home/u819925671/domains/jomo-webdesign.com/public\_html/modx6/core/model/modx/modresource.class.php** on line **271**

**Deprecated** : Array and string offset access syntax with curly braces is deprecated in **/home/u819925671/domains/jomo-webdesign.com/public\_html/modx6/core/xpdo/cache/xpdocachemanager.class.php** on line **166**

**Deprecated** : Array and string offset access syntax with curly braces is deprecated in **/home/u819925671/domains/jomo-webdesign.com/public\_html/modx6/core/xpdo/cache/xpdocachemanager.class.php** on line **180**

**Deprecated** : Array and string offset access syntax with curly braces is deprecated in **/home/u819925671/domains/jomo-webdesign.com/public\_html/modx6/core/xpdo/cache/xpdocachemanager.class.php** on line **334**

**Deprecated** : Array and string offset access syntax with curly braces is deprecated in **/home/u819925671/domains/jomo-webdesign.com/public\_html/modx6/core/xpdo/cache/xpdocachemanager.class.php** on line **407**

**Deprecated** : Array and string offset access syntax with curly braces is deprecated in **/home/u819925671/domains/jomo-webdesign.com/public\_html/modx6/core/xpdo/cache/xpdocachemanager.class.php** on line **408**

**Warning** : “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in **/home/u819925671/domains/jomo-webdesign.com/public\_html/modx6/core/model/modx/modcachemanager.class.php** on line **580**

**Deprecated** : Array and string offset access syntax with curly braces is deprecated in **/home/u819925671/domains/jomo-webdesign.com/public\_html/modx6/core/model/modx/modstaticresource.class.php** on line **200**

**Fatal error** : Maximum execution time of 120 seconds exceeded in **/home/u819925671/domains/jomo-webdesign.com/public\_html/modx6/core/xpdo/xpdo.class.php** on line **1594**

I _think_ I saw at least some of those messages while doing the fresh install before migrating the data.

---

<div class="post-metadata">

**Author:** ![JonAss69](https://community.modx.com/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@JonAss69](https://community.modx.com/u/JonAss69)\
**Post date:** [December 6, 2021, 3:49pm UTC](https://community.modx.com/t/migrating-v2-6-4-website-doesnt-load-in-manager-only-the-landingpage-shows/4706/6 "2021-12-06T15:49:02Z")

</div>

Here’s the newest error log message from Modx

[2021-12-06 15:44:06] (ERROR @ /home/u819925671/domains/jomo-webdesign.com/public\_html/modx6/core/xpdo/om/xpdoobject.class.php : 1452) Error HY000 executing statement:  
INSERT INTO `modx_session` (`id`, `access`, `data`) VALUES (‘f19515030f80c2160d7145110124bd73’, 1638805446, ‘modx.user.contextTokens|a:1:{s:3:“mgr”;i:1;}modx.mgr.user.token|s:52:“modx61ae094ee3a600.81541404\_161ae0a1c0d6158.17108125”;modx.mgr.session.cookie.lifetime|i:0;modx.mgr.user.config|a:0:{}modx.user.1.userGroupNames|a:1:{i:0;s:13:“Administrator”;}newResourceTokens|a:22:{i:0;s:23:“61ae0a4288bf80.42533858”;i:1;s:23:“61ae0a48a1cc29.96193421”;i:2;s:23:“61ae0dd517a3c2.97173856”;i:3;s:23:“61ae103e116e91.35697576”;i:4;s:23:“61ae104d892a29.29807851”;i:5;s:23:“61ae104debb909.18876632”;i:6;s:23:“61ae10511ca612.18247368”;i:7;s:23:“61ae105d9b4e40.65226553”;i:8;s:23:“61ae106adfefb6.54345822”;i:9;s:23:“61ae107b673bc2.47943637”;i:10;s:23:“61ae11b76f3b22.07835275”;i:11;s:23:“61ae11c1177da0.03100130”;i:12;s:23:“61ae11e951a185.37819985”;i:13;s:23:“61ae1297d41060.40375353”;i:14;s:23:“61ae259a835cb0.11428658”;i:15;s:23:“61ae259e043e53.83767147”;i:16;s:23:“61ae2ae5e52a61.35845308”;i:17;s:23:“61ae2b01be6458.38487950”;i:18;s:23:“61ae2b05668e98.81584212”;i:19;s:23:“61ae2b08707958.92929933”;i:20;s:23:“61ae2b0f36ef55.27441633”;i:21;s:23:“61ae2b73ac69d5.33518035”;}’)  
Array  
(  
[0] =\> HY000  
[1] =\> 2014  
[2] =\> Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL\_ATTR\_USE\_BUFFERED\_QUERY attribute.  
)

I’m sorry that I’m dumping these walls of text here, I just don’t know what part might be important.

---

<div class="post-metadata">

**Author:** ![JonAss69](https://community.modx.com/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@JonAss69](https://community.modx.com/u/JonAss69)\
**Post date:** [December 6, 2021, 4:27pm UTC](https://community.modx.com/t/migrating-v2-6-4-website-doesnt-load-in-manager-only-the-landingpage-shows/4706/7 "2021-12-06T16:27:18Z")

</div>

Alright I feel this might be the key:

I just tried migrating on v2.8.3 and on both versions (2.8.3 and 2.6.4), if I try to open any other resource than the landing page in the manager I get this PHP error message:

**Fatal error** : Cannot declare class modTemplateVarInputRenderText, because the name is already in use in **/home/u819925671/domains/jomo-webdesign.com/public\_html/modx6/core/model/modx/processors/element/tv/renders/mgr/input/text.class.php** on line **0**

This guy had the same error message: [Ошибка в админке при работе с MIGX](https://modx.ru/vopros-otvet/info/7197/)  
So maybe it has something to do with some sort of cache?

---

<div class="post-metadata">

**Author:** ![jako](https://community.modx.com/user_avatar/community.modx.com/jako/32/618_2.png) [@jako](https://community.modx.com/u/jako)\
**Post date:** [December 6, 2021, 6:13pm UTC](https://community.modx.com/t/migrating-v2-6-4-website-doesnt-load-in-manager-only-the-landingpage-shows/4706/8 "2021-12-06T18:13:11Z")

</div>

Please try run the setup again after the db was imported or just truncate the tables of a new installation and dump the old data in.

The problem is: the db tables were changed a bit between 2.6.4 and 2.8.3.

---

<div class="post-metadata">

**Author:** ![bobray](https://community.modx.com/user_avatar/community.modx.com/bobray/32/46_2.png) [@bobray](https://community.modx.com/u/bobray)\
**Post date:** [December 6, 2021, 8:53pm UTC](https://community.modx.com/t/migrating-v2-6-4-website-doesnt-load-in-manager-only-the-landingpage-shows/4706/9 "2021-12-06T20:53:22Z")

</div>

The error message about exceeding the execution time can be caused by a circular reference.

500 errors are often caused by a problem in your .htaccess file, like an incorrect rewrite base.

Also, make sure the page designated as the 404 page in the `error_page` System Setting is published.

---

<div class="post-metadata">

**Author:** ![jako](https://community.modx.com/user_avatar/community.modx.com/jako/32/618_2.png) [@jako](https://community.modx.com/u/jako)\
**Post date:** [December 13, 2021, 1:35pm UTC](https://community.modx.com/t/migrating-v2-6-4-website-doesnt-load-in-manager-only-the-landingpage-shows/4706/10 "2021-12-13T13:35:24Z")

</div>

This modTemplateVarInputRenderText error looks like a custom template variable not available anymore, because the TV plugin is not running anymore.
