Unable to upload images / JSON error
-
I’ve just upgraded 1.9.3 to 2.1.2, because I was unable to edit thumbnails. After a lot of drama, I can now edit thumbnails, but am no longer able to upload any images, which is causing a huge headache.
My first problem is that Firebug reports an error on loading the Add Gallery / Images page:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
The offending filepath is /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_addgallery_page/static/jquery.filetree/jquery.filetree.min.js?ver=3.8.8 line 1 > eval
Next problem is that I can’t upload anything into an existing gallery and I can’t create any new galleries. I can queue up files by clicking the ‘add files’ button etc, but as soon as I click ‘start upload’, I get the error pop-up:
An unexpected error occured. This is most likely due to a server misconfiguration. Check your PHP error log or ask your hosting provider for assistance.
0 images were uploaded
I’m using WP 3.8.8, which is necessary because I depend on some plug-ins that aren’t compatible with anything more recent.
I have disabled all other plugins and still have the problem.
I have switched to a number of standard, clean themes (Twenty Ten etc) and that has no effect.
Here are my server settings:
Operating System : Linux (64 Bit)
Server : Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 mod_qos/11.5
Memory usage : 33.2 MByte
MYSQL Version : 5.5.42-cll
SQL Mode : Not set
PHP Version : 5.4.43
PHP Safe Mode : Off
PHP Allow URL fopen : On
PHP Memory Limit : 256
PHP Max Upload Size : 20M
PHP Max Post Size : 20M
PCRE Backtracking Limit : 1000000
PHP Max Script Execute Time : 30s
PHP Exif support : Yes ( V1.4 )
PHP IPTC support : Yes
PHP XML support : YesGraphic Library
GD Version : bundled (2.1.0 compatible)
FreeType Support : Yes
FreeType Linkage : with freetype
T1Lib Support : No
GIF Read Support : Yes
GIF Create Support : Yes
JPEG Support : Yes
PNG Support : Yes
WBMP Support : Yes
XPM Support : Yes
XBM Support : Yes
JIS-mapped Japanese Font Support : NoAny idea what’s going wrong?
- The topic ‘Unable to upload images / JSON error’ is closed to new replies.