Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved] Upload not working, memory exhausted and problems with user gallery  (Read 15441 times)

0 Members and 1 Guest are viewing this topic.

DFF

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 13

Looks like a great and easier way to upload pictures, but there are some problems.

First I can't get it to upload. Debug show
Code: [Select]
18:01:33.988 [DEBUG] --------- Response Headers End ---------
18:01:33.991 [DEBUG] HTTP status: 200 OK
18:01:33.995 [DEBUG] -------- Response Body Start --------
18:01:33.999 [DEBUG] Entering loadJuploadInternalSessionIfConfiguredTo\n
18:01:33.999 [DEBUG] loadJuploadInternalSessionIfConfiguredTo: Before connection\n
18:01:33.999 [DEBUG] loadJuploadInternalSessionIfConfiguredTo: connection result=1\n
18:01:33.999 [DEBUG] loadJuploadInternalSessionIfConfiguredTo: before select from config\n
18:01:33.999 [DEBUG] End of loadJuploadInternalSessionIfConfiguredTo (1)\n
18:01:33.999 [DEBUG] [DEBUG] upload_picture.php: Entering upload_picture.php\n
18:01:33.999 [DEBUG] <br />\n
18:01:33.999 [DEBUG] <b>Fatal error</b>:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 282140 bytes) in <b>---path erased, but correct--- /include/functions.inc.php</b> on line <b>2040</b><br />\n
18:01:34.002 [DEBUG] --------- Response Body End ---------
The same picture can be uploaded with the traditionel upload, so there should be no memory problem??

Second, you cant select a user gallery from the drop-down list, made with "my gallery" the traditional way, it doesn't show in the list.

And a minor thing is that if you use adblock (on firefox) the java is not shown, not your problem but you could mention it in the text.

Coppermine bridged with SMF 1.1.4 (test forum).
« Last Edit: August 02, 2008, 02:49:23 pm by DFF »
Logged

Tjnashster

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #1 on: July 06, 2008, 06:29:08 pm »

OK i could be wrong but here goes.
firstly ad block does not block it on my pc firefox3
Also have you create a user gallery ?
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #2 on: July 06, 2008, 09:29:00 pm »


You ask three questions :

Looks like a great and easier way to upload pictures, but there are some problems.

First I can't get it to upload. Debug show
(cut)
The same picture can be uploaded with the traditionel upload, so there should be no memory problem??

Right, the memory problem occurs once the picture is on your server. If standard upload works Ok, it should not occur. You can :
1) Try to play with the maxNonTransformedPictureSize plugin parameter
2) Send me the picture, and all you configuration parameters (coppermine and plugin) or give me an administrator account.

Second, you cant select a user gallery from the drop-down list, made with "my gallery" the traditional way, it doesn't show in the list.

You mean that, connected to a user, you can't access to the user's gallery ?
  Or the admin  can't access to other's galleries ?

And a minor thing is that if you use adblock (on firefox) the java is not shown, not your problem but you could mention it in the text.

Coppermine bridged with SMF 1.1.4 (test forum).

 It's up to your local configuration. Works ok for me. Are you sure you don't have some other tools that could block Java ?

Etienne
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #3 on: July 07, 2008, 07:12:58 pm »

Ok,

  I noted your admin account. Thanks for that.

It would be easier if you also give me the picture. Or the problem occurs with all pictures ?

Etienne
Logged

DFF

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 13
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #4 on: July 07, 2008, 07:52:13 pm »

Yep, occurs with all pictures that I have tried
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #5 on: July 08, 2008, 07:13:37 pm »

I can access to your site, and repeat the problem.

  You're working in an IFrame, which can (should not) change how it works. I removed the maxChunkSize, for test.

Can you confirm I can change general parameters, quota, or other things ?
  Or install test version of the jupload package ?

Etienne
Logged

DFF

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 13
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #6 on: July 08, 2008, 08:17:55 pm »

Thanks,  You can change anything you like. It's a testforum. I would though like to know what you change so I can do the same on the working forum/gallery, when the problem (hopefully) is solved.
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #7 on: July 22, 2008, 11:27:27 pm »

Hi,

  It seems like uploading big pictures doesn't work.

I tried on your site, and repeated the error (HTTP-500) with the picture given by Plenoptic, in the thread http://forum.coppermine-gallery.net/index.php/topic,53638.0.html.

- I updated to the last JUpload plugin. Same problem.
- I tested the standard upload: doesn't work either.
- I changed the maxWidth/maxHeight of the main Coppermine configuration from 2048 to 1024.

Result:
- JUpload now works.
- Standard upload doesn't work: you'll have to resize pictures, before upload.

Etienne
Logged

DFF

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 13
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #8 on: July 24, 2008, 07:55:56 pm »

Tried it, but dont work :( Upgraded to 3.2.2 and set the max. size to 1024 but jupload still gives the same error  :(
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #9 on: July 24, 2008, 09:34:04 pm »

Tried it, but dont work :( Upgraded to 3.2.2 and set the max. size to 1024 but jupload still gives the same error  :(

Hum,

  I successfully uploaded pictures on your demo site.

  Where did you put 1024: in JUpload or in the main coppermine conf ?

Etienne
Logged

DFF

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 13
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #10 on: July 29, 2008, 06:05:56 pm »

I put 1024 first in main coppermine conf and then in jupload, so now it's both. Still no succes. Can you try to upload a picture, cause I cant see your picture there.
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #11 on: July 30, 2008, 02:26:27 pm »

I put 1024 first in main coppermine conf and then in jupload, so now it's both. Still no succes. Can you try to upload a picture, cause I cant see your picture there.

You don't see my picture on your demo site ?

Etienne
Logged

DFF

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 13
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #12 on: July 30, 2008, 04:53:37 pm »

No, no picture on the site  ??? ??? An empty album that's what I see ???
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #13 on: July 30, 2008, 07:20:13 pm »

Oups, I made a mistake somewhere.

  It seems like I swtiched two names. You're right, I can't upload to your site either.

I must think a little around it


Etienne
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #14 on: August 02, 2008, 02:11:34 pm »

Hi,

  Please try the 3.2.3 release. It should also correct your problem.

I can't update the JUpload plugin on your site, so I can't check that.

Etienne
Logged

DFF

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 13
Re: Upload not working, memory exhausted and problems with user gallery
« Reply #15 on: August 02, 2008, 02:49:01 pm »

YES Thank you very much. It works. :) :)
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.