class cpm not found error class cpm not found error
 

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

class cpm not found error

Started by lostemilie, June 19, 2009, 11:31:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lostemilie

Hi!
I use cpmfetch on some of my Wordpress blogs like for example on http://www.youknowyouloveme.org/
As you can see in the latest entries it works fine but when I click one of the links in the title in the entry like here http://www.youknowyouloveme.org/?p=400 I get an error. How can I change it? I already searched through the forum here and usually it means the path to cpmfetch is wrong but it works on the index page so I am not sure what to do.

Joachim Müller

Quote from: vuud on February 28, 2007, 07:19:12 PM
Tips for asking for help

Here is some advice for posting here.  Note - not a single person here gets paid or compensated in anything but karma for helping.  This is not anyones job and you as the receiver of completely free (and in the case of CPG - very cool) software are owed NOTHING.  Nada. Zilch. Zero.

That being said, lots of people like to help.  In my years as a developer and end-user I have come up with two major rules to getting yourself good free support:


  • Make it as easy as possible for people to help - include all the relevant info you can think of.  If you are not sure if its needed, include it anyway.
  • Prove your research / show your work - List what you have tried, what you have read.  Include the examples of code.  Show that you put in some effort to fix this yourself.

Speaking for myself I will go to great lengths to help someone who is trying.  Some people have no idea, but they try and try.  Other people don't bother, but post a question without trying.  This thread http://forum.coppermine-gallery.net/index.php?topic=35646.0 is a great example of someone who clearly spent time trying to solve a problem.  The thread does not cover the elaborate test pages he forwarded to me to try to solve the problem. 

Steps to a happy online experience

First: Do some research.
Check the readme that came with your version, or look at them online off the cpmfetch.fistfullofcode.com web site.  Then, try a search of the coppermine-gallery.net forums.  For fun, you could also do a google search.

Second: Make sure you have the latest version.
I tend to release versions as often as needed to fix bugs. Yours may have been fixed. Check the online readme file for the most recent changes.  If a new stable version is due out soon, you may be advised to move to a development version.

Third: Add this to the top of your php page (Warning: does not apply to cfimageget.php)
This will force your php installation to generate error messages. Servers suppress errors to different degrees.

<?php error_reporting(E_ALL); ini_set('display_errors',1); ?>

Things to include in a cry for help:

    * The Exact error message.  "I get an error about something..." - Copy and paste
    * What version of coppermine you are using
    * What version of CoppermineFetch you are using
    * A link to your website and gallery
    * A link to an example of the problem (if possible)
    * How computer savvy you are (newbie, intermediate, damn good)
    * What kind of web server you are running on (if known)
    * Include the code you are using.

Include anything that makes your situation unique.  Believe it or not, we do test the software - so when it breaks, sometimes it is because you are doing something we did not forsee (not bad, just not thought of).  These are most important to include:

Examples:

  • Bridiging
  • Different domains, gallery on one, cpmfetch on another
  • Modifications to cpg