Support Forum

error uploading attachments

BC Ben Crowe
Ben Crowe
Member

Hi, I’m incredibly new.. i.e my forum http://www.crimsonguitars.com/guild/forum went live a few hours ago!  Everything is working wonderfully and the move from bbpress was basically pain free but I’m now getting this error whenever I try upload anything in a post.  

‘spjEdInsertAttachment is not defined’ comes up in a popup window and

‘Error 999 – Unknown server error (check image size – may be exhausting memory)’ below the box..

now, I’ve gone through the php.ini on the main sites root ( I think I know enough to be dangerous here!) and also checked in wordpress wp.config file and as far as I can see I have at least 7.5gb of allowable upload at a time.. (I was being very generous while trying to solve the issue) and the settings under /components/file uploads is set to infinite..

I use Magic Members but don’t have any restrictions on the forum and basically I’m stumped.. help?

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

It looks like its because you have a wp theme or plugin that might not be adding tinymce elements properly…

unfortunately, some wp themes and plugins that add buttons or plugins to the wp editor (tinymce) incorrectly assume the editor only shows up in the admin and therefore hook into incorrectly…  the wp editor fully support its use on the front end, which simple press does…

so need to identify the theme or plugin that is adding the new elements (maybe something called markdown) and where its loading them so we can see if we can help your correct the theme or plugin… often its just having it hook into admin_init instead of init…

to try to narrow down where to look, try switching to the default wp theme… and then test… if works, we know its the theme… if not, then disable all other plugins…does it work?  if so, renable theme one by one testing until it breaks…

BC Ben Crowe
Ben Crowe
Member

Thank you, you had it in one, and of course it was the most problematic plugin to replace, the magicmembers site membership one that runs, well, everything!  Is there any way you can advise how to fix it or is it up to magicmembers?  Either way thank you for your quick, and completely accurate, analysis! I am officially a fan of your software!

MP Mr Papa
Mr Papa
Member

see if you can figure out where its adding the items…  often the plugin incorrectly hooks into the init hook… if they just want it to apply in the admin, they should hook into admin_init hook…