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

0 Members and 1 Guest are viewing this topic.

Satyr

  • 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?
Logged
Kein Support über PN. Bitte im Forum posten, dann ist anderen auch geholfen.

http://www.gothicmodels.net/gothicmodels/gallery/

Testuser: Test23 PW: 123456

Nibbler

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
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.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.