Fetch displaying broken links of pictures that have been deleted still Fetch displaying broken links of pictures that have been deleted still
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Fetch displaying broken links of pictures that have been deleted still

Started by webhigh, February 26, 2011, 08:07:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

webhigh

Using CMine version 1.4.1.9
Fetch version - 2.0

http://gca-alumni.org/

The database is empty and I only have one image uploaded in the Albums. Coppermine is working fine by itself.

code for fetch on page:

  <?php
  include_once "alumni_photo_gallery/cpmfetch/cpmfetch.php";
  $_SERVER["SCRIPT_FILENAME"] = $_SERVER['PHP_SELF']; 
  $objCpm = new cpm("./alumni_photo_gallery/cpmfetch/cpmfetch_config.php");
  $options = array(
  "subtitle" => "<center>{{aTitle}}</center",
  "linktemplate"=>'http://gca-alumni.org/alumni_photo_gallery/albums/{{pFilepath}}normal_{{pFilename}}" title="{{aTitle}} Album" rel="lightbox[alumni]"');
  $objCpm->cpm_viewRandomMediaFrom("cat=partners:album=tours",2, 6, $options);
  $objCpm->cpm_close();
?>


My question is how do I get rid of the broken link images for files that are deleted.

Is there a cache file that needs to emptied ?

Thanks