Support Forum
I prepare a test forum http://www9365uj.sakura.ne.jp/demo/
Please log in user:demouser pass:k93wsej4
Original (English) version WP3.6.1.
Simple Press version 5.3.1
Pupload version 2.1.2
Apache 2.4.6 and PHP 5.5.3 on FreeBSD 9.1
In my php.ini, upload_tmp_dir = /tmp, its permission is 1777.
I make sure the same error is reproduced on this site, logged in as demouser and attempted attach another 115KB jpeg file named "1.jpg".
I will try from different local environment in my office, another version of Mac OS or Windows 7, on next Tuesday (Next Monday is holiday in Japan).
as indicated, its all about the json response.. this is the error being added to the json response:
<b>Fatal error</b>: Call to undefined function imagecreatefromjpeg() in <b>/usr/problem-with-post-edit-buttonome/WWW/demo/wp-content/sp-resources/forum-plugins/plupload/library/sp-plupload-components.php</b> on line <b>170</b><br />
its because you server does not have the standard GD library compiled into php... its needed by the file uploader...
Visit Cruise Talk Central and Mr Papa's World
My first compile option of PHP was
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql --enable-mbstring --enable-mbregex --with-libmbfl --enable-pcntl --with-zlib -with-openssl --with-gd --with-freetype-dir=/usr/local --with-curl=/usr/local
I compiled gd library before PHP installation with "
./configure --with-png=/usr/local --with-jpeg=/usr/local --with-freetype=/usr/local --with-zlib=/usr/local ". I thought gd includes libjpeg and libpng. But it was my mistake.
On PHP configuration, gd library bundled with PHP will be used with "--with-gd" option. gd library installed in /usr/local will not be used.
Finally my new configuration is
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql --enable-mbstring --enable-mbregex --with-gettext --enable-ftp --with-libmbfl --enable-pcntl -with-openssl --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib --with-freetype-dir=/usr/local --with-curl
I add install directory of libjpeg and libpng in the PHP configuration. Then I re-install PHP and restart apache, I success to upload image files.
Thank you for your support.
1 Guest(s)