Support Forum
An error message "JSON Parse error: Unrecognized token '<'" is shown after click attch button.
And another error message
1.jpg: Error 999 - Unknown server error (check image size - may be exhausting memory)
is appeared below attachment D&D window.
My image size is small, 57 KB.
Pupload settings are:
Image quality of resized images (0-100): 100
Image quality of thumbnails (0-100):100
Maximum size of thumbnails:300
Maximum size (in bytes) of image files : 0
Maximum width (in pixels) of image files (0 = no limit):0
Maximum height (in pixels) of image files (0 = no limit):0
In my php.ini (/usr/loca/lib/php/php.ini), settings of file size are following:
memory_limit = 1700M
post_max_size = 1600M
which version of SP and file uploader plugin? which browser?
1700M?? really?
are your uploads locations valid? see on forum - integration - storage locations...
anything in the error log?
can you try it running the default wp theme? the theme or other plugin maybe adding stuff to the json response causing issues...
Visit Cruise Talk Central and Mr Papa's World
Server Environment
Simple Press version 5.3.1
Pupload version 2.1.2
WordPress 3.6.1
Apache 2.4.6 and PHP 5.5.3 on FreeBSD 9.1
My Sorage Location is
SP storage location :sp-resources/forum-image-uploads
Status ....."Location Found" and "Write-OK"
Both under "memory_limit = 1700M post_max_size = 1600M upload_max_filesize = 1500M" and under default settings(memory_limit=128M etc.), upload is failed.
Local Environment
Browser is Safari 5.1.9 on Mac OS X 10.6.8.
I tried Firefox 23.0.1, but the situation is same.
Sadly...bbPress with GD bbPress Attachments works well.
After image upload, my Erro log is following
2013年9月14日 11:37 AM |
php | file: /simple-press/forum/content/forms/sp-form-components.php line: 469 function: Unavailable Notice | Trying to get property of non-object |
2013年9月14日 11:37 AM |
php | file: /simple-press/forum/content/forms/sp-form-components.php line: 469 function: sp_post_editor_smileys_options Notice | Trying to get property of non-object |
2013年9月14日 11:37 AM |
php | file: /simple-press/forum/content/forms/sp-form-components.php line: 469 function: Unavailable Notice | Trying to get property of non-object |
2013年9月14日 11:37 AM |
php | file: /simple-press/forum/content/forms/sp-form-components.php line: 469 function: sp_post_editor_smileys_options Notice | Trying to get property of non-object |
cant attach an image? why? is it too large? just adjust the image size and/or quality... the image upload limit here is large enough...
dont worry about the smileys notice... its just a notice - not an error... harmless.. and already cleaned up in next version...
understand theme - good, generally eliminates that... what about plugins? can you try disabling them and seeing if any better?
has your server properly defined a temp file upload location (normally in php or uses system default)?
is this forum in English or translated?
Visit Cruise Talk Central and Mr Papa's World
No, my image size is 57 KB named "1.jpg". I think this is small size.
I deactivated all SP plugins. Only pupload was activated.
Activated WP plugins were Akismet, SimplePress and WP Multibyte Patch.
Then I try again, but I can not attach image.
In my php.ini, upload_tmp_dir =/tmp and its permission is 777.
I read this forum in English.
I tried again under two environments:
(1) Japanese localized version of WP with "WP Multibyte Patch" deactivated.
(2)Newly clean installed Original (=English) version of WP3.6.1, with only simple-press plugin and pupload plugin.
In the both environment, I can not attach 57 KB small image file. The error message is "JSON Parse error: Unrecognized token '<'" and 1.jpg: Error 999 – Unknown server error (check image size – may be exhausting memory).
This image file can be viewed using Safari and Preview. Image file has no problem.
I wouldnt have my /tmp directory at 0777.. not the best security practice... but I doubt its related...
is this on net, where we can try it and look at the ajax responses?
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)