Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: EXIF and long file names  (Read 3291 times)

0 Members and 1 Guest are viewing this topic.

jpaffett

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Lesvosisland.com
EXIF and long file names
« on: April 13, 2005, 06:27:06 am »

If you add a file with the maximum length file name of 255 characters, it stores a corrupt record in the exif table, with the filename truncated to the first 255 characters (which includes the file path). On subsequent attempts to view the picture you get the following message: "Critical error There was an error while processing a database query".
« Last Edit: July 31, 2005, 12:18:39 pm by GauGau »
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: EXIF and long file names
« Reply #1 on: April 13, 2005, 06:55:00 am »

Change the field type from Varchar to Text using phpmyadmin or something similar and you should be fine. update.sql has the correct syntax....
Logged
SANIsoft PHP applications for E Biz

jpaffett

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Lesvosisland.com
Re: EXIF and long file names
« Reply #2 on: April 13, 2005, 09:31:54 am »

Is there a newer version of update.sql than 1.114? That's the latest currently in anonymous CVS, which still has the field as varchar.

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: EXIF and long file names
« Reply #3 on: April 13, 2005, 11:49:50 am »

Thanks for pointing out  get version 1.115 - just committed
Logged
SANIsoft PHP applications for E Biz
Pages: [1]   Go Up
 

Page created in 0.06 seconds with 20 queries.