#1362 Image upload

v1.8
closed-duplicate
nobody
5
2004-05-15
2004-03-07
No

When trying to upload an image from a url, I got the
following message:

That is not an image (or you have php < 4.0.5)

Whan trying to upload a local image, I got the
following message:

Warning: postgres7 error: ERROR: Bad input string for
type bytea in query:
insert into
"tiki_images_data"("imageId","xsize","ysize",
"type","filesize","filetype","filename","data") values
(?,?,?,?,?,?,?,?)
in /var/www/fahlvik/lib/tikidblib.php on line 125
Values:
Array ( [0] => 4 [1] => 0 [2] => 0 [3] => o [4] =>
19510 [5] => image/bmp [6] => Jakob.bmp [7] =>
'BM6e\\\\000\\\\000\\\\0

Discussion

  • Philippe Cloutier

    Logged In: YES
    user_id=738765

    What PHP version are you using, does this happen for all images?
    PostgreSQL support in untested, try to contact other users
    (including spiderr) to know if it could be the problem.

     
  • Philippe Cloutier

    • status: open --> closed-duplicate
     
  • Philippe Cloutier

    Logged In: YES
    user_id=738765

    PostgreSQL binary DB storage is not yet supported as
    mentionned in http://tikiwiki.org/TikiPostgres.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks