Debug mode errors Debug mode errors
 

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

Debug mode errors

Started by SaigonK, June 11, 2004, 08:14:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SaigonK

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?

Casper

#1
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)
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

SaigonK

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.


Joachim Müller

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

SaigonK

They did do it for me, they also changed my setting from 8mb to 20mb, I still cant upload these photos....