# Accidentally moved stack parent under home page

**URL:** <https://forums.concretecms.org/t/accidentally-moved-stack-parent-under-home-page/1678>\
**Category:** Developing with Concrete\
**Created:** [November 20, 2021, 10:56pm UTC](https://forums.concretecms.org/t/accidentally-moved-stack-parent-under-home-page/1678 "2021-11-20T22:56:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![katz515](https://forums.concretecms.org/user_avatar/forums.concretecms.org/katz515/32/4325_2.png) [@katz515](https://forums.concretecms.org/u/katz515)\
**Post date:** [November 20, 2021, 10:56pm UTC](https://forums.concretecms.org/t/accidentally-moved-stack-parent-under-home-page/1678/1 "2021-11-20T22:56:21Z")

</div>

I have a Japanese user who accidentally moved stack page under Dashboard.

> **[「スタック」を移動してしまい元に戻したい](https://concrete5-japan.org/community/forums/chat/post-20475/)**
>
> concrete バージョン 8.4.2
> 
> 作業中「スタック」がフルサイトマップのディレクトリ以下に移動してしまいサイト、管理画面で不具合が出てしまった。
> 元に戻すことは可能でしょうか。

He’s using 8.4.4.

His daily backups no longer have the generation so there is no more backups.

I was suggesting to manually execute SQL to change cParent of

```
UPDATE `Pages` SET `cParentID` = "0" WHERE `cFilename` = "/!stacks/view.php";

```

But when I was testing using my local, although Stack page goes back to original position, you cannot add Stack

I get the following exception error

```auto
An exception occurred while executing 'insert into Pages (cID, siteTreeID, ptID, cParentID, uID, cInheritPermissionsFrom, cOverrideTemplatePermissions, cInheritPermissionsFromCID, cDisplayOrder, pkgID, cIsActive, cIsDraft) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [223, null, "1", null, "1", "TEMPLATE", null, 0, 0, 0, 1, 0]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'cParentID' cannot be null

```

The global area is still editable from front page. But we don’t see any global area blocks from dashboard.

This can be easily reproduced from 8.5.7 and 9…1 from scratch install.

But I can see some pople move draft pages by mistake, too…

We’ve never do this kind of behavior but does anybody have time to take a look at this?
