PB error with .kmz file PB error with .kmz file
 

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

Main Menu

PB error with .kmz file

Started by kryspin, March 18, 2008, 03:04:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kryspin

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.

ju

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.