Unable to Upload Problem Unable to Upload Problem
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Unable to Upload Problem

Started by gkochane, April 11, 2005, 09:52:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gkochane

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

kegobeer

Have you searched the forum for the move_uploaded_file error messages?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots