Advanced search  

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

Pages: [1]   Go Down

Author Topic: Fetch displaying broken links of pictures that have been deleted still  (Read 4865 times)

0 Members and 1 Guest are viewing this topic.

webhigh

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20

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
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.