Advanced search  


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.

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.


  • 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:

Notice line 24: Undefined variable: CONFIG

Notice line 88: Undefined variable: cpg_show_private_album

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

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 »

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
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:
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.
Pages: [1]   Go Up

Page created in 0.014 seconds with 19 queries.