Advanced search  

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

Pages: [1]   Go Down

Author Topic: Debug mode shows many notices  (Read 3011 times)

0 Members and 1 Guest are viewing this topic.

artlab

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Debug mode shows many notices
« on: June 11, 2007, 04:12:32 pm »

My gallery seems to be working fine except for an occasional thumb left blank. Upon running the debug mode, I find that there are many "notices" showing, the number depending on what page I'm in.  Here's an example:

plugins/captcha/include/init.inc.php
Notice line 24: Undefined variable: CONFIG

/include/functions.inc.php
Notice line 88: Undefined variable: cpg_show_private_album

/include/themes.inc.php
Notice line 1749: Undefined index: uid
Notice line 1756: Undefined index: inactive_next_tab
Notice line 1757: Undefined index: inactive_prev_tab



My URL is http://puertopadre.com/ppalbums/

Can someone help me find out what might be wrong?   

Thanks and best regards.
« Last Edit: June 11, 2007, 05:08:36 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Debug mode shows many notices
« Reply #1 on: June 11, 2007, 05:07:54 pm »

Don't enable debug_mode if you have no idea what it does. Don't enable notices_display if you have no idea what they mean. Notices are nothing to be worried about - after all they're not error messages, but notices. They exist for the benefit of developers who understand what they can be used for. If they bother you, turn notices_display off.

From the documentation:
Quote
Enable debug mode
CPG will show error messages which are normally suppressed. This is helpful in troubleshooting problems with your gallery or when asking for help on the CPG Support Forums. Turn this feature off if you don't experience problems.
Turn it on (option "Everyone") if you are requesting help on the coppermine support board, so the supporters can have a look at the debug output as well. Choose the option "Admin only" when troubleshooting on your own - debug output will be only visible when you're logged in as admin, regular users or guests won't see the debug output.

Display notices in debug mode
May be helpful to troubleshoot problems with your coppermine install - only recommended if you know a little PHP and you can understand the additional error messages this option shows. This option only applies if debug mode is enabled.

In the future, read the documentation before posting questions. Don't enable options if you have no idea what they do. At least if something unexpected happens, you could at least have looked up what the option you enabled is meant to be used for.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.