coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: Alex-A on December 26, 2004, 11:06:08 AM

Title: undefined variable errors on fresh install and Image Magik
Post by: Alex-A on December 26, 2004, 11:06:08 AM
   I have either one or two problems with a fresh CPM 1.3.2 install. They all have to do with upload. First of all, I can upload with GD2, but not IM. However, even when I sucessfully upload with GD2, I still see error messages. Here is a set of error messages just after a one file upload with Image Magic:

My gallery is at www.amdowa.com/moonleaf

Notice: Undefined variable: file_failure_array in /home/amdowac/public_html/moonleaf/upload.php on line 1940

Notice: Undefined variable: URI_failure_array in /home/amdowac/public_html/moonleaf/upload.php on line 1941

Notice: Undefined variable: zip_failure_array in /home/amdowac/public_html/moonleaf/upload.php on line 1942


And the debug info:

USER:
------------------
Array
(
    [ID] => 7f39b6bb13d57e4db6a1be88ee033f16
    [am] => 1
    [liv] => Array
        (
           
Title: Re: undefined variable errors on fresh install and Image Magik
Post by: Joachim Müller on December 26, 2004, 11:50:36 AM
Quote from: Alex-A on December 26, 2004, 11:06:08 AM
Notice: Undefined variable: file_failure_array in /home/amdowac/public_html/moonleaf/upload.php on line 1940
Notice: Undefined variable: URI_failure_array in /home/amdowac/public_html/moonleaf/upload.php on line 1941
Notice: Undefined variable: zip_failure_array in /home/amdowac/public_html/moonleaf/upload.php on line 1942
Those are no error messages, just notices that can be safely ignored if they mean nothing to you. Disable notices in coppermine's config if they bother you. The other stuff you posted are no error messages either, but debug_output.

Post an actual error message, or rather use GD if it works for you and just forget about ImageMagick. You won't need both.

Joachim