Image upload to gallery failed

26 views
Skip to first unread message

Dave

unread,
Nov 17, 2011, 6:19:19 PM11/17/11
to hppg - high performance photo gallery
Hi All

I've just set up a new vps and installed the latest version of gallery
and I can't successfully upload any images. After clicking upload the
upload bar moves to 100% but then it says 'failed' next to the image
name and size. Error reporting is turned on, max file size is larger
than the image. Anyone have any idea what I'm missing or how I can
find the source of the problem?

I'm using PHP Version 5.3.3, mysql Ver 14.12 Distrib 5.0.77

Cheers

D

Remigijus Kiminas

unread,
Nov 18, 2011, 2:14:01 AM11/18/11
to hppga...@googlegroups.com
Hi,

Few options.
1. Make sure you have php-gd library installed
2. Turn on error reporting in index.php
3. During upload with firebug just see what response you get.
4. Check php error log.
5. Check cache/default.log file. There goes all errors.

Dave Sinclair

unread,
Nov 19, 2011, 5:25:00 AM11/19/11
to hppga...@googlegroups.com
Turns out php-gd library wasn't installed.

Thanks for the other debugging tips as well.

Remigijus Kiminas

unread,
Nov 19, 2011, 6:10:39 AM11/19/11
to hppga...@googlegroups.com
I suggest actually to use ImageMagic for gallery, better performance. If you install ImageMagic then in settings.ini.php file 
'imagemagic_enabled' => false, 
set to true this variable.
Reply all
Reply to author
Forward
0 new messages