coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: legend_neo on January 29, 2005, 03:14:29 PM

Title: Upload Page Notices -- Help
Post by: legend_neo 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

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 ... ???
Title: Re: Upload Page Notices -- Help
Post by: snork13 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
Title: Re: Upload Page Notices -- Help
Post by: kegobeer 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.
Title: Re: Upload Page Notices -- Help
Post by: legend_neo on January 29, 2005, 08:11:57 PM
Ouch ... Didnt Got that idea before ..
Sounds Normal then ..
Problem Solved

Thankx 4 replying