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.
turn off notices in config to get rid of the message you quoted
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
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. ???