coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: gkochane on April 11, 2005, 09:52:52 PM

Title: Unable to Upload Problem
Post by: gkochane on April 11, 2005, 09:52:52 PM
I have tried to upload pictures to no avail.

I have debug mode on and when I click on upload it displays

Notice: Undefined offset: 2 in /home/gkochane/public_html/coppermine/upload.php on line 250

Notice: Undefined offset: 3 in /home/gkochane/public_html/coppermine/upload.php on line 256

Notice: Undefined offset: 4 in /home/gkochane/public_html/coppermine/upload.php on line 256

which the code for these lines are respectively

            switch ($element[2]) {

                // If the type is a text box input
                case 0 :

                    //Call the form input function.
                    text_box_input($element[0], $element[1], $element[3], $element[4]);

If I choose a picture anyway and try and upload I get this

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_a6e8c3b0.JPG): failed to open stream: Permission denied in /home/gkochane/public_html/coppermine/upload.php on line 1197

Warning: move_uploaded_file(): Unable to move '/tmp/phpcPW9rE' to './albums/edit/mHTTP_temp_a6e8c3b0.JPG' in /home/gkochane/public_html/coppermine/upload.php on line 1197

Notice: Undefined variable: escrow_array in /home/gkochane/public_html/coppermine/upload.php on line 1939

Notice: Undefined variable: URI_failure_array in /home/gkochane/public_html/coppermine/upload.php on line 1941

Notice: Undefined variable: zip_failure_array in /home/gkochane/public_html/coppermine/upload.php on line 1942

I have no idea what any of this means??
Please can someone help
Title: Re: Unable to Upload Problem
Post by: kegobeer on April 12, 2005, 12:31:24 AM
Have you searched the forum for the move_uploaded_file error messages?