Debug mode errors Debug mode errors
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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