Fatal Error for download.php Fatal Error for download.php
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Fatal Error for download.php

Started by mariahxxx, March 06, 2007, 07:49:37 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mariahxxx

In my previous version of CPM my webmaster had it setup so that there was a download link below each video. I have read the posts on how to do this but they were for older versions of CPM and the new version doesnt have the same coding as the old one.

Now when the download link is clicked, it says:

Fatal error: Call to undefined function: db_query() in /usr/home/mariahxxx/websites/mariahxxx.net/members/media/download.php on line 28

How can i add a download link to this new version?

i have searched the forum and cannot find anything new to go with this recent version of CPM

Thank you!

Nibbler

Change db_query to cpg_db_query. Please search for your error messages before posting for support.

mariahxxx

that worked! thank you!

now I just gotta find the thread that shows how to make the download link show under every video!

thanks again!

Joachim Müller


mariahxxx

well im trying to get it so you dont have to right click to get it to save. i want it to download and save when clicked like my previous version did. but the coding on displayimage.php is totally different now and the embedded player is no longer there so i cant add the code from my previous version.