vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   My save button isn't working when editing a post. (https://vborg.vbsupport.ru/showthread.php?t=266230)

kh99 07-04-2011 10:40 PM

I registered on your site to test (kh99 - you can delete it when we're done). I haven't found anything yet that doesn't work (although I haven't submitted a post).

stardom 07-04-2011 11:35 PM

Kh99, please try edit your post and then save it.

kh99 07-05-2011 01:23 AM

Yes, I see now - it doesn't work. I see these javascript errors when that page loads:

Code:

Error: missing } in compound statement
Source File: http://www.perfectionx.net/clientscript/ckeditor/ckeditor.js?t=A7HG4HT&v=414
Line: 129, Column: 2315
Source Code:
if(A)YAHOO.util.Dom.setStyle(A.id,'display',z);};function w(x){a.on('dialogDefinition',function(y){var z=y.data.name,A=y.data.definition;if(z=='smiley'){A.getContents('tab1').elements[0].html=A.getContents('tab1').elements[0].html.replace(/src="\.\/([a-z]+:\/\/)/gi,'src="$1');var B=A.getContents('tab1').elements[0].onClick;A.getContents('tab1').elements[0].onClick=e.override(B,function(C){return function(D){var E=D.data.getTarget(),F=E.getName();if(F=='a')E=E.getChild(0);else if(F!='img')return;var G=E.getAttribute('title');y.editor.insertHtml(G);this._.dialog.hide();D.data.preventDefault();};});}});};j.add('enhancedsourcearea',{requires:['editingblock','wysiwygarea'],saveSelection:function(x,y){y.savedselection=document.selection.createRange();},init:function(x){var y=j.enhancedsourcearea,z,A=a.document.getWindow();x.textarea=z=new h('textarea');if(c){YAHOO.util.Event.on(x.textarea.$,'keyup',this.saveSelection,x);YAHOO.util.Event.on(x.textarea.$,'click',this.saveSelection,x);YAHOO.util.Event.on(x.textarea.$,'select',this.saveSelection,x);}x.getSelection=e.override(x.getSelection,function(B){return function(){if(this.mode!='enhancedsourcearea')return B.call(this);else return new d.selection(document);};});w(x);x.on('editingBlockReady',function(){var B,C={};u(x,x.lang.source,x.lang.vbulletin.switch_editor_mode_source);v(x,x.lang.vbulletin.email,'none');x.addMode('enhancedsource',{load:function(D,E){v(x,x.lang.vbulletin.email,'');u(x,x.lang.source,x.lang.vbulletin.switch_editor_mode_wysiwyg);if(YAHOO.util.Dom.get(x.editorid+'_mode'))YAHOO.util.Dom.get(x.editorid+'_mode').value=0;if(c&&b.version<8)D.setStyle('position','relative');z.setAttributes({dir:x.config.contentsLangDirection,tabIndex:b.webkit?-1:x.tabIndex,role:'textbox','aria-label':x.lang.editorTitle.replace('%1',x.name)});z.addClass('cke_source');z.addClass('cke_enable_context_menu');this.setupCommandOverrides();var F={width:b.ie7Compat?'99%':'100%',height:'100%','min-width':'100%','max-width':'100%',resize:'none',outline:'none','text-align':x.config.contentsLangDirection=='ltr'?'left':'right'};if(c){F.width=D.$.clientHeight+'px';F.height=D.$.clientWidth+'px';B=function(){z.hide();z.setStyle('height',D.$.clientHeight+'px');z.setStyle('width',D.$.clientWidth+'px');z.show();};x.on('resize',B);A.on('resize',B);setTimeout

Error: CKEDITOR is not defined
Source File: http://www.perfectionx.net/clientscript/vbulletin_textedit.js?v=414
Line: 11


which I'm pretty sure must be realted but I don't know what's causing them. Did you make any changes to the editor at all, or install any mods?

I assume that was you posting in that thread I started - did you mean that you're asking at vbulletin.com? That may be a good idea.

Edit: actually I think I do see what the problem is - the file clientscript/ckeditor/ckeditor.js seems to be half missing. You should try uploading that file again (or maybe just upload all of clientscript again).

stardom 07-05-2011 03:42 PM

I've fixed it now! Thanks for helping me mate.

^^ Where could I advertise my forums at? :p

GameOverViper 07-05-2011 10:10 PM

Quote:

Originally Posted by stardom (Post 2217047)
I've fixed it now! Thanks for helping me mate.

^^ Where could I advertise my forums at? :p

Can you share how you fixed the problem?

abqtj 07-07-2011 02:51 AM

Quote:

Originally Posted by Americanbang (Post 2217232)
Can you share how you fixed the problem?

yeah, please share the steps you took to fix this

abqtj 07-08-2011 03:09 PM

I guess not


All times are GMT. The time now is 03:11 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.01024 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete