CpmFetch Installer for release 2.0.1


Notice: Undefined variable: ERRMSG in /home/lovely/public_html/galerie/cpmfetch/screen.php on line 56

Test images - found a total of 104948 images:
If all went well, you will see some random images from your gallery displayed here. If not, you may in fact have a problem and will need to seek help by clicking here.

todsveniced000.jpeg

1 views
todsveniceb004.jpeg

1 views
todsvenicec009.jpeg

1 views
todsvenicef001.jpeg

2 views

These images were found and displayed by using the following PHP code:

<?php
  include "./cpmfetch.php";
  $objCpm = new cpm("./cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMedia(1,4);
  $objCpm->cpm_close();
?>

Please note: Unless you are running this code from the same directory as the cpmfetch_config.php file, you need to alter that path so it can be found. The same goes for the include statement.

For example, if you want to add these images into your home page and your cpmfetch directory is inside your gallery directory (which is named gallery) it would look more like this:

<?php
  include "./gallery/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMedia(1,4);
  $objCpm->cpm_close();
?>

Please see the web site or the included documentation for more information.

Warnings:
CpmFetch draws configuration information from your CPG database when this installer is run. If you make any significant changes to the CPG configuration, you will need to re-run this installer. Most changes to the CPG config will not require this to be done. Some times that you may want to include:

  • You've made changes to the Coppermine Photo Gallery configuration
  • You've messed up the cpmfetch_config.php file beyond repair
  • Bridged CPG with a forum of some sort

Debug Information:
If you have problems with this installation, you may be asked to provide all or some of the following information. Support for CpmFetch is handled on the Coppermine Photo Gallery forums in this particular board.



Fatal error: Uncaught Error: Call to undefined function printArray() in /home/lovely/public_html/galerie/cpmfetch/screen.php:313 Stack trace: #0 {main} thrown in /home/lovely/public_html/galerie/cpmfetch/screen.php on line 313