Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #21  
Old 11-07-2013, 11:32 AM
gakz gakz is offline
 
Join Date: Mar 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess I meant to say... It appears none of the errors have to do with javascript at all. So how would they affect that issue?
Reply With Quote
  #22  
Old 11-08-2013, 12:54 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gakz View Post
I guess I meant to say... It appears none of the errors have to do with javascript at all. So how would they affect that issue?
The error only needs to be in the HTML to break JavaScript functionality. A single error in code construction can cause any number of other errors. You won't know for sure until you rule them out.
Reply With Quote
  #23  
Old 11-08-2013, 01:33 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

General Information about JavaScript

JavaScript is typically used to dynamically change things and add interactivity, since it runs on the browser. Although it is very robust in parsing the DOM, errors in HTML structure can cause the JavaScript parser to construct the DOM inadequately: thus JavaScript can not find the desired target it is looking for.

For beginners validators are another nice tool, but they are hardly perfect. You could have all sorts of validation errors and your JavaScript will work just fine or it can pass validation and your JavaScript fails.

Many users find a JavaScript/jQuery code snippet and insert it their programming. In many cases they end up corrupting the global namespace and the code snippets misbehave, sometimes with no errors what-so-ever.

When debugging JavaScript problems with vBulletin: duplicate your style with the style manager and revert any templates that might interfere with what you are testing -- start with "headerinclude" template. You can also use browser addons and intrinsic browser tools to disable a particular JavaScript interactively.

Hopefully this will help somebody.
Reply With Quote
  #24  
Old 11-08-2013, 02:28 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gakz View Post
My forum was recently hacked... Everything seems to be cleaned up and I am now going through the proper steps to secure the forum properly.

The problem we are experiencing now is different though, since the hacking:

I use CKEditor quick reply/quick edit, but all of the buttons (IMG, URL, VIDEO, ETC) all grey out the screen when you click them and freeze the browser tab until you go back a page.

I reinstalled the add-on and I can't seem to correct this issue, any thoughts on what may be next to fix it? It is causing a real hinderance for my users
Back to square one - have you disabled the hooks to see if this still occurs?

I created a account on your board and see the issue when I try to send a new PM, I get the WYSIWYG editor and when clicking on the video or image icons, the awesomebox shading (or whichever js you're using) covers the entire screen and there is no dialog box. Refreshing the browser makes this disappear however, back button not necessary. The URL button however, works as it should.

Start with disabling hooks... Then go from there. If that cures the issues then you know the "CKEditor quick reply/quick edit" Mod is causing your troubles.

SCRATCH THAT: In debugging your script on that send PM page, there appears to be a issue with the "ckeditor.js" file. Disable that Mod and consult the add-on developer in the thread where you got this Mod, is my suggestion. This really ain't all that hard. This stuff is a javascript function and it is not working, as I spitballed before.

MORE INFO: Errors for "videotag.js" and "image.js" both read the same: "[21:45:17.044] TypeError: responseXML is null"

You should disable this Mod for the sake of your users, until you can figure out what is wrong with it.
Quote:
Originally Posted by gakz View Post
I guess I meant to say... It appears none of the errors have to do with javascript at all.
Yes, they do.
Reply With Quote
Благодарность от:
tbworld
  #25  
Old 11-08-2013, 10:14 AM
gakz gakz is offline
 
Join Date: Mar 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That mod has been disabled already since I first encountered the issue.

In regards to the awesomebox shading, that started to occur when the issue started to occur. You can open the editor in a new window and it works.. otherwise it just sits at that shaded screen for infinity.

I fully uninstalled it and still no fix for the issue. Going through a few steps right now

--------------- Added [DATE]1383909453[/DATE] at [TIME]1383909453[/TIME] ---------------

Disabling hooks fixes the issue it seems. If it is the CKeditor mod, and the issue still occurs after uninstalling this mod.. That makes no sense to me, unless it permanently changed files
Reply With Quote
  #26  
Old 11-08-2013, 04:03 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Disabled or not, it was still calling its own files.
Quote:
If it is the CKeditor mod, and the issue still occurs after uninstalling this mod.. That makes no sense to me, unless it permanently changed files
That's what I said, earlier in the thread. Some of these Mods do auto-rewrites of just about any file on your system including templates, js files, PHP files, you name it.

Uninstalling sometimes reverts the changes but not always.

Do you still have all hooks disabled? I just tested the edit button, working. Image insert and video insert, working.
Reply With Quote
  #27  
Old 11-08-2013, 04:24 PM
gakz gakz is offline
 
Join Date: Mar 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes all hooks are still currently disabled
Reply With Quote
  #28  
Old 11-08-2013, 05:06 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just answered your PM at your board.
Reply With Quote
  #29  
Old 11-12-2013, 02:48 AM
gakz gakz is offline
 
Join Date: Mar 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After uninstalling the suspected offending mod, and then re-enabling hooks the issue comes back. It may be due to another mod?
Reply With Quote
  #30  
Old 11-12-2013, 03:32 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gakz View Post
After uninstalling the suspected offending mod, and then re-enabling hooks the issue comes back. It may be due to another mod?
Very possible. Let me go in and look at the pages again, and run the FF debug mode on them. You'll need to re-enable hooks for me to do that.


Alternatively since we appear to be in vastly different time zones you can disable plugins one at a time until the issue goes away with hooks enabled. Do this in plugin manager. Once you find the offending Modification, you can re-enable all the other plugins and we can discuss if maybe you're experiencing a hook conflict, or otherwise.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:03 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
  • Page Generation 0.04298 seconds
  • Memory Usage 2,258KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete