Loading...
 
Skip to main content

Features / Usability


More image gallery problems

I'm still having problems with uploading images since my upgrade from 1.8 to 1.9. I tried running tiki_1.8to1.9.sql again in case something there might be causing it, but that didn't help.

When uploading a .jpg, I get the message that " The uploaded file ist not recognized as a image". (Spelling errors not mine)

When uploading a .gif, I get the message below. I would really appreciate any help since the image galleries are a big part of my site (a pictorial dictionary for German-language learners) and I can't update them at all right now.

Thanks!

Error message with .gif upload:

Context:
File /mypath/tiki-upload_image.php
Url /mypath/tiki-upload_image.php?
Query:
insert into `tiki_images_data`(`imageId`,`xsize`,`ysize`, `type`,`filesize`,`filetype`,`filename`,`data`) values (?,?,?,?,?,?,?,?)
Values:
0 629
1 0
2 0
3 o
4 12325
5 image/gif
6 picturename.gif
7
Message:
Error Message You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3

My 2 cents

Your picture data is empty. WhY?

As you can't upload jpg.... can you before? What do you use ? GD? with imagick you will not have the problem (look in admin->img gallery
Perhaps your GD library is too old..
Did you try to change store in bd/ store in directory .. just to see what happens

> Your picture data is empty. WhY?
>
> As you can't upload jpg.... can you before? What do you use ? GD?
> with imagick you will not have the problem (look in admin->img gallery
> Perhaps your GD library is too old..
> Did you try to change store in bd/ store in directory .. just to see what
> happens

Sylvie,

I have no idea why the picture data is empty. I could always upload pictures before the update.

I use GD. File is php_gd2.dll with a date of 7/11/2005. It's the same one I used before updating Tiki. I have always stored the pictures in the database. I have not tried to change to storing in a directory. Is there a reason that might help?

Thanks for responding and for any additional help!