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

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

Fatal Error for download.php

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

Previous topic - Next topic

0 Members and 1 Guest 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.