# Php - Block

**URL:** <https://forums.concretecms.org/t/php-block/4180>\
**Category:** Using Concrete / Help\
**Created:** [October 10, 2022, 1:15pm UTC](https://forums.concretecms.org/t/php-block/4180 "2022-10-10T13:15:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nightlog](https://forums.concretecms.org/user_avatar/forums.concretecms.org/nightlog/32/1024_2.png) [@nightlog](https://forums.concretecms.org/u/nightlog)\
**Post date:** [October 10, 2022, 1:15pm UTC](https://forums.concretecms.org/t/php-block/4180/1 "2022-10-10T13:15:40Z")

</div>

Using - PHP Block

I moved a word into the wrong place and… SAVED

## Now \*\* every page \*\* on the website says…

### An unexpected error occurred.

An error occurred while processing this request.

* * *

Edit does Not display

# Concrete Version

Core Version - 9.1.1  
Version Installed - 9.1.1

# PHP Version

8.0.18

* * *

Can I Correct the moved word using the  
Server or Database…???

* * *

Any HELP suggestions

Any Paid To Fix Quotes

Will be much appreciated

Thanks in advance,  
Jay

---

<div class="post-metadata">

**Author:** ![zpartakov](https://forums.concretecms.org/user_avatar/forums.concretecms.org/zpartakov/32/3554_2.png) [@zpartakov](https://forums.concretecms.org/u/zpartakov)\
**Post date:** [October 10, 2022, 2:21pm UTC](https://forums.concretecms.org/t/php-block/4180/2 "2022-10-10T14:21:13Z")

</div>

Sometime you may access the dashboard using a direct url e.g.

//YOURWEBSITE/index.php/dashboard/sitemap/full

then in the sitemap you may browse to the page where you made your change, and restore a previous version  
hope it works

---

<div class="post-metadata">

**Author:** ![nightlog](https://forums.concretecms.org/user_avatar/forums.concretecms.org/nightlog/32/1024_2.png) [@nightlog](https://forums.concretecms.org/u/nightlog)\
**Post date:** [October 10, 2022, 2:29pm UTC](https://forums.concretecms.org/t/php-block/4180/3 "2022-10-10T14:29:20Z")

</div>

> [@zpartakov](#):
>
> /index.php/dashboard/sitemap/full

Thanks…!!!

This redirects to the… login page

That displays the Error with NO Login

---

<div class="post-metadata">

**Author:** ![zpartakov](https://forums.concretecms.org/user_avatar/forums.concretecms.org/zpartakov/32/3554_2.png) [@zpartakov](https://forums.concretecms.org/u/zpartakov)\
**Post date:** [October 10, 2022, 3:25pm UTC](https://forums.concretecms.org/t/php-block/4180/4 "2022-10-10T15:25:35Z")

</div>

hum, in that case I don’t see other solution than restoring a previous MySQL db backup, if you have any

---

<div class="post-metadata">

**Author:** ![Parasek](https://forums.concretecms.org/user_avatar/forums.concretecms.org/parasek/32/6277_2.png) [@Parasek](https://forums.concretecms.org/u/Parasek)\
**Post date:** [October 10, 2022, 5:33pm UTC](https://forums.concretecms.org/t/php-block/4180/5 "2022-10-10T17:33:03Z")

</div>

Check db.xml in package, how table is called. And edit entry that causes error directly in PhpMyAdmin (or similar tool). Table is probably called “btPhpCodeBlockContent” if we are talking about the same addon.  
It seems you can also deactivate blocks globally in config (though not sure if it will work in your case).

---

<div class="post-metadata">

**Author:** ![nightlog](https://forums.concretecms.org/user_avatar/forums.concretecms.org/nightlog/32/1024_2.png) [@nightlog](https://forums.concretecms.org/u/nightlog)\
**Post date:** [October 11, 2022, 2:49pm UTC](https://forums.concretecms.org/t/php-block/4180/6 "2022-10-11T14:49:05Z")

</div>

First off = Thanks

And edit entry that causes error directly in PhpMyAdmin (or similar tool). Table is probably called “btPhpCodeBlockContent” if we are talking about the same addon.

I moved the block sorting tag I created - Exterior  
Instead of before \<?php  
To right after by mistake and Saved

I have search for the Word \*\* Exterior \*\*  
In the SQL and I do NOT See IT…???

Is it possible it is encrypted or on the Server…???

* * *

Check db.xml - I found it - Not sure what to do with it…???

\<?xml version="1.0"?\> The content to be interpreted.

---

<div class="post-metadata">

**Author:** ![nightlog](https://forums.concretecms.org/user_avatar/forums.concretecms.org/nightlog/32/1024_2.png) [@nightlog](https://forums.concretecms.org/u/nightlog)\
**Post date:** [October 11, 2022, 2:51pm UTC](https://forums.concretecms.org/t/php-block/4180/7 "2022-10-11T14:51:17Z")

</div>

Restored previous 7-22 SQL - Then refreshed browsers - Same Error Displays

---

<div class="post-metadata">

**Author:** ![Parasek](https://forums.concretecms.org/user_avatar/forums.concretecms.org/parasek/32/6277_2.png) [@Parasek](https://forums.concretecms.org/u/Parasek)\
**Post date:** [October 11, 2022, 5:11pm UTC](https://forums.concretecms.org/t/php-block/4180/8 "2022-10-11T17:11:30Z")

</div>

If you don’t have access to dashboard, go to `Config` table in PhpMyAdmin. You will probably find `global_activate` and `global_interpret` options. Manually set `	configValue` of both to 0. Php blocks should be disabled and you will be able to edit them on pages.

---

<div class="post-metadata">

**Author:** ![nightlog](https://forums.concretecms.org/user_avatar/forums.concretecms.org/nightlog/32/1024_2.png) [@nightlog](https://forums.concretecms.org/u/nightlog)\
**Post date:** [October 17, 2022, 8:11pm UTC](https://forums.concretecms.org/t/php-block/4180/9 "2022-10-17T20:11:00Z")

</div>

There are NO global options in the - config table

Any idea of the correct - table name…???

I searched the SQL and - [PermissionKeys] Showed promise - NO global options

Thanks for your HELP and any additional Help…!!!
