Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: CPM Fetch 2.0.1 Images Not Showing on Wordpress  (Read 578 times)

0 Members and 1 Guest are viewing this topic.

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 157
CPM Fetch 2.0.1 Images Not Showing on Wordpress
« on: May 01, 2019, 05:13:53 am »

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.
Logged
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1204
Re: CPM Fetch 2.0.1 Images Not Showing on Wordpress
« Reply #1 on: May 01, 2019, 05:37:30 am »

Fix the URL of your CPG in the config.
It should not be http://lauramennell.samskara.org/gallery/
« Last Edit: May 01, 2019, 05:43:36 am by ron4mac »
Logged

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 157
Re: CPM Fetch 2.0.1 Images Not Showing on Wordpress
« Reply #2 on: May 01, 2019, 07:32:09 am »

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.
Logged
Sometimes my musings are too confusing for someone not inside my head.

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 157
Re: CPM Fetch 2.0.1 Images Not Showing on Wordpress
« Reply #3 on: May 07, 2019, 08:02:05 am »

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:

Code: [Select]
<?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.
Logged
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1204
Re: CPM Fetch 2.0.1 Images Not Showing on Wordpress
« Reply #4 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.
« Last Edit: May 07, 2019, 02:23:49 pm by ron4mac »
Logged

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 157
Re: CPM Fetch 2.0.1 Images Not Showing on Wordpress
« Reply #5 on: May 08, 2019, 04:48:59 am »

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.
Logged
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1204
Re: CPM Fetch 2.0.1 Images Not Showing on Wordpress
« Reply #6 on: May 08, 2019, 05:10:18 am »

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
Logged

nowordneeded

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 157
Re: CPM Fetch 2.0.1 Images Not Showing on Wordpress
« Reply #7 on: May 08, 2019, 08:08:33 am »

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.
Logged
Sometimes my musings are too confusing for someone not inside my head.
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 22 queries.