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: CPMfetch problem  (Read 6568 times)

0 Members and 1 Guest are viewing this topic.

greta

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
CPMfetch problem
« on: August 24, 2011, 05:45:42 pm »

hi everyone!
I've just started a new fansite on wordpress and I'm trying to install cpmfetch (for the latest images) but when I put the code in the sidebar it give me this:

Code: [Select]
Warning: include(./gallery/cpmfetch/cpmfetch.php) [function.include]: failed to open stream: No such file or directory in /home/kellyrow/public_html/wp/wp-content/themes/tema 2/wp6/sidebar.php on line 15

Warning: include() [function.include]: Failed opening './gallery/cpmfetch/cpmfetch.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kellyrow/public_html/wp/wp-content/themes/tema 2/wp6/sidebar.php on line 15

Fatal error: Class 'cpm' not found in /home/kellyrow/public_html/wp/wp-content/themes/tema 2/wp6/sidebar.php on line 16


my cpmfetch code
Code: [Select]
<?php
  
include "./gallery/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(1,4);
  
$objCpm->cpm_close();
?>

home directory:
http://www.kelly-rowan.org/wp/

gallery:
http://www.kelly-rowan.org/dir/

cpmfetch directory
http://kelly-rowan.org/dir/cpmfetch/install.php?do=install&force=true

I'm still new about all this stuff,and I was wondering if someone could possibly install it for me...
thank'you in advance! (:
Logged

poubao

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: la
  • Offline Offline
  • Gender: Male
  • Posts: 277
    • Collections du Laos
Re: CPMfetch problem
« Reply #1 on: August 24, 2011, 07:45:50 pm »

You must install this plugin in WordPress : ExecPHP
Read all the FAQ and be carefully with this plugin
Before using this plugin, turn off the WYSIWYG editor in WP if you use it
Logged
L'incohérence de ceux qui nous dirigent, l'incompétence de ceux qui nous commandent,sont un vibrant hommage pour ceux qui exécutent.
                                          **Général Patton**

poubao

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: la
  • Offline Offline
  • Gender: Male
  • Posts: 277
    • Collections du Laos
Re: CPMfetch problem
« Reply #2 on: August 24, 2011, 07:57:41 pm »

Your CPMFETCH install is OK, rename or delete your install.php file in your CPMFETCH directory for security reasons.
a link to my WP test blog using CPMFETCH
Logged
L'incohérence de ceux qui nous dirigent, l'incompétence de ceux qui nous commandent,sont un vibrant hommage pour ceux qui exécutent.
                                          **Général Patton**
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 21 queries.