Support Forum
I am not able to upload images to any posts. Every time I try, I get the following message:
"Unexpected token �"
And then the following note below the upload box:
Error 999 - Unknown server error (check image size - may be exhausting memory)
It doesn't seem to matter what size the image - the smallest image I tried was 50x50, 4 kb.
I've deactivated all WP plugins and SP plugins and did not have any success.
Is there anything else I should try?
Thank you.
sure looks like a js conflict... hence the js error... have you looked at the browser console to see what, if any, js errors are being thrown?
do you have a link to site so we can take a look?
Visit Cruise Talk Central and Mr Papa's World
you have a wp theme (or plugin) that is going against the wp standards... its loading its own versions of jquery and jquery ui instead of using the versions that come with wp...
<script type='text/javascript' src='//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js'></script>
<script type='text/javascript' src='//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js'></script>
and the jquery version is a bit older than the wp version...
but the real issue is just that they are different... makes no sense that some themes and plugins continue to violate the wp desires here... no way for other plugins to test and work with those..
so the solution is to fix the culprit to use the wp versions...
easy check for where is to try a temp switch to the defaut wp theme and see if it starts working... if so, then its the wp theme... if not, disable all other plugins and see if working... then re-enable one by one until it breaks...
Visit Cruise Talk Central and Mr Papa's World
that could possibly indicate one of two things... both likely due to incorrect server permissions...
first, go to forum - options - global settings and try disabling the combined css and js caches...
if that doesnt help, then you need to check the permissions on the wp-content/sp-resources folder... typically its 0755 (dirs) and 0644 (php) but can differ from server to server and based on php flavor... fundamentally, see if it matches the permissions on wp-content... same for the uid and gid - ie ownerships...
Visit Cruise Talk Central and Mr Papa's World
Toggling the combined css and js caches did not help.
The permissions on the wp-content/sp-resources folder is 0755 (the same as the wp-content folder) but I'm not sure how to check the permissions for php. I'm also not familiar with the uid and gid and how to check / change them.
Also, I wanted to check about the error I cited in my last posted said the server could not find this file (sp-plugin-scripts-header.js?ver=24) in the forum-cache folder. Would that be the cause of the issue?
more than likely permissions or ownership... the web user couldnt access the directory to open the file...
so I had you disable the combined css and js cache so accessing the file wouldnt be needed... but concern was if there was permissions/ownership issues, it would exist for more files in sp-resources...
you can check the uid/gid via ssh (ls -la) or usually in your ftp client...
Visit Cruise Talk Central and Mr Papa's World
you might check with your host then...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)