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: [PLEASE READ FIRST] A few guidelines about posting  (Read 7013 times)

0 Members and 1 Guest are viewing this topic.

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
[PLEASE READ FIRST] A few guidelines about posting
« on: October 10, 2003, 08:38:12 am »

I appreciate those of you who have gotten better about posting since this forum started, but I thought I would post guidelines about posting for everyone.

Having a problem? First search the FAQ http://coppermine.sourceforge.net/faq.php
The FAQ  answers the most asked questions.

GOT RC3 ?
http://yoursite.com/html/modules.php?name=coppermine&file=help
This help file will help you the most if you are logged in as admin and user

Search the forums -(i can't say this enough) http://forum.coppermine-gallery.net/search.php, try searching in several different ways check "Search for all terms" and then try any (default).  Try inputing your error message i.e. "template error"
Now the old board is also available for search http://coppermine.sourceforge.net/oldboard/search.php

Still can't find the answer, post here. We're happy to help those who have done this first.

If there is another post that has the same problem please post in that topic even if we say it's [fixed] (of course try the fixes presented),there may be something we missed.
If you can't find the same problem elsewhere start a new topic. Title your post carefully, others may have the same problem and this will help with their searches.

Tell us in your first post the address(URL) of your coppermine gallery, sometimes we can't tell what you mean by your post until we see it first. (if it's private say so and i'll request it via PM) if your gallery contains nudity please place a notice everytime you post (some are offended, some would get in trouble at work). if your problem is only visible as a registered user please provide username and password in your post or by PM I don't want to go though registering and waiting get the activation key. If it's something only visible to admin make a user with admin privileges and PM me that too (you can delete the account after we get it fixed).

Regarding your versions- tell us what version of phpnuke(if applicable) and your PHP config (is Safe mode on?). Tell us your browser version(s). It's not likely but maybe the prob only happens with your browser version. Do you have MODS installed? Please tell us to the best of your knowledge which are installed... and/or diagnose your problem by uploading the original file(s).

What configuration options are checked? Change the one that would seem to affest the pproblem area. Trying setting coppermine on debug mode and copy the message from there into your post.

We want to help but if we have to spend all our time asking for this same info over and it becomes not fun :cry:

Sample post:

Subject: Notice: Undefined variable: cat_albums in index.php on line 128
Body: Hi I have cpg1.2.0-nukedev for phpnuke6.5+, I use PHPnuke 6.8/safe_mode is off. PHP version: 4.3.2 mySQL version: 4.0.15-standard
This error occurs whenever I visit the home page.
Code: [Select]
Notice: Undefined variable: cat_albums in /home/user1/public_html/html/modules/coppermine/index.php on line 128
I am using the nuke theme and I also tried default theme and the same error occured. I have not made any modifications to CPG.  My URL is http://mysite.com/

Now back to your regularly scheduled programming :pun:

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
For non english sites
« Reply #1 on: October 14, 2003, 08:34:47 pm »

For non english sites, it will help us to help you, please apply this mod featured at http://nukecops.com/postlite10500-.html

Open your modules/coppermine/include/init.inc.php file
Find
Code: [Select]
// Process language selection if present in URI or in user profile or try
// autodetection if default charset is utf-8
if (isset($HTTP_GET_VARS['lang'])) {
    $USER['lang'] = $HTTP_GET_VARS['lang'];
}

if (isset($USER['lang'])
        && !strstr($USER['lang'], '/')
        && file_exists('modules/coppermine/lang/'.$USER['lang'].'.php')){
        $CONFIG['lang'] = strtr($USER['lang'], '$/\\:*?"\'<>|`', '____________');
} elseif($CONFIG['charset'] == 'utf-8'){
        include('include/select_lang.inc.php');
        if(file_exists('modules/coppermine/lang/'.$USER['lang'].'.php')) $CONFIG['lang'] = $USER['lang'];
} else {
        unset($USER['lang']);
}

if (!file_exists("modules/coppermine/lang/{$CONFIG['lang']}.php")) $CONFIG['lang'] = 'english';
include "modules/coppermine/lang/{$CONFIG['lang']}.php";
and replace with
Code: [Select]
// Process language selection if present in URI or in user profile or try
// autodetection if default charset is utf-8
 global $currentlang, $language;
   if (file_exists("modules/coppermine/lang/$currentlang.php")) {
      $USER['lang'] = $currentlang;
    } else {
      $USER['lang'] = $language;
    }

if (!file_exists("modules/coppermine/lang/{$USER['lang']}.php")) {
  if (!file_exists("modules/coppermine/lang/{$CONFIG['lang']}.php")) {
    $CONFIG['lang'] = 'english';
  }
} else {
    $CONFIG['lang'] = $USER['lang'];
}
include "modules/coppermine/lang/{$CONFIG['lang']}.php";
 

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
Versions and theme selection / Why are my posts ignored?
« Reply #2 on: October 16, 2003, 03:32:44 am »

To help you with your problem with coppermine 1.1d, it is absolutly essential to know what version of nuke your are using and what package of coppermine "For phpnuke 5.x and 6.0" or "For phpnuke 6.5" and what theme(s) your error occurs in. Please check in more than one theme...
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 14 queries.