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)

stardom 07-03-2011 11:47 PM

My save button isn't working when editing a post.
 
^^ Title says it all.

Can someone help me?

Save button, 'Reply to thread', quote, advance mode, there all not working.

I'm using 4.1.4

kh99 07-04-2011 12:34 AM

New install, upgrade, recent changes, or just happened spontaneously?

stardom 07-04-2011 07:37 AM

Quote:

Originally Posted by kh99 (Post 2216433)
New install, upgrade, recent changes, or just happened spontaneously?

New install.

kh99 07-04-2011 12:54 PM

I mostly asked that question because I figured that anyone else who was going to help you would want to know, but if it's a new install then I really have no idea. The only thing I can think of is to make sure everything is uploaded like it's supposed to be, and maybe check if you're getting any javascript errors.

stardom 07-04-2011 03:06 PM

Quote:

Originally Posted by kh99 (Post 2216608)
I mostly asked that question because I figured that anyone else who was going to help you would want to know, but if it's a new install then I really have no idea. The only thing I can think of is to make sure everything is uploaded like it's supposed to be, and maybe check if you're getting any javascript errors.

What file do I upload for the edit and templates?

kh99 07-04-2011 03:23 PM

I was thinking of the files under clientscript, because I know those buttons work via javascript.

stardom 07-04-2011 07:13 PM

You could see the mistakes, check my forums.

www.perfectionx.net

kh99 07-04-2011 07:23 PM

All I see is web site with 4 pages - maybe I'm missing the link to the forums?

abqtj 07-04-2011 09:33 PM

Mine doesn't work either for about 80% of the members. Using 4.1.4.

In the 4.1.2 version, the edit would just spin the hourglass (or whatever for your browser) and nothing would happen.

stardom 07-04-2011 10:03 PM

Quote:

Originally Posted by abqtj (Post 2216753)
Mine doesn't work either for about 80% of the members. Using 4.1.4.

In the 4.1.2 version, the edit would just spin the hourglass (or whatever for your browser) and nothing would happen.

Did you fix it now or what? Mine isn't working still.

Add my msn though. Criminalguy@hotmail.co.uk

My site is www.perfectionx.net - Sorry.

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 05:22 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.01060 seconds
  • Memory Usage 1,754KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete