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:
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
<?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! (:
You must install this plugin in WordPress : ExecPHP (http://bluesome.net/post/2005/08/18/50/?lang_pref=en)
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
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 (http://blog-photos.cabiddu.net/) CPMFETCH