Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.

kryspin

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

Hi,
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.
Logged

ju

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

Hello,

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/vnd.google-earth.kml+xml', 'document', ''),('kmz', 'application/vnd.google-earth.kmz', 'document', '');

Prefix attention to the table (cpg14x_).

Cordially.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.