coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: lhffan on June 14, 2005, 06:56:17 PM

Title: Undefined variable errors
Post by: lhffan on June 14, 2005, 06:56:17 PM
In user mode it seems to work fine. I can upload pics. But i have some problems in admin mode. When i change from user mode to admin moce and clicks on the pic i have uploaded in usermode i get a error:

Notice: Undefined variable: meta_keywords in /home/luleafan/public_html/coppermine/displayimage.php on line 632

I also get an error if i as admin tryes to edit the pic

Notice: Undefined variable: img_dir in /home/luleafan/public_html/coppermine/picEditor.php on line 119
Notice: Undefined index: quality in /home/luleafan/public_html/coppermine/picEditor.php on line 132

I have tryed different templates, still the error. Any other suggestions?









My debug info:

USER:
------------------
Array
(
    [ID] => bddf218f09cc1a82d104e543559690a0
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Undefined variable errors
Post by: kegobeer on June 14, 2005, 07:01:47 PM
Please read the documentation.

Disable debug notices and debug mode for all users.
Title: Re: Undefined variable errors
Post by: lhffan on June 14, 2005, 07:14:29 PM
Quote from: kegobeer on June 14, 2005, 07:01:47 PM
Please read the documentation.

Disable debug notices and debug mode for all users.

Im reading the doc

But was thinking it would be nice to get rid ot the errors. Now i have disabled it and it seems to work fine
Title: Re: Undefined variable errors
Post by: Joachim Müller on June 15, 2005, 09:21:33 AM
Those are not error messages, but notices meant for developers. If you don't understand a feature, then don't leave it turned on. If your uploads work, then why bother and switch something on that doesn't help you? My car has got doors and I can open them whenever I want, yes I won't while I'm driving it at 80 mph - I don't use certain features if I don't need them.