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: include/iptc.inc.php on line 21  (Read 4888 times)

0 Members and 1 Guest are viewing this topic.

MauMau

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
include/iptc.inc.php on line 21
« on: December 08, 2005, 01:50:09 am »

I get this error

Warning: getimagesize(albums/batchuploaddir/IMG_7420.JPG) [function.getimagesize]: failed to open stream: No such file or directory in /var/www/vhost/site/cpg142/include/iptc.inc.php on line 21

Is this happening to other Coppermine users?

Google lists 55.000 pages at the moment http://www.google.com/search?q=include%2Fiptc.inc.php+on+line+21

Luckily I found out how to fix it.

I uploaded the pics via ftp to gallery.mysite.com/albums/holiday2005
Coppermine added the pictures and made thumbnails and normals.
But the pics were not available from mysite.com/gallery/albums/holiday2005

Solution:

I moved the pictures from
gallery.mysite.com/albums/holiday2005
to
mysite.com/gallery/albums/holiday2005

I suppose Coppermine is blameless, but I wonder if there is a way to easily prevent people from making stuff that leads to this mistake: http://www.google.com/search?q=include%2Fiptc.inc.php+on+line+21

Logged

Fallonized

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: include/iptc.inc.php on line 21
« Reply #1 on: December 09, 2005, 08:26:01 am »

I'm having this exact same problem except I have no idea how to fix it the way you said.

Warning: getimagesize(albums/Events/Syriana/thumb_Syriana1.jpg): failed to open stream: No such file or directory in /home/falloni/public_html/Castle/include/picmgmt.inc.php on line 226
Unable to create thumbnail or reduced size image.

It also says that the file is unwritable next to the file I had just uploaded to my FTP.

I have no idea what this means. I changed the 777 thing so I know that can't be it. What the hell do I do?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: include/iptc.inc.php on line 21
« Reply #2 on: December 09, 2005, 12:55:07 pm »

@Fallon:  Perhaps searching the boards would be a good start.

http://forum.coppermine-gallery.net/index.php?topic=23342.0
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 16 queries.