Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:31:require_once)->(global.php:122:run_hooks)->(class_plugins.php:142:bam_announcements)->(bam.php:329:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:31:require_once)->(global.php:122:run_hooks)->(class_plugins.php:142:bam_announcements)->(bam.php:329:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:31:require_once)->(global.php:122:run_hooks)->(class_plugins.php:142:bam_announcements)->(bam.php:329:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:31:require_once)->(global.php:122:run_hooks)->(class_plugins.php:142:bam_announcements)->(bam.php:329:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->

  • Welcome to the English.10tl.net
  • The first english 10tl.net forum.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Title: MyBB 1.8.21 Editor HTML Error
#1
If your editor showing html tags you should edit your templates.

Step 1 )  Templates > Your theme > headerinclude > codebuttons 

Copy this is codes and change :

PHP Code:
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/themes/{$theme['editortheme']}type="text/css" media="all" />
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/jquery.sceditor.bbcode.min.js?ver=1821"></script>
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/bbcodes_sceditor.js?ver=1821"></script>
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/plugins/undo.js?ver=1821"></script>
<
script type="text/javascript">
var 
partialmode = {$mybb->settings['partialmode']},
opt_editor = {
    plugins"undo",
    format"bbcode",
    bbcodeTrimtrue,
    style"{$mybb->asset_url}/jscripts/sceditor/styles/jquery.sceditor.{$theme['editortheme']}?ver=1821",
    rtl: {$lang->settings['rtl']},
    locale"mybblang",
    width"100%",
    enablePasteFilteringtrue,
    autoUpdatetrue,
    emoticonsEnabled: {$emoticons_enabled},
    emoticons: {
        // Emoticons to be included in the dropdown
        dropdown: {
            {$dropdownsmilies}
        },
        // Emoticons to be included in the more section
        more: {
            {$moresmilies}
        },
        // Emoticons that are not shown in the dropdown but will still be converted. Can be used for things like aliases
        hidden: {
            {$hiddensmilies}
        }
    },
    emoticonsCompattrue,
    toolbar"{$basic1}{$align}{$font}{$size}{$color}{$removeformat}{$basic2}image,{$email}{$link}|video{$emoticon}|{$list}{$code}quote|maximize,source",
};
{
$editor_language}
$(function() {
    $("#{$bind}").sceditor(opt_editor);

    MyBBEditor = $("#{$bind}").sceditor("instance");
    {$sourcemode}
});
</
script

Step 2 )  Templates > Your theme > headerinclude

Change version values to 1821 example :


PHP Code:
{$mybb->asset_url}/jscripts/jquery.js?ver=1821 

Good days!  Heart
 
Reply
Thanks given by:
#2
Thank you !
 
Reply
Thanks given by:
#3
Oh my god this is worked for me!
 
Reply
Thanks given by:
  


Forum Jump:


Browsing: 1 Guest(s)