coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: John Long on October 25, 2005, 02:16:53 AM

Title: Error Uploading File
Post by: John Long on October 25, 2005, 02:16:53 AM
I get the following error when uploading any kind of file to any album.


The file 'albums/userpics/button1.gif' can't be inserted in the album
File: /home/david/public_html/db_input.php - Line: 392



Here are some notices and info when i enable the debug mode

Notices
/upload.php

    * Notice line 79: Undefined variable: CURRENT_PIC_DATA
    * Notice line 357: Undefined offset: 2
    * Notice line 363: Undefined offset: 3
    * Notice line 363: Undefined offset: 4

/db_input.php
Notice line 281: Undefined index: user1
Notice line 282: Undefined index: user2
Notice line 283: Undefined index: user3
Notice line 284: Undefined index: user4
Notice line 388: Undefined index: width
Notice line 388: Undefined index: height
/include/media.functions.inc.php
Notice line 53: Undefined index: albums/0t
Notice line 53: Undefined index: albums/0t
Notice line 53: Undefined index: albums/0t
Notice line 53: Undefined index: albums/0t



Title: Re: Error Uploading File
Post by: Joachim Müller on October 25, 2005, 02:36:22 AM
1) Disable notices display if they don't mean anything to you, they're meant for developers anyway
2) There's no need to quote your own posting. I removed it.
3) Do as suggested in http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php