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: Can't upload anymore, just like that???  (Read 6306 times)

0 Members and 1 Guest are viewing this topic.

SAV

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Can't upload anymore, just like that???
« on: February 09, 2004, 06:47:18 pm »

Hi i work at a school and the website is part of my job
Now i found this pic album wich is very very great!!!
I spend all day transfering the pictures from the old site into the albums
Sorting them on year and events adding comments and stuff

Now after a few 168 pictures i get this error when i upload:
Warning: getimagesize: Read error! coming from the file db_input.php from line 263


i didn't quit or anything between the last succesfull upload and the first error
As i never used php before i have no idea what to look for on that line and what it all means
I'm not (very)stupid i thought well these are newer pics as i'm almost on the current year, But when  i try to upload a picture wich worked 5 minutes back i get the same error

Something changed while i was working on it
I did not do any script changing i just spend all day uploading and adding comments and stuff
I even uploaded the db_input file just to be sure

I searched this forum and it doesn't look like anyone has this problem?
Does anyone know how to fix this as i would like to get this up and running for the kids a.s.a.p.

Thanx in advance


<<< oh and for extra info, i'm have the admin acount for the albums so no limits or anything like that >>>
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Can't upload anymore, just like that???
« Reply #1 on: February 09, 2004, 07:07:02 pm »

Hi,

Go into config, and turn on debug mode (near the bottom).

Report here the results.  Also, if your site is online, can we have a link and test account, with upload rights.
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

SAV

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Can't upload anymore, just like that???
« Reply #2 on: February 09, 2004, 07:18:32 pm »

this is what i get with that debug option on:

The file you have uploaded is not a valid image !

File: /***/db_input.php - Line: 275

Warning: getimagesize: Read error! in /***/db_input.php on line 263


oh and this is an image that is already up i only renamed it, so it worked earlier today!!!

i made an acount: test (pass = test)
album link: http://www.citycollege.nl/citycollege/albums/index.php

could you please upload in one of the still empty albums like Klasse Foto's
that way i can clean up easy after you

before i go to sleep i will remove the acount (about 4 hours from now)
i cant have any illegal pictures on our schoolsite as you can understand



i also turned on the english part wich is probably easier for you being non dutch  :lol:

thanx for the very quick reply!
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Can't upload anymore, just like that???
« Reply #3 on: February 09, 2004, 07:25:30 pm »

Ok, I will go and look now.

I would never upload an illegal pic anywhere, but understand your concern.

You can turn it back to Nederlands if you wish, I can turn it to English just for me on my browser  :wink:
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

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Can't upload anymore, just like that???
« Reply #4 on: February 09, 2004, 07:31:45 pm »

Hi again,

I could not upload to the album you said, as it is restricted, so I created an album in the user galleries 'test album'.  (when you delete the user 'test', this album will also be deleted.

I tried to upload a known good, small pic, but received the same error as you.

Try again, and scroll down to the bottom of the debug info, and click on 'Advanced debug'.
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

SAV

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Can't upload anymore, just like that???
« Reply #5 on: February 09, 2004, 07:35:53 pm »

oh didn't know about the language part being user specific
i found it this morning and was working on it this afternoon
didn't check out all the features yet

and i didn't mean you or anyone specific with the pic upload
but everyone can read the posts and use the acount now, that how i meant it

thanx again for checking it out this so quickly, what a service!
Logged

SAV

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Can't upload anymore, just like that???
« Reply #6 on: February 09, 2004, 07:37:59 pm »

still same problem  :(
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Can't upload anymore, just like that???
« Reply #7 on: February 09, 2004, 07:54:01 pm »

Hi,

normally the language is not user specific, although there is a mod available to let users choose language and theme.  Any user can force the language by changing 'index.php' to 'index.php?lang=english(or french etc)'.

I assume you are using batch add.  If this is so, then it is not a problem with db_input.php, but possibly a database problem.
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

SAV

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Can't upload anymore, just like that???
« Reply #8 on: February 09, 2004, 08:00:51 pm »

no single pic upload
i want them to be up there time specific as school events where posted on our old site that way (set date sort under options)

with this album i can now post our future pics under event names
so single upload not batch yet
Logged

SAV

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Can't upload anymore, just like that???
« Reply #9 on: February 09, 2004, 08:15:23 pm »

Database looks ok?

 Tabel   Records Type Grootte
 cpg11d_albums    9   MyISAM    3,3 KB  
 cpg11d_banned    0   MyISAM    1,0 KB  
 cpg11d_categories    4   MyISAM    5,6 KB  
 cpg11d_comments    0   MyISAM    3,1 KB  
 cpg11d_config    68   MyISAM    6,1 KB  
 cpg11d_pictures    168   MyISAM    54,4 KB  
 cpg11d_usergroups    4   MyISAM    2,1 KB  
 cpg11d_users    2   MyISAM    3,1 KB  
 cpg11d_votes    1   MyISAM    2,0 KB  
 9 tabel(len)   256  --  80,7 KB  

don't think that's the problem
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Can't upload anymore, just like that???
« Reply #10 on: February 09, 2004, 08:29:20 pm »

Ok,

that's a very slow way of doing it.

Try ftping and batch uploading a couple of pics.  If this works, then it may be your upload.php is corrupt.
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

SAV

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Can't upload anymore, just like that???
« Reply #11 on: February 09, 2004, 09:10:39 pm »

i get this when i do that:

Warning: getimagesize: Read error! in /***/picmgmt.inc.php on line 193
Unable to create thumbnail or reduced size image.


still a read error only now he also reports something about the resize
look i don't want you to waste any time and of course i like some time off myself, tomorrow another day working

It could be the schools provider who runs our sql, php and webspace
Wether it works tomorrow or not i'll post because i know how important bug reporting is

Thanx anyway for your time you'll see me post tomorrow!
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Can't upload anymore, just like that???
« Reply #12 on: February 09, 2004, 09:25:03 pm »

Both these errors are about the 'getimagesize', so now I'm thinking this may also be due to the image lib software (GD or imagemagick).
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

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Can't upload anymore, just like that???
« Reply #13 on: February 10, 2004, 02:16:01 am »

getimagesize is a PHP default function, which is independent of GD or IM.  It determines the image size and MIME type. Usually this error occurs in older versions of PHP where this function is buggy with certain picture types.

Alternatively, the fact that you were able to upload for a short time before losing that ability would suggest the php files responsible for this function could have been corrupted.
Logged
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

SAV

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Can't upload anymore, just like that???
« Reply #14 on: February 13, 2004, 03:07:40 pm »

Hi a bit late but as promised still a reply!

I contacted the schools provider
They said nothing was wrong but after checking it anyway for me
It came up as a problem with the connection to the site between their servers and ours
It took them untill today to fix it so it was a nasty bug

So this was a one off error and your album is not the problem! (of course i hear you say hehehe)
Thanx anyway for the quick support and thanx for this album
A school needs to watch it's budget and this is perfect!
Keep the freeware going

Greetz SAV
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Can't upload anymore, just like that???
« Reply #15 on: February 13, 2004, 03:52:55 pm »

Glad to hear you got it sorted.  :wink:
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
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 14 queries.