Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Upload file and image plugin error
Avatar
Soren Navntoft
Member
Free Members
sp_UserOfflineSmall Offline
Oct 18, 2013 - 11:58 am

When users try to upload image they get the following error in a alertbox:

"nxs_updateGetImgsX is not defined"

Then following line appears under the Select file box:

"Error 999 - Unknown server error (check image size - may be exhausting memory)"

We should have maximum settings for the WP-memory limit.

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 18, 2013 - 6:08 pm

in an alert box??  what is causing that?  it does not appear to be a standard unix message...

the error 999 is an unknown because the system never reported an error just stopped processing our request...  This is likely because of the alert box you are seeing...

Avatar
Soren Navntoft
Member
Free Members
sp_UserOfflineSmall Offline
Oct 21, 2013 - 7:39 am

The alertbox message seems to be from tinymce 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 21, 2013 - 10:44 am

and what would be causing it?  the file uploader runs completely outside of tinymce with no interaction other than an insert, but that is later in the process after a successful upload...

do you have a theme or other plugin that adds plugins or buttons to tinymce?  if so, may be doing it incorrectly since many incorrectly assume the wp editor is only used in the admin...

Avatar
Soren Navntoft
Member
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2013 - 1:27 pm

Hi again

I've done some research on this issue. It is not the fileuploader that's causing the alert, but Tinymce. The image IS upoladed and placed in the tinymce box the way it is supposed to, but then the alert box pops up. It seems to be some sort of error generated by tinymce in order to scale the image.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2013 - 5:20 pm

tinymce isnt scaling the image there... its done internally (I guess its possible tinymce does other scaling, but not something we are asking it to do)...  and btw, its not our tinymce, its just the standard, built in wp editor (tinymce)...

any idea what nxs_updateGetImgsX is?  I cannot find any reference to it in tinymce or on the net...  except for perhaps an addon to winamp, a media player...

what browser does this occur in?  have you tried others?

do you have a link to your site so we can check for some obvious conflicts?

Avatar
Soren Navntoft
Member
Free Members
sp_UserOfflineSmall Offline
Oct 30, 2013 - 8:04 am

I found the nxs_updateGetImgsX in a js file for tinymce by viewing sourcecode in my browser.

Ive tried all the usual browsers and with the same error.

My site is http://www.viaretro.com/forum

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 30, 2013 - 12:09 pm

Could you tell me which file exactly as a quick search on my site did not turn it up?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 30, 2013 - 12:11 pm

you are minifying js with a plugin... if its minifying the sp js, that may be problematic as the js is already minified and double minifying it tends to break it...

Avatar
Soren Navntoft
Member
Free Members
sp_UserOfflineSmall Offline
Oct 31, 2013 - 7:11 am

@ Yellow Swordfish

 

I'm not sure it's good practice to paste scriptcode in the forum, but I'll giving it a shot. Here you have the scipt from the sourcecode, when the error is present.

<script type='text/javascript' src='http://www.viaretro.com/wp-includes/js/tinymce/plugins/wpdialogs/js/popup.min.js?ver=3.6.1'></script><script type="text/javascript">

