Advanced search  

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

Pages: [1]   Go Down

Author Topic: Debug mode errors  (Read 5817 times)

0 Members and 1 Guest are viewing this topic.

SaigonK

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
Debug mode errors
« 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?

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Debug mode errors
« Reply #1 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)
« Last Edit: June 12, 2004, 04:46:14 am by Tarique Sani »
Logged
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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
Re: Debug mode errors
« Reply #2 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.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Debug mode errors
« Reply #3 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
Logged

SaigonK

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
Re: Debug mode errors
« Reply #4 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....
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.