CPM Fetch 2.0.1 Images Not Showing on Wordpress CPM Fetch 2.0.1 Images Not Showing on Wordpress
 

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

CPM Fetch 2.0.1 Images Not Showing on Wordpress

Started by nowordneeded, May 01, 2019, 05:13:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nowordneeded

Hello. I'm using CPG current version 1.6.06 stable on http://lauramennell.org/gallery.

The problem I'm having is that the latest uploaded images are not showing on the main page of my Wordpress CMS. It was until I added two new albums with new photos. I'm using this code to insert the images:

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

I'm running PHP version 7.2.
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

#1
Fix the URL of your CPG in the config.
It should not be http://lauramennell.samskara.org/gallery/

nowordneeded

Ron once again you save my bacon. I have no idea how or why that didn't get changed when I moved the site. It's dumb really on my behalf. I ran the CPMFetch again and all fixed. You guys are so great. Thanks.
Sometimes my musings are too confusing for someone not inside my head.

nowordneeded

So same problem on a different gallery. It was working on this gallery http://tamara-braun.com/gallery using current stable version 1.6.06. The CPMFETCH isn't working here http://tamara-braun.com. I'm using this code:

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


It was there for a long while, but now even the install page doesn't show the images.
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

#4
This time it's an http/https issue. Check your url settings and don't use https unless that is what is needed/intended.

The self-signed SSL certificate is probably not going to fly.

nowordneeded

Quote from: ron4mac on May 07, 2019, 02:14:59 PM
This time it's an http/https issue. Check your url settings and don't use https unless that is what is needed/intended.

The self-signed SSL certificate is probably not going to fly.

Ron, I deleted the Wordpress plugin some time ago. The latest images were displaying not any more than one month ago. I have no idea why that SSL certificate is still showing as valid. Where in my cpanel would I look to see where that is?

Thanks.
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

Look for a section involving SSL.
But it may solve your issue just by changing the URL in your CPG config to NOT be https://xxx

nowordneeded

Ron......you are a godsend. I have looked everything over at least thirty times and never noticed that in the config. I thank you from the bottom of my heart for everything you've done to help me out with all these pesky issues. Truly you are a good soul.
Sometimes my musings are too confusing for someone not inside my head.