coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: knightblade on September 06, 2005, 03:22:01 AM

Title: Problems with movie and error message
Post by: knightblade on September 06, 2005, 03:22:01 AM
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
Title: Re: Problems with movie and error message
Post by: Joachim Müller on September 06, 2005, 07:43:47 AM
Post a deep link to the quicktime movie, it may be corrupted.
Title: Re: Problems with movie and error message
Post by: knightblade on September 06, 2005, 04:51:47 PM
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.

Title: Re: Problems with movie and error message
Post by: Joachim Müller on September 06, 2005, 05:27:52 PM
a deep link would have been http://brotherhoodofthebat.com/cpg133/albums/movies/BATMANFORMULASTRAILERMEDIUM2.mov
Title: Re: Problems with movie and error message
Post by: knightblade on September 06, 2005, 05:56:44 PM
ah ok I understand now - thanks.
Title: Re: Problems with movie and error message
Post by: knightblade on September 07, 2005, 04:03:51 PM
I understand that you are all very busy but does anyone have any ideas about this issue?

Thanks

Paul
Title: Re: Problems with movie and error message
Post by: Azrayen on September 08, 2005, 04:11:02 PM
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
Title: Re: Problems with movie and error message
Post by: knightblade on September 08, 2005, 10:27:02 PM
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


Title: Re: Problems with movie and error message
Post by: Joachim Müller on September 09, 2005, 08:49:05 AM
disable notices display in your config - it's only meant for devs anyway.
Title: Re: Problems with movie and error message
Post by: knightblade on September 09, 2005, 06:49:05 PM
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?

Title: Re: Problems with movie and error message
Post by: Joachim Müller on September 09, 2005, 07:08:09 PM
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
Title: Re: Problems with movie and error message
Post by: knightblade on September 13, 2005, 03:25:22 PM
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
Title: Re: Problems with movie and error message
Post by: Nibbler on September 13, 2005, 04:06:48 PM
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.
Title: Re: Problems with movie and error message
Post by: knightblade on September 13, 2005, 05:26:24 PM
Excellent - thanks so much - that has fixed the problem!!  :)

Thanks everyone for all your help - much appreciated!