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: Upload Page Notices -- Help  (Read 2486 times)

0 Members and 1 Guest are viewing this topic.

legend_neo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 54
Upload Page Notices -- Help
« on: January 29, 2005, 03:14:29 pm »

I am getting these " Notice Messages "  when trying to Upload files. Its after i have enabled Debug Mode. Altough files r getting upload and no error occoured but i thought its better to solve this issue.
Ok here is the detailed discription

When i open Upload page at first i got this Notice
Code: [Select]
Notice: Undefined offset: 2 in /home/admin/public_html/upload.php on line 250
Notice: Undefined offset: 3 in /home/admin/public_html/upload.php on line 256
Notice: Undefined offset: 4 in /home/admin/public_html/upload.php on line 256

After the file get upload i got This Message
Code: [Select]
Notice: Undefined variable: file_failure_array in /home/admin/public_html/upload.php on line 1940
Notice: Undefined variable: URI_failure_array in /home/admin/public_html/upload.php on line 1941
Notice: Undefined variable: zip_failure_array in /home/admin/public_html/upload.php on line 1942

And while Putting files in albums i got this Notice
Code: [Select]
Notice: Undefined index: user1 in /home/admin/public_html/upload.php on line 2146
Notice: Undefined index: user2 in /home/admin/public_html/upload.php on line 2147
Notice: Undefined index: user3 in /home/admin/public_html/upload.php on line 2148
Notice: Undefined index: user4 in /home/admin/public_html/upload.php on line 2149

Although to turn off debug mode will be another opition but i tjought getting help will not be a bad idea.
In both cases i m able to upload files.

Any Idea ... ???
« Last Edit: January 29, 2005, 09:37:39 pm by kegobeer »
Logged

snork13

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 260
  • Internet! Is that thing still around?
    • Gallery
Re: Upload Page Notices -- Help
« Reply #1 on: January 29, 2005, 03:29:07 pm »

I think you get the errors because you have not entered all the info about the photo, such as description, etc. I may be wrong, but thought I have seen the errors due to this. SOme info may not be provided and errors may be normal


snork
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Upload Page Notices -- Help
« Reply #2 on: January 29, 2005, 05:01:48 pm »

No problems with those notices.  It's like snork13 said - you didn't supply those variables with data and PHP just lets you know via a notice.  You can disable debug notices.
Logged
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

legend_neo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 54
Re: Upload Page Notices -- Help
« Reply #3 on: January 29, 2005, 08:11:57 pm »

Ouch ... Didnt Got that idea before ..
Sounds Normal then ..
Problem Solved

Thankx 4 replying
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.