Php - Block

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

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

Thanks…!!!

This redirects to the… login page

That displays the Error with NO Login

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

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).

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.

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

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.

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…!!!