problem after upgrading to 1.3.0 from 1.2.0

UNIX Help
2007-04-20
2013-04-25
  • I am getting this error when trying to view an image.
    I am at 2.4.21-47.0.1.EL Redhat linux

    mysql error: [1062: Duplicate entry 'sql/cache3/0/1920-75-384-512--.jpg' for key 1] in EXECUTE("INSERT INTO linpha_photo_cache (photo_id,date,filename,size) VALUES (1920,'2007-04-20 09:53:09','sql/cache3/0/1920-75-384-512--.jpg','0')")
    Error while creating image albums/trips/2007/Detroit/100_2271.JPG! Return Value: 1
    convert -quality 75 -size "512x384" "albums/trips/2007/Detroit/100_2271.JPG"[0] -resize "512x384" -strip -colorspace RGB "./sql/cache3/0/1920-75-384-512--.jpg"

    ./sql/cache3/0/1920-75-384-512--.jpg

    Error: Cannot create image!

     
    • Me too!  I've tried everything from clearing cache on db and on file system to to reinstalling everything.  Same problem.  I get thumbnails, but can't view the pictures in any other way than downloading the whole file.

      If anyone knows what might be causing this, I'd appreciate a little help.

      Stuff I'm using
      Linpha 3.0
      Redhat 7.3
      mysql 4.1.7
      php 5.2.1
      apache 2.2.4
      ImageMagick 6.3.3

      Thanks!
      S