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: class cpm not found error  (Read 3642 times)

0 Members and 1 Guest are viewing this topic.

lostemilie

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
class cpm not found error
« on: June 19, 2009, 11:31:11 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: class cpm not found error
« Reply #1 on: June 19, 2009, 11:46:38 am »

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.

Code: [Select]
<?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


Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 19 queries.