[Solved] Upload not working, memory exhausted and problems with user gallery [Solved] Upload not working, memory exhausted and problems with user gallery
 

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

Main Menu

[Solved] Upload not working, memory exhausted and problems with user gallery

Started by DFF, July 06, 2008, 06:14:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DFF

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
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).

Tjnashster

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 ?

etienne_sf


You ask three questions :

Quote from: DFF on July 06, 2008, 06:14:32 PM
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.

Quote from: DFF on July 06, 2008, 06:14:32 PM
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 ?

Quote from: DFF on July 06, 2008, 06:14:32 PM
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

etienne_sf

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

DFF


etienne_sf

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

DFF

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.

etienne_sf

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

DFF

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

etienne_sf

Quote from: DFF 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  :(

Hum,

  I successfully uploaded pictures on your demo site.

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

Etienne

DFF

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.

etienne_sf

Quote from: DFF 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.

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

Etienne

DFF

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

etienne_sf

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

etienne_sf

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

DFF