Problems with movie and error message Problems with movie and error message
 

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

Problems with movie and error message

Started by knightblade, September 06, 2005, 03:22:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

knightblade

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

Joachim Müller

Post a deep link to the quicktime movie, it may be corrupted.

knightblade

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.


Joachim Müller


knightblade


knightblade

I understand that you are all very busy but does anyone have any ideas about this issue?

Thanks

Paul

Azrayen

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 )

Azy

knightblade

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



Joachim Müller

disable notices display in your config - it's only meant for devs anyway.

knightblade

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?


Joachim Müller

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

knightblade

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

Nibbler

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.

knightblade

Excellent - thanks so much - that has fixed the problem!!  :)

Thanks everyone for all your help - much appreciated!