EXIF and long file names EXIF and long file names
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

EXIF and long file names

Started by jpaffett, April 13, 2005, 06:27:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jpaffett

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".

Tarique Sani

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

jpaffett

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

Thanks for pointing out  get version 1.115 - just committed
SANIsoft PHP applications for E Biz