filetypes table in mysql ? filetypes table in mysql ?
 

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

filetypes table in mysql ?

Started by Sofistikated, November 09, 2005, 06:39:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sofistikated

So, I was trying to add support for mp4 files in phpmyadmin, but apparently I didn't know what I was doing and screwed it up. Now it says:

"Notice: Undefined index: in /gallery/include/media.functions.inc.php on line 33."

Is there a way to restore the filetypes part of the database to its original state? And after I accomplish that (if possible) how do I properly insert a row for mp4 extensions? Thanks.

Joachim Müller

turn off notices in config to get rid of the message you quoted

Nibbler

The row should be:

`extension` -> the extension in lower case ie. mp4
`mime` -> the mime type of an mp4 file
`content` -> one of these 4 types: image, audio, document, video

Sofistikated

#3
How can I turn of notices? The only thing I see in config about notices is to display notices in debug mode.

Also, that IS what I put in to add another extension. I went into phpmyadmin, clicked on filetypes, then browse up top, then under all of the listed extensions, I clicked "add new row" or whatever, then put "mp4," "video/mp4," and "video," and clicked go. Nothing was inserted though. When I tried to do it again, it said that there was a duplicate, so I'm confused.  ???