coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: Party on October 19, 2004, 10:27:00 PM

Title: Undefined offset
Post by: Party on October 19, 2004, 10:27:00 PM
Hello everybody,

I have installed Coppermine
I have set the permission
I have enabled the Debug.modus
I have enabled SILLY_SAFE_MODE

when I click on "Upload File" then I will see the following errors:
Notice: Undefined offset: 2 in /home/httpd/ch.x41.www/htdocs/gcp/upload.php on line 250
Notice: Undefined offset: 3 in /home/httpd/ch.x41.www/htdocs/gcp/upload.php on line 256
Notice: Undefined offset: 4 in /home/httpd/ch.x41.www/htdocs/gcp/upload.php on line 256


Debug Info:
USER:
------------------
Array
(
    [ID] => 2accfb88943b8efe17b78d4e5b6f1e57
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => admin
    [user_password] => ********
    [user_lastvisit] => 2004-10-19 20:36:14
    [user_regdate] => 2004-10-19 18:12:46
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [user_favpics] =>
    [disk_max] => 1024000
    [disk_min] => 1024000
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 1024000
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: Undefined offset
Post by: Joachim Müller on October 20, 2004, 07:31:40 AM
those are notices, not errors. If uploads work for you, ignore them. Disable notices display in coppermine config, or even diable debug mode if you don't experience problems at all. If you have actually troubles uploading, post the error message you get.

Joachim
Title: Re: Undefined offset
Post by: Party on October 26, 2004, 07:52:02 PM
Hi

when i will upload some pics, the information is "0 uploads were successful".

here my debug report:

USER:
------------------
Array
(
   [ID] => 2accfb88943b8efe17b78d4e5b6f1e57
   [am] => 1
)

==========================
USER DATA:
------------------
Array
(
   [user_id] => 1
   [user_group] => 1
   [user_active] => YES
   [user_name] => admin
   [user_password] => ********
   [user_lastvisit] => 2004-10-26 18:39:45
   [user_regdate] => 2004-10-19 18:12:46
   [user_group_list] =>
   [user_email] =>
   [user_website] =>
   [user_location] =>
   [user_interests] =>
   [user_occupation] =>
   [user_actkey] =>
   [user_favpics] =>
   [disk_max] => 1024000
   [disk_min] => 1024000
   [can_rate_pictures] => 1
   [can_send_ecards] => 1
   [ufc_max] => 3
   [ufc_min] => 3
   [custom_user_upload] => 0
   [num_file_upload] => 10
   [num_URI_upload] => 3
   [can_post_comments] => 1
   [can_upload_pictures] => 1
   [can_create_albums] => 1
   [has_admin_access] => 1
   [pub_upl_need_approval] => 0
   [priv_upl_need_approval] => 0
   [group_name] => Administrators
   [upload_form_config] => 3
   [group_quota] => 1024000
   [can_see_all_albums] => 1
   [group_id] => 1
   [groups] => Array
       (
           [1] => 1
       )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: Undefined offset
Post by: Party on October 26, 2004, 08:05:31 PM
if i make a upload with "URI/URL Uploads:" for example http://www.chrottepoesche.ch/GCP94-95.jpg then it will work !!!
Title: Re: Undefined offset
Post by: Party on October 26, 2004, 08:25:33 PM
the problem is soved

I had not sufficient rights to the folder /tmp

now it will work perfect !!!