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: All of a sudden having problems with .jpg uploads  (Read 8498 times)

0 Members and 1 Guest are viewing this topic.

Daver888

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
All of a sudden having problems with .jpg uploads
« on: December 02, 2010, 01:24:26 pm »

Hi guys, I have a problem that I hope you can help me with. I have been using Coppermine on two sites for years, with thousands of photos, and for the first time I am experiencing a problem on http://nofrigginidea.com/. On both http uploads, and batch uploads the problem persists, but "some" jpegs do load properly via batch, but none via http. All photos are edited the same, via CS3 as I have always done. I am not aware of any changes that would all of a sudden cause a problem. I have set up the site via your documentation, including a "test user account",  and here is an example of what I am seeing:

The file 'albums/userpics/10001/croppedDDD_7457.jpg' can't be inserted in the album

The image you have uploaded is corrupted or can't be handled by the GD library
Code: [Select]
/albums/userpics/codebase.php
逼otice line 3: Undefined variable: REQUEST_URI
逼otice line 3: Undefined index: save
/db_input.php
逼otice line 292: Undefined index: user1
逼otice line 293: Undefined index: user2
逼otice line 294: Undefined index: user3
逼otice line 295: Undefined index: user4
逼otice line 398: Undefined index: width
逼otice line 398: Undefined index: height
/include/functions.inc.php
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
標arning line 2944: cannot yet handle MBCS in html_entity_decode()!
/include/picmgmt.inc.php
標arning line 262: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error:
標arning line 262: imagecreatefromjpeg() [function.imagecreatefromjpeg]: 'albums/userpics/10001/croppedDDD_7457.jpg' is not a valid JPEG file
 
« Last Edit: December 02, 2010, 02:00:58 pm by Joe Carver »
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: All of a sudden having problems with .jpg uploads
« Reply #1 on: December 02, 2010, 02:08:25 pm »

   - Please do not post debug output unless it is requested

   - You are running Coppermine version 1.4.19 which is very much out of date.

   Upgrade to version 1.4.27 or even better to 1.5.10.

Older versions have had security issues that were fixed. There is a chance that you could have been compromised.

See the thread: Yikes, I've been hacked! Now what?

Moving to Uploads

Daver888

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: All of a sudden having problems with .jpg uploads
« Reply #2 on: December 02, 2010, 04:32:45 pm »

Hi, and thanks for the reply, and sorry for posting the debug output. I have now upgraded, and I have the identical problem as before? I have always been able to sort through any problems I have encountered with Coppermine until this, hence my lack of posts, but this one has befuddled me :'(
Logged

Daver888

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: All of a sudden having problems with .jpg uploads
« Reply #3 on: December 02, 2010, 08:51:37 pm »

Okay, I obviously have some corrupted data. I made a new directory, created a new db, and installed the latest version of Coppermine. Everything works fine on that install.
Logged

Daver888

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: All of a sudden having problems with .jpg uploads
« Reply #4 on: December 03, 2010, 01:53:03 pm »

Update: Okay, I have figured the upload problem out. Within my batch, I had a corrupted .jpg file. I have yet to figure out what the problem is with the file. It was part of a large batch of files that I uploaded via FTP. When trying to process the batch, when Coppermine hit the bad .jpg it died, and would not process any of the files I was trying to batch, sort of like tossing out the baby with the bathwater. Until you identify the corrupted file, and remove it, you can't process the batch. It should be noted that this also occurs with the latest version of Coppermine, but if you upload via Flash, it will still load all the other files, and identify the bad .jpg or .jpgs for you.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: All of a sudden having problems with .jpg uploads
« Reply #5 on: December 03, 2010, 03:26:08 pm »

.......when Coppermine hit the bad .jpg it died.....

Was there any error message?

Daver888

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: All of a sudden having problems with .jpg uploads
« Reply #6 on: December 03, 2010, 04:28:52 pm »

The only message was "error on page" in the bottom left hand corner, other than that, nothing happened, there was no response. Another interesting thing that I just discovered is that while the files were supposedly corrupt, when I changed from GD2 to Imageshack, the files uploaded with no problem?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: All of a sudden having problems with .jpg uploads
« Reply #7 on: December 03, 2010, 05:53:50 pm »

If it works with Imagemagik and not GD2 then in all likelyhood you will need to have a word with your host. It may be that an upgrade on their server has caused GD problems.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Daver888

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: All of a sudden having problems with .jpg uploads
« Reply #8 on: December 04, 2010, 12:14:50 pm »

Thanks Phil, I will give them a call. For sure, nothing has changed on my end, so that leaves the server side.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.