Upload Page Notices -- Help Upload Page Notices -- Help
 

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]

Main Menu

Upload Page Notices -- Help

Started by legend_neo, January 29, 2005, 03:14:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

legend_neo

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

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

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

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 ... ???

snork13

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

kegobeer

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.
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

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

Thankx 4 replying