![]() |
Error message after using advanced editor
1 Attachment(s)
Hey guys, I'm curious as to how to fix this error I've been getting. I noticed that after I went to advanced editor, to test a new BB code I added to strikethrough words or phrases, it had this error. I know it wasn't caused by the BB code I added, because I removed it and I still received the error. Any ideas on how to find out the problem?
|
Disable plugins via the includes/config.php file.
To do that open your includes/config.php file and below <?php add the following. PHP Code:
PHP Code:
If that fixes the issue enable plugins again by adding // before the line you added, then navigate to ACP --> Plugins & Products --> Manage Products and disable one mod at a time until you find the one causing the issue. Once you find the culprit, post in that mods thread what the issue is, and maybe someone in that thread can help. :) |
What version of vBulletin are you running and what version of PHP is on the server?
|
Here's the offending code :
Code:
if (!$vbulletin->GPC['advanced']) |
Quote:
|
I think I got it.
editpost.php lines 315 to 328 Code:
if (!$vbulletin->GPC['advanced']) |
Did you already add the below line to your config.php file?
*** As of vBulletin 4.2.2, notices and warnings are no longer suppressed by default like in previous versions of the software. This means that on some servers, you may see warnings that you never saw before. In order to stop them from showing, please add the following line to your config.php file under the <?php line: PHP Code:
|
Quote:
The reason I want to do this is I want all these warnings enabled for developing addons. I remember not long ago in an earlier version all error reporting was suppressed and debugging was ridiculously difficult for new addons. |
I think in includes/class_core.php in the function vb_error_handler
|
That seems to affect what text is shown but it doesn't seem to affect whether error/warning text is shown.
|
Quote:
|
Quote:
|
Paul would be able to answer that question since he was the one who upgraded the software.
|
Quote:
Note: You'll have to do that for the if statement as well. This is a php conflict with vb, not sure if that one is on the list of conflicts fixed in 4.2.3 or not. Code:
if (!$vbulletin->GPC['advanced']) |
See Post #6. I did the same thing but kept both statements on the same line to preserve the original line numbering. Same goes for the contents of the next conditional.
|
Quote:
|
All times are GMT. The time now is 07:14 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|