Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Error Uploading File  (Read 9840 times)

0 Members and 1 Guest are viewing this topic.

John Long

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Error Uploading File
« 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



Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error Uploading File
« Reply #1 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
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.