Any help with this issue would be appreciated.
Firstly I FTP'd a 51Mb file to my server which was a QT movie. I adjusted the file size limits to accomodate the file but every time I tried to add it to an album I got the PB error. I check the permissions which were fine. Reading some threads on the forums it seemed the extension .qt was not in the database extension list so I added it.
I immediately started getting the following error message 4 times at the top of the screen.
Notice: Undefined index: in /hsphere/local/home/pwella/brotherhoodofthebat.com/cpg133/include/media.functions.inc.php on line 33
To see if the addition of the db entry had caused the error I removed the entry from the db - it made no difference, the error still appeared.
Further inverstigation on the forums suggested I replace the media.functions.inc.php file - which I did with no success.
Can anyone help me work out what has gone awry?
Cheers
Paul
Post a deep link to the quicktime movie, it may be corrupted.
Not entirely sure what you meant by a deep link, but this is the location of the movie file.
http://brotherhoodofthebat.com/cpg133/albums/movies
I have downloaded the movie from this location (takes a while even over a T1 link) and played it without any problems.
a deep link would have been http://brotherhoodofthebat.com/cpg133/albums/movies/BATMANFORMULASTRAILERMEDIUM2.mov
ah ok I understand now - thanks.
I understand that you are all very busy but does anyone have any ideas about this issue?
Thanks
Paul
It seems you have 2 times this movie in the coppermine database :
the first time with incorrect .qt extension
the second time with OK .mov extension
delete the first (this one : http://brotherhoodofthebat.com/cpg133/displayimage.php?album=12&pos=1 (http://brotherhoodofthebat.com/cpg133/displayimage.php?album=12&pos=1) )
Azy
The movie is in the correct folder now and I have removed the file with the .qt extension but I still get the error:
Notice: Undefined index: in /hsphere/local/home/pwella/brotherhoodofthebat.com/cpg133/include/media.functions.inc.php on line 33
Notice: Undefined index: in /hsphere/local/home/pwella/brotherhoodofthebat.com/cpg133/include/media.functions.inc.php on line 33
Notice: Undefined index: in /hsphere/local/home/pwella/brotherhoodofthebat.com/cpg133/include/media.functions.inc.php on line 33
Notice: Undefined index: in /hsphere/local/home/pwella/brotherhoodofthebat.com/cpg133/include/media.functions.inc.php on line 33
at the top of each screen. How do I stop that happening?
Thanks
disable notices display in your config - it's only meant for devs anyway.
If the display notices is the setting which reads:
Display notices in debug mode
Then it is already set to NO and always has been. Also Enable debug Mode is also set to NO.
I have heard there can be problems with Coppermine not changing settings in Config and sometimes it needs to be done manually. Is this the case here?
probably not. I guess your error level is set to always display notices and not allow this policy to be overridden (webserver setup) then - details: http://www.php.net/error-reporting
My website host has confirmed that they have set php reporting to off. They even checked by writing a php script with a syntax error and posted it to a new page on the site. Going to that page generated no errors.
Any other ideas why I am still getting php errors within Coppermine?
Thanks
Paul
It looks like you have added an entry into the filetypes table with a `content` that is not one of the 4 types (image, audio, movie, document). Remove or correct it if so.
Excellent - thanks so much - that has fixed the problem!! :)
Thanks everyone for all your help - much appreciated!