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: Php-Notice in index.  (Read 2517 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 139
    • Gothic Model Gallery - Dark Photo Art
Php-Notice in index.
« on: October 11, 2004, 11:42:06 am »

I have the following message in the gallery index if debug-mode is enabled:

Notice: Undefined index: cat_thumb in /www/htdocs/gothic/gothicmodels/gallery/themes/gothicmodels/theme.php on line 1046

I have this code there:
                '{CAT_THUMB}' => $category['cat_thumb'],

What can i do?
Kein Support über PN. Bitte im Forum posten, dann ist anderen auch geholfen.

Testuser: Test23 PW: 123456


  • Guest
Re: Php-Notice in index.
« Reply #1 on: October 11, 2004, 05:39:16 pm »

Turn off display of notices in debug mode, it is not a significant error.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
Re: Php-Notice in index.
« Reply #2 on: October 11, 2004, 10:02:35 pm »

in fact you should only enable debug mode if you actually experience any issues and you know what the error messages actually mean. PHP has three error levels: errors, warnings and notices. Notices usually are only meant for coders to trouble-shoot. You should always leave them off, as the notices probably don't mean anything to you anyway.

Pages: [1]   Go Up

Page created in 0.017 seconds with 20 queries.