Loading...
 
Architecture / Installation

Architecture / Installation


Problem with image galeries

posts: 1

I have installed tikiwiki 1.8.5 on our server. Version oh php is 4.3.10 and Apache is 1.3.29. The database is Postgresql 7.4.5.
Everything works good except image galleries. When I upload image it doesn't show neither in full size or as thumbnail. In the apache error log I get following messages:
Thu Mar 24 22:37:48 2005 error PHP Warning: imagecreatefromstring(): Data is not in a recognized format. in /var/www/htdocs/tiki/lib/imagegals/imagegallib. php on line 118
Thu Mar 24 22:37:48 2005 error PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/htdocs/tiki/lib/imagegals/imagegallib.php on line 256
Thu Mar 24 22:37:48 2005 error PHP Warning: postgres7 error: ERROR: unterminated quoted string at or near "'\xff\xd8\xff\xe0\\" at character 204 in query :<br/><pre>\ninsert into "tiki_images_data"(imageId,xsize,ysize,\n type,filesize,filetype,filename,data)\n

values (?,?,?,?,?,?,?,?)\n</pre><br/> in /var/www/htdocs/tiki/lib/tikidblib.php

on line 134
Thu Mar 24 22:37:48 2005 error PHP Notice: Undefined variable: smarty in /var/www/htdocs/tiki/lib/tikidblib.php on line 152
I have tried to use also external gd library 2.0.48 but the result is same.
When I try imagick I get following errors:
23315 MMCACHE: PHP crashed on opline 39 of imagick_scale() at /var/www/htdocs/tiki/lib/imagegals/imagegallib.php:245
On the server images are saved on the filesystem.

posts: 2881 United Kingdom

With Postgres, you must store the image gallery data in the file system and not the database.

Also I dont believe image galleries actually ever worked on postgres databases. If you do want to use Postgres, you might like to try the new TikiPro fork of TikiWiki which has 100% postgres development and support.

Damian
http://tikihost.net