Advanced search  


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.

Pages: [1]   Go Down

Author Topic: PB error with .kmz file  (Read 3583 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
PB error with .kmz file
« on: March 18, 2008, 03:04:33 pm »

I have recently installed Nibblers great filetypes_editor plugin. It seems to work just fine with some extensions. I successfully added .kml, .gpx and .plt (Ozi Explorer track). However, I ran into a few problems. I tried to add .kmz file and .wpt (Ozi Explorer waypoint file) and even though the mimetype is correct, filetype is set to "document" (once I forgot and left it for image - no wonder it does not work then) and "no player" and everything seemed to be ok. When I tried to batch add uploaded .kmz, I got PB error (it works fine with .kml).  Attributes of directory the file is in is set to "777". I even tried to edit and to delete the extension and create it again, but it didn't help. Does anybody know where might be the problem? I would be really thankfull for help.


  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: PB error with .kmz file
« Reply #1 on: April 13, 2008, 01:39:20 pm »


Sorry for my English...

In phpmyadmin, modify table cpg14x_filetypes/mime for varchar(40)

and insert this code (in phpmyadmin/sql) :

INSERT INTO `cpg14x_filetypes` (`extension`, `mime`, `content`, `player`) VALUES('kml', 'application/', 'document', ''),('kmz', 'application/', 'document', '');

Prefix attention to the table (cpg14x_).

Pages: [1]   Go Up

Page created in 0.464 seconds with 19 queries.