Php-Notice in index. Php-Notice in index.
 

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]

Main Menu

Php-Notice in index.

Started by Satyr, October 11, 2004, 11:42:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Satyr

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.

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

Testuser: Test23 PW: 123456

Nibbler

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

Joachim Müller

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