tinyMCEPreInit = {

base : "http://www.viaretro.com/wp-includes/js/tinymce",

suffix : "",

query : "ver=358-25336",

mceInit : {'postitem':{mode:"none",width:"100%",theme:"advanced",skin:"o2k7",language:"da",theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",theme_advanced_statusbar_location:"bottom",theme_advanced_resizing:true,theme_advanced_resize_horizontal:false,dialog_type:"modal",formats:{

alignleft : [

{selector : 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles : {textAlign : 'left'}},

{selector : 'img,table', classes : 'alignleft'}

],

aligncenter : [

{selector : 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles : {textAlign : 'center'}},

{selector : 'img,table', classes : 'aligncenter'}

],

alignright : [

{selector : 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles : {textAlign : 'right'}},

{selector : 'img,table', classes : 'alignright'}

],

strikethrough : {inline : 'del'}

},relative_urls:false,remove_script_host:false,convert_urls:true,remove_linebreaks:false,gecko_spellcheck:true,fix_list_elements:true,keep_styles:false,entities:"38,amp,60,lt,62,gt",accessibility_focus:true,media_strict:false,paste_remove_styles:true,paste_remove_spans:true,paste_strip_class_attributes:"all",paste_text_use_dialog:true,webkit_fake_resize:false,preview_styles:"font-family font-weight text-decoration text-transform",schema:"html5",wpeditimage_disable_captions:false,wp_fullscreen_content_css:"http://www.viaretro.com/wp-includes/js/tinymce/plugins/wpfullscreen/css/wp-fullscreen.css",plugins:"inlinepopups,paste,wordpress,wpdialogs,sphelp",elements:"postitem",wpautop:false,apply_source_formatting:true,theme_advanced_buttons1:"bold,italic,underline,|,bullist,numlist,|,blockquote,|,link,unlink,|,undo,redo,|,image,media,|,pastetext,pasteword,|,spoiler,|,code,|,sp_help,formatselect,|,justifyleft,justifycenter,justifyright,justifyfull,|,charmap,removeformat,selectall",theme_advanced_buttons2:"",theme_advanced_buttons3:"onehalf,onehalflast,onethird,onethirdlast,twothird,twothirdlast,onefourth,onefourthlast,threefourth,threefourthlast,onefifth,onefifthlast,twofifth,twofifthlast,threefifth,threefifthlast,fourfifth,fourfifthlast,onesixth,onesixthlast,fivesixth,fivesixthlast",theme_advanced_buttons4:"",tabfocus_elements:":prev,:next",body_class:"postitem post-type-page post-status-publish",theme_advanced_resizing_use_cookie:true,content_css:"http://www.viaretro.com/wp-content/sp-resources/forum-plugins/tinymce-richtext/resources/themes/advanced/skins/o2k7/content.css",editor_css:"http://www.viaretro.com/wp-content/sp-resources/forum-plugins/tinymce-richtext/resources/themes/advanced/skins/o2k7/ui.css",popup_css:"http://www.viaretro.com/wp-content/sp-resources/forum-plugins/tinymce-richtext/resources/themes/advanced/skins/o2k7/dialog.css",skin_variant:"black",height:"360",extended_valid_elements:"img[accesskey|class|contextmenu|dir|draggable|dropzone|hidden|id|inert|itemid|itemprop|itemref|itemscope|itemtype|lang|spellcheck|style|tabindex|title|translate|item|role|subject|alt|src|srcset|crossorigin|usemap|ismap|width|height]",auto_focus:"postitem",paste_block_drop:true,setup:function( ed ) { ed.onChange.add( function( ed, e ) {

nxs_updateGetImgsX( e );

}); }}},

qtInit : {},

ref : {plugins:"inlinepopups,tabfocus,paste,media,fullscreen,wordpress,wpeditimage,wpgallery,wplink,wpdialogs,-NextGEN,-button,-divider,-slider,-featuredfulltabs,-lightbox,-onehalf,-onehalflast,-onethird,-onethirdlast,-twothird,-twothirdlast,-onefourth,-onefourthlast,-threefourth,-threefourthlast,-onefifth,-onefifthlast,-twofifth,-twofifthlast,-threefifth,-threefifthlast,-fourfifth,-fourfifthlast,-onesixth,-onesixthlast,-fivesixth,-fivesixthlast,-spoiler,-ddcode,-sphelp",theme:"advanced",language:"da"},

load_ext : function(url,lang){var sl=tinymce.ScriptLoader;sl.markDone(url+'/langs/'+lang+'.js');sl.markDone(url+'/langs/'+lang+'_dlg.js');}

};

</script>

 

@Mr. Papa

I'm using W3T cache and excluded the following from cache and minifying: 

sp-resources
forum
tinymce

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625