MyBB Community Forums

Full Version: HTTP ERROR 500 after upgrading to PhP 8
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

Since I had several issues with PhP8 and MyBB forum, I first decided to go back to PhP 7.4 for a while.

Now, since I have to install other apps on my (shared) server, which require to use PhP 8, I asked the hosting service (BlueHost) to update to PhP 8; but now my forum does not work at all! There is a HTTP ERROR 500 when trying to open it (https://mwrenaissance.info/).

I have backup of the database. Is there a way to easily restore the forum while keeping PhP 8?
Any idea to fix this? (again, it's a shared server and I am a newbie, I can't use commands, linux, etc.).
Can I fix things by reinstalling MyBB? Or using a FTP or a file manager?

Thanks for any help!
(2024-03-31, 05:03 PM)Mordicus Wrote: [ -> ]Hello,

Since I had several issues with PhP8 and MyBB forum, I first decided to go back to PhP 7.4 for a while.

Now, since I have to install other apps on my (shared) server, which require to use PhP 8, I asked the hosting service (BlueHost) to update to PhP 8; but now my forum does not work at all! There is a HTTP ERROR 500 when trying to open it (https://mwrenaissance.info/).

I have backup of the database. Is there a way to easily restore the forum while keeping PhP 8?
Any idea to fix this? (again, it's a shared server and I am a newbie, I can't use commands, linux, etc.).
Can I fix things by reinstalling MyBB? Or using a FTP or a file manager?

Thanks for any help!
 you have three way :
1. you can enable debug mode in forum and fix errors one by one (you can find solutions in mybb community or other websites).
2. if you like you can order to me or any programmer you like and do this for you and fix mybb problems with PHP 8 (also some plugins)
3. if you are using a dedicated server you can install multiple php versions and use each one for specific domains

for second way I am at your service :
Telegram : @MostafaShiraali
Discord : MostafaShiraali#7754(mostafashiraali)
(2024-03-31, 05:03 PM)Mordicus Wrote: [ -> ]Can I fix things by reinstalling MyBB?
please read this and forget this idea: https://community.mybb.com/thread-237253.html
Which version of MyBB do you use ? Did you upgrade to the last one ?
(2024-03-31, 05:15 PM)Mostafa.Shiraali Wrote: [ -> ] you have two way :
1. you can enable debug mode in forum and fix errors one by one (you can find solutions in mybb community or other websites).
2. if you like you can order to me or any programmer you like and do this for you and fix mybb problems with PHP 8 (also some plugins)
3. if you are using a dedicated server you can install multiple php versions and use each one for specific domains

Thank you for the reply.

1. But the forum main page does not open at all. It's blank now, with a 500 error message. I've totally lost access to the website (the only way is to revert to PhP 7, but I need PhP 8 for others applications).

2. If there is no easy solution or workaround, why not? 

3. As I said, I do not have a dedicated server, it's a shared host service (BlueHost). The server can handle different PhP 8 version (8.1, 8.2 and 8.3) for subdomain, but not PhP 7 and PhP 8 at the same time. Moeover, PhP 7 is marked depreciated and no more recommended.

(2024-03-31, 08:29 PM)Crazycat Wrote: [ -> ]Which version of MyBB do you use ? Did you upgrade to the last one ?

Yes, it's the last one (1.8.37), I checked the version before I upgrade the website to PhP 8.
I only have 3 very basic plugins installed (one for announcement, one for spoiler, one for posting link to pictures).

(2024-03-31, 05:22 PM)bv64 Wrote: [ -> ]
(2024-03-31, 05:03 PM)Mordicus Wrote: [ -> ]Can I fix things by reinstalling MyBB?
please read this and forget this idea: https://community.mybb.com/thread-237253.html
Yes, I've read this sometime ago, so I do not plan to reinstall everything.
Please follow bv64’s advice and do not uninstall/reinstall.

Have you checked for entries in the error log to help identify what’s causing it?
(2024-04-01, 02:13 AM)MattyWjeisz Wrote: [ -> ]Please follow bv64’s advice and do not uninstall/reinstall.
Have you checked for entries in the error log to help identify what’s causing it?

Yes, I will not reinstall, I understand that I may get a lof of troubles.
Where and how can I found the error log when I cannot access the forum nor the administration interface?
Can I get it through FTP?

EDIT: ok, I found an error.log in BlueHost Cpanel, there are mention of my NextCloud installation (that failed) and a Wordpress website that is not finished, but I do not see errors related to MyBB forum. Here it is:

[Mon Apr 01 09:05:21.388619 2024] [authz_core:error] [pid 926000:tid 22370481571584] [client 4.227.19.137:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/widgets/error_log, referer: binance.com
[Mon Apr 01 09:05:14.566545 2024] [authz_core:error] [pid 926362:tid 22370489976576] [client 4.227.19.137:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/widgets/error_log, referer: binance.com
[Mon Apr 01 09:05:07.812777 2024] [authz_core:error] [pid 926362:tid 22370424837888] [client 4.227.19.137:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/sitemaps/providers/error_log, referer: binance.com
[Mon Apr 01 09:04:58.692866 2024] [authz_core:error] [pid 926362:tid 22370227320576] [client 4.227.19.137:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/sitemaps/providers/error_log, referer: binance.com
[Mon Apr 01 09:02:44.982344 2024] [authz_core:error] [pid 926000:tid 22370456356608] [client 4.227.19.137:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/IXR/error_log, referer: binance.com
[Mon Apr 01 09:02:35.982578 2024] [authz_core:error] [pid 926000:tid 22370374407936] [client 4.227.19.137:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/IXR/error_log, referer: binance.com
[Mon Apr 01 08:58:10.626704 2024] [authz_core:error] [pid 926000:tid 22370414331648] [client 4.227.19.137:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/error_log, referer: binance.com
[Mon Apr 01 08:58:00.461821 2024] [authz_core:error] [pid 926362:tid 22370323977984] [client 4.227.19.137:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/error_log, referer: binance.com
[Mon Apr 01 08:55:25.441712 2024] [authz_core:error] [pid 909936:tid 22370315572992] [client 4.227.19.137:60837] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-admin/includes/error_log, referer: binance.com
[Mon Apr 01 08:55:17.267288 2024] [authz_core:error] [pid 909936:tid 22370395420416] [client 4.227.19.137:63452] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-admin/includes/error_log, referer: binance.com
[Mon Apr 01 04:12:04.179282 2024] [authz_core:error] [pid 33590:tid 22370315572992] [client 20.37.98.218:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/widgets/error_log, referer: binance.com
[Mon Apr 01 04:12:00.013861 2024] [authz_core:error] [pid 22066:tid 22370464761600] [client 20.37.98.218:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/widgets/error_log, referer: binance.com
[Mon Apr 01 04:11:57.479845 2024] [authz_core:error] [pid 22066:tid 22370429040384] [client 20.37.98.218:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/sitemaps/providers/error_log, referer: binance.com
[Mon Apr 01 04:11:54.109994 2024] [authz_core:error] [pid 22066:tid 22370298763008] [client 20.37.98.218:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/sitemaps/providers/error_log, referer: binance.com
[Mon Apr 01 04:09:41.106325 2024] [authz_core:error] [pid 22066:tid 22370431141632] [client 20.37.98.218:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/IXR/error_log, referer: binance.com
[Mon Apr 01 04:09:31.586411 2024] [authz_core:error] [pid 22066:tid 22370445850368] [client 20.37.98.218:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/IXR/error_log, referer: binance.com
[Mon Apr 01 04:06:13.928333 2024] [authz_core:error] [pid 22066:tid 22370351294208] [client 20.37.98.218:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/error_log, referer: binance.com
[Mon Apr 01 04:06:09.129599 2024] [authz_core:error] [pid 22066:tid 22370418534144] [client 20.37.98.218:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/error_log, referer: binance.com
[Mon Apr 01 04:03:58.448283 2024] [authz_core:error] [pid 1026918:tid 22370275649280] [client 20.37.98.218:1028] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-admin/includes/error_log, referer: binance.com
[Mon Apr 01 04:03:52.861795 2024] [authz_core:error] [pid 1026918:tid 22370452154112] [client 20.37.98.218:1024] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-admin/includes/error_log, referer: binance.com
[Sun Mar 31 12:38:22.718826 2024] [core:crit] [pid 412863:tid 22370660177664] (13)Permission denied: [remote 114.93.5.1:52307] AH00529: /home2/cushangh/public_html/nextcloud28.0.4/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home2/cushangh/public_html/nextcloud28.0.4/data/' is executable
[Sun Mar 31 12:38:17.222367 2024] [core:crit] [pid 412863:tid 22370750531328] (13)Permission denied: [remote 114.93.5.1:52307] AH00529: /home2/cushangh/public_html/nextcloud28.0.4/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home2/cushangh/public_html/nextcloud28.0.4/data/' is executable
[Sun Mar 31 11:10:20.071990 2024] [core:crit] [pid 136084:tid 22370725316352] (13)Permission denied: [remote 88.175.225.48:4178] AH00529: /home2/cushangh/public_html/nextcloud28.0.4/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home2/cushangh/public_html/nextcloud28.0.4/data/' is executable
[Sun Mar 31 11:09:47.242738 2024] [core:crit] [pid 136084:tid 22370580330240] (13)Permission denied: [remote 196.247.2.201:35811] AH00529: /home2/cushangh/public_html/nextcloud28.0.4/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home2/cushangh/public_html/nextcloud28.0.4/data/' is executable
[Sun Mar 31 10:52:27.659628 2024] [access_compat:error] [pid 90681:tid 22370355496704] [client 162.241.224.113:26662] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:52:27.147176 2024] [access_compat:error] [pid 90368:tid 22370393319168] [client 162.241.224.113:26622] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:47:03.880242 2024] [access_compat:error] [pid 90368:tid 22370414331648] [client 162.241.224.113:51232] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:47:03.643954 2024] [access_compat:error] [pid 90368:tid 22370372306688] [client 162.241.224.113:51216] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:41:42.830937 2024] [access_compat:error] [pid 62432:tid 22370483263232] [client 162.241.224.113:14212] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:41:42.600023 2024] [access_compat:error] [pid 62432:tid 22370313062144] [client 162.241.224.113:14198] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:41:19.635225 2024] [access_compat:error] [pid 62432:tid 22370369795840] [client 162.241.224.113:46312] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:41:19.450424 2024] [access_compat:error] [pid 62432:tid 22370390808320] [client 162.241.224.113:46308] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:40:24.363724 2024] [access_compat:error] [pid 62432:tid 22370277340928] [client 162.241.224.113:34256] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:40:24.044321 2024] [access_compat:error] [pid 62432:tid 22370315163392] [client 162.241.224.113:34246] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:19:20.852017 2024] [access_compat:error] [pid 1036920:tid 22370476959488] [client 162.241.224.113:20870] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:19:20.670724 2024] [access_compat:error] [pid 1036920:tid 22370382403328] [client 162.241.224.113:20862] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:19:05.547689 2024] [access_compat:error] [pid 1042429:tid 22370346682112] [client 162.241.224.113:58512] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:19:05.253312 2024] [access_compat:error] [pid 1042429:tid 22370325669632] [client 162.241.224.113:58500] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:18:41.058509 2024] [access_compat:error] [pid 1042429:tid 22370388707072] [client 162.241.224.113:55530] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:18:40.752020 2024] [access_compat:error] [pid 1036920:tid 22370315163392] [client 162.241.224.113:55494] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:16:04.177525 2024] [access_compat:error] [pid 1042429:tid 22370239518464] [client 162.241.224.113:21210] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:16:03.632879 2024] [access_compat:error] [pid 1036920:tid 22370239518464] [client 162.241.224.113:21204] AH01797: client denied by server configuration: /home2/cushangh/public_html/nextcloud28.0.4/data/htaccesstest.txt
[Sun Mar 31 10:08:08.850297 2024] [authz_core:error] [pid 1036920:tid 22370439137024] [client 20.42.202.32:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/widgets/error_log, referer: binance.com
[Sun Mar 31 10:07:48.381669 2024] [authz_core:error] [pid 1042429:tid 22370331973376] [client 20.42.202.32:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/widgets/error_log, referer: binance.com
[Sun Mar 31 10:07:38.202918 2024] [authz_core:error] [pid 1042429:tid 22370388707072] [client 20.42.202.32:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/sitemaps/providers/error_log, referer: binance.com
[Sun Mar 31 10:07:27.129088 2024] [authz_core:error] [pid 1042429:tid 22370308859648] [client 20.42.202.32:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/sitemaps/providers/error_log, referer: binance.com
[Sun Mar 31 10:04:31.609533 2024] [authz_core:error] [pid 1036920:tid 22370262632192] [client 20.42.202.32:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/IXR/error_log, referer: binance.com
[Sun Mar 31 10:04:19.032727 2024] [authz_core:error] [pid 1036920:tid 22370344580864] [client 20.42.202.32:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/IXR/error_log, referer: binance.com
[Sun Mar 31 09:58:44.530056 2024] [authz_core:error] [pid 1011520:tid 22370361390848] [client 20.42.202.32:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/error_log, referer: binance.com
[Sun Mar 31 09:58:35.975783 2024] [authz_core:error] [pid 1011520:tid 22370260530944] [client 20.42.202.32:0] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-includes/error_log, referer: binance.com
[Sun Mar 31 09:55:13.607623 2024] [authz_core:error] [pid 982352:tid 22370240419584] [client 20.42.202.32:1978] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-admin/includes/error_log, referer: binance.com
[Sun Mar 31 09:55:04.305087 2024] [authz_core:error] [pid 982352:tid 22370412721920] [client 20.42.202.32:2181] AH01630: client denied by server configuration: /home2/cushangh/public_html/yua*****/wp-admin/includes/error_log, referer: binance.com                   

Oh oh... and I found this error log in the File Manager:

[25-Jan-2024 06:07:13 America/Denver] PHP Parse error:  syntax error, unexpected identifier "version" in /home2/cushangh/public_html/inc/plugins/BAM.php on line 103
[25-Jan-2024 06:07:21 America/Denver] PHP Parse error:  syntax error, unexpected identifier "version" in /home2/cushangh/public_html/inc/plugins/BAM.php on line 103
[25-Jan-2024 06:07:26 America/Denver] PHP Parse error:  syntax error, unexpected identifier "version" in /home2/cushangh/public_html/inc/plugins/BAM.php on line 103
[25-Jan-2024 06:07:30 America/Denver] PHP Parse error:  syntax error, unexpected identifier "version" in /home2/cushangh/public_html/inc/plugins/BAM.php on line 103
[25-Jan-2024 06:07:36 America/Denver] PHP Parse error:  syntax error, unexpected identifier "version" in /home2/cushangh/public_html/inc/plugins/BAM.php on line 103
[25-Jan-2024 06:07:46 America/Denver] PHP Parse error:  syntax error, unexpected identifier "version" in /home2/cushangh/public_html/inc/plugins/BAM.php on line 103
[25-Jan-2024 06:07:55 America/Denver] PHP Parse error:  syntax error, unexpected identifier "version" in /home2/cushangh/public_html/inc/plugins/BAM.php on line 103
BAM is a MyBB plugin for displaying announcement on the forum.
Could it be the reason of the failure?

OK... Great news! I removed BAM.php from the plugin directory, now I can open the Website again.
But there are 3 big error messages displaid at the top of the forum main page:

Warning [2] Undefined variable $bam_announcements - Line: 52 - File: global.php(961) : eval()'d code PHP 8.1.27 (Linux)

Warning [2] Undefined variable $ps_header_index - Line: 16 - File: index.php(468) : eval()'d code PHP 8.1.27 (Linux)

Warning [2] Undefined variable $dvz_shoutbox - Line: 17 - File: index.php(468) : eval()'d code PHP 8.1.27 (Linux)

[Image: 2024-04-02-00-29-22.png]

What can I do???
Disable DVZ shoutbox and BAM announcements from ACP > Configuration > Plugins

These are template errors. One is in 'index' template, other is in 'header' template. Find the variable and updated or remove, or you can disable the plugins. Make sure you are using the latest plugin versions to be compatible with PHP 8.
(2024-04-01, 09:23 PM)MattyWjeisz Wrote: [ -> ]Disable DVZ shoutbox and BAM announcements from ACP > Configuration > Plugins

These are template errors. One is in 'index' template, other is in 'header' template. Find the variable and updated or remove, or you can disable the plugins. Make sure you are using the latest plugin versions to be compatible with PHP 8.

In ACP > Configuration > Plugins :  there is no DVZ shoutbox or BAM announcements at all.
I could find some templates and delete lines with errors (shoutbox and BAM related).
But, navigating in the forum, I can discover new errors in several threads...
For example:

[2] Undefined variable $codebutquick - Line: 31 - File: showthread.php(1308) : eval()'d code PHP 8.1.27 (Linux)

But, in the theme templates, I cannot find a "showthread" templace with "$codebutquick".
How can I search all the templates from the Admin control panel???  

Thank you for your help!

Finally, I found this:

<div id="quickreply_spinner" class="showthread_spinner" style="display: none"><img src="{$theme['imgdir']}/spinner.gif" /></div>
<br />
{$moderation_notice}
<form method="post" action="newreply.php?tid={$tid}&amp;processed=1" name="quick_reply_form" id="quick_reply_form">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="subject" value="RE: {$reply_subject}" />
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="posthash" value="{$posthash}" id="posthash" />
<input type="hidden" name="quoted_ids" value="" id="quoted_ids" />
<input type="hidden" name="lastpid" id="lastpid" value="{$last_pid}" />
<input type="hidden" name="from_page" value="{$page}" />
<input type="hidden" name="tid" value="{$tid}" />
<input type="hidden" name="method" value="quickreply" />

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2">
<div class="float_left">
Quick Reply
</div>

</td>
</tr>
</thead>
<tbody style="{$collapsed['quickreply_e']}" id="quickreply_e">
<tr>
<td class="{$trow}">
<div style="width: 99%">
<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>{$codebutquick}
</div>
<div class="editor_control_bar" style="width: 99%; padding: 4px; margin-top: 3px; display: none;" id="quickreply_multiquote">
<span class="smalltext">
{$lang->quickreply_multiquote_selected} <a href="./newreply.php?tid={$tid}&amp;load_all_quotes=1" onclick="return Thread.loadMultiQuoted();">{$lang->quickreply_multiquote_now}</a> {$lang->or} <a href="javascript:Thread.clearMultiQuoted();">{$lang->quickreply_multiquote_deselect}</a>.
</span>
</div>
<br />

{$option_signature} <label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" /> {$lang->disable_smilies}</label> {$closeoption}
</td>
</tr>
{$captcha}
<tr>
<td colspan="2" align="center" class="trow1"><input type="submit" class="button" value="{$lang->post_reply}" tabindex="2" accesskey="s" id="quick_reply_submit" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="3" /></td>
</tr>
</tbody>
</table>
</form>

In the middle, there is this line:

<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>{$codebutquick}

It was is 'showthread_quickreply' and not within 'showthread', that's why I could not find it.
Should I delete the  {$codebutquick} ? Is it safe?
Or should I revert this template to the original? Will it break my theme?
It is safe to delete. It's from a third-party plugin, and not standard in the template structure itself.
Pages: 1 2