coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: SaigonK on June 11, 2004, 08:14:46 PM

Title: Debug mode errors
Post by: SaigonK on June 11, 2004, 08:14:46 PM
ok i upodated to 1.30 stable version and i turned on debug after i was having issues uploading files.

I am seeing a few errors in debug mode:

Notice: Undefined offset: 2 in /home/is12net/public_html/gallery/index.php on line 708


also, when i try to upload a picture:

Notice: Undefined offset: 2 in /home/is12net/public_html/gallery/upload.php on line 250

Notice: Undefined offset: 3 in /home/is12net/public_html/gallery/upload.php on line 256

Notice: Undefined offset: 4 in /home/is12net/public_html/gallery/upload.php on line 256


Also, if i try to upload a very large file it wont take.
I have changed my file size limits to ensure that there is enough room (a 3.1mb file) and it just fails with no error at all.
If i edit the file and cut it down in resolution and file size, they upload just fine.  Any ideas?
Title: Re: Debug mode errors
Post by: Casper on June 11, 2004, 08:28:52 PM
The large file failures are due to server problems, usually exceding the memory allowed or a timeout.  The pixel size is more critical to this than the file size. 
The notices are nothing to worry about. (in this case)
Title: Re: Debug mode errors
Post by: SaigonK on June 11, 2004, 09:10:52 PM
Thanks for the heads up, I sent a request to my host to make the timeout longer than the default 60 seconds.
Hopefully this fixes the problem.

Title: Re: Debug mode errors
Post by: Joachim Müller on June 13, 2004, 08:55:11 PM
I guess they won't do that - 60 seconds should be enough for any resonable script; you mustn't upload larger files at all imo.

GauGau
Title: Re: Debug mode errors
Post by: SaigonK on June 13, 2004, 11:49:49 PM
They did do it for me, they also changed my setting from 8mb to 20mb, I still cant upload these photos....