coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Athlon(tm) eX on February 29, 2004, 02:25:19 PM

Title: Problem!! Undefined variable: tabs
Post by: Athlon(tm) eX on February 29, 2004, 02:25:19 PM
I just installed Coppermine without any problems and run it ok no problems at all

just when I go to config to set some values I tried to turn on the debug mode...

and then I saw this notice

Notice: Undefined variable: tabs in /home/athlonex/public_html/ruaa/themes/water_drop/theme.php on line 1212

I changed the theme but same same

the debug info's are


USER:
Array
(
    [ID] => 5f7ed6b5a177474e562ebdb82bb9ec46
    [am] => 1
    [liv] => Array
        (
            [0] => 2
            [1] => 3
            [2] => 1
        )

)

 
GET :
Array
(
)

 
POST :
Array
(
)



any comments ??
Title: Problem!! Undefined variable: tabs
Post by: Casper on February 29, 2004, 02:56:10 PM
Just turn debugoff, and only use it if you have an actual problem.
Title: Problem!! Undefined variable: tabs
Post by: Athlon(tm) eX on February 29, 2004, 03:24:03 PM
and u think that undefined variable is not a porblem  :?


so whats up with debug ?
Title: Problem!! Undefined variable: tabs
Post by: Joachim Müller on February 29, 2004, 03:43:03 PM
malicious code can't be inserted by the fact that tabs isn't defined - see http://coppermine.sourceforge.net/demo/docs/index.htm#known_issues , so it actually isn't a problem. There are various other notices when debug mode is on, and they will have to be fixed in future versions.
Debug mode should only be turned on if you actually encounter problems (real problems!), not just for the sake of it.
If you really want to be helpfull instead of just trolling, you could post a quick fix and we'll happily add it to the code base.

GauGau
Title: Problem!! Undefined variable: tabs
Post by: Athlon(tm) eX on March 03, 2004, 02:15:53 PM
Oh I See... sorry for misunderstand

coz I'm new to Coppermine :roll: