Welcome, Guest. Please login or register.
Did you miss your activation email?

 
Advanced search

18651 Posts in 5529 Topics- by 9332 Members - Latest Member: iyiadam

May 22, 2013, 07:27:10 PM
JOOM::GALLERY::FORUMJoomGallery 2.x ACLUploadsBuggy upload methods
Pages: [1]
Print
Author Topic: Buggy upload methods  (Read 1616 times)
0 Members and 1 Guest are viewing this topic.
awowy
Newbie
*
Offline Offline

Posts: 6


View Profile
« on: June 29, 2012, 09:02:11 AM »

Hi

Thanks for this extention but unfortunatelly Users can´t upload from Frontend, not even as Admin,and Backend upload is extremelly buggy... the only upload method that is working is first uplading through FTP and then adding those images which is the worst method possible when the main uploaders are going to be regular users with basic computer knowledge.

Backend Upload:
  • Java upload gives nothing but errors. Even with small images. after asking for severla permission.
  • With Regular upload (one file at a time) if more than 5 images are selected it runs out of memory.
  • Zip upload does not work. Even if the zip file has just one image.

Frontend Upload:
  • The only method that works on Frontend is FTP.

I havent got any upload problems with other image galleries (so I know is not my server), I was really hoping that Joomgallery would fit my site better but the most important Feature is basically useless =(

So is this common problem? What can I do?  Cry
Logged
Chraneco
Developer-Team
Hero Member
*****
Offline Offline

Posts: 3137


View Profile
« Reply #1 on: June 29, 2012, 04:56:30 PM »

Hi,

this article should be able to help you.

Regards
Chraneco
Logged
awowy
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #2 on: June 29, 2012, 08:16:04 PM »

Hi

yes I have already read that prior posting this topic  Sad

The reason I am here is because other Image galleries are able to work correctly and upload many files at the same time inspite of Server PHP Settings which are actually very good in my case. It is just with Joomgallery that I have trouble uploading.

This issues happend even with super light images, it runs out of memory... but WHY does Joomgallery needs that much memory to process little images when other galleries never even display errors with multiple uplaod of bigger images ?!  Shocked
Logged
Chraneco
Developer-Team
Hero Member
*****
Offline Offline

Posts: 3137


View Profile
« Reply #3 on: June 29, 2012, 08:20:37 PM »

Hi,

sorry, I can't reproduce this problem.

Could you please post the exact error messages for each of the upload methods?

Which image processor do you have enabled in tab 'General Settings' -> 'Image Processing' of the configuration manager?

Regards
Chraneco
Logged
awowy
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #4 on: July 01, 2012, 07:04:17 AM »

Hi

Ok. so I tested again from Frontend:

Sometimes Users suddenly loose upload rights even if they created the category, including admin (frontend)... "You are not authorized to upload to this category" while the Backend still shows that they are authotized to upload to that category.

My server allows up to 40MB file uploads, I also changed this on Joomgallery options and yet it cannot upload files bigger than 6MB and sometimes not even 500KB.   Shocked

Single upload (Imagemagik, GD2):
  • If more than one file is selected I get:
Code:
Fatal error: Cannot use string offset as an array in /administrator/components/com_joomgallery/helpers/upload.php on line 195

Single upload (GD):
  • 1 or many small images (less than 1MB total) works ok.
  • 1 or many image (+1MB) gives:
Code:
Fatal error: Out of memory (allocated 31457280) (tried to allocate 12288 bytes) in /administrator/components/com_joomgallery/helpers/file.php on line 491


Batch upload (Imagemagik, GD):
  • Only works if zip is less than 6Mb!!
  • Otherwise, I get two error messages:
Code:
JFolder::delete: cannot delete a base folder.
Warning: Invalid argument supplied for foreach() in /administrator/components/com_joomgallery/helpers/upload.php on line 643

Batch upload (GD2):
Code:
Fatal error: Out of memory (allocated 31457280) (tried to allocate 13056 bytes) in /administrator/components/com_joomgallery/helpers/file.php on line 543

Java upload (Imagemagik):
It seems to be working now but I used to get a popup error message:
Code:
Alert: Upload was stopped with errors.

Java upload (GD2):
  • Error with 1-20 images
Code:
wjhk.jupload2.policies.PictureUplaodPolicy.checkUploadSuccess():The regexp string `JOOMGALLERYUPLOADSUCCESS` was not found in the response body

Java upload (GD):
  • Works if more than 30 images but less than 2MB overall.
  • 1 image bigger than 500KB gives:
Code:
wjhk.jupload2.policies.PictureUplaodPolicy.checkUploadSuccess():The regexp string `JOOMGALLERYUPLOADSUCCESS` was not found in the response body

FTP upload:
  • Works but its not a day-to-day user-friendly method and not even allowed on Frontend.

I do know that most of my users will be using their iPad (school teachers) as a means to upload their images and I believe Java upload is not at all compatible with the iPad (correct me if I´m wrong) Sad so even if it works with Imagemagik its not the best solution in this case

Sorry for the long post
Logged
Chraneco
Developer-Team
Hero Member
*****
Offline Offline

Posts: 3137


View Profile
« Reply #5 on: July 01, 2012, 06:34:45 PM »

Hi,

thanks for the extensive tests!
For being able to help I would also need the environment settings of your server.
For that please go to 'Site' -> 'System Information' -> 'PHP Information' which will give you a very long list of settings and information.
Could you please post all this as an attachement of your next post?

Did you already made a check in maintenance manager of JoomGallery?

Regards
Chraneco
Logged
awowy
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #6 on: July 03, 2012, 07:57:59 AM »

Hi

I wanted to upload the Php settings as image, and as you said it is a veery long list.  No  But I cannot upload any files here, I have divided the image with the php settings and  its only 170Kb but still get this error: The upload folder is full. Please try a smaller file and/or contact an administrator.

Did you already made a check in maintenance manager of JoomGallery?
Not really sure what you mean here?
Logged
Chraneco
Developer-Team
Hero Member
*****
Offline Offline

Posts: 3137


View Profile
« Reply #7 on: July 03, 2012, 12:30:30 PM »

Hi,

sorry, some settings in the forum seemed to be wrong. Please try again now.

You can find the maintenance manager in JoomGallery's backend menu. In the manager, there will be 'Check' button which will scan the file system of JoomGallery.

Regards
Chraneco
Logged
awowy
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #8 on: July 04, 2012, 04:14:58 AM »

Hi

everything seems fine in the maintenance manager of Joomgallery

I attached my Php Settings   Smile
Logged
Chraneco
Developer-Team
Hero Member
*****
Offline Offline

Posts: 3137


View Profile
« Reply #9 on: July 04, 2012, 04:02:55 PM »

Hi,

thanks, I have found one problem.
It's true that you have set 'upload_max_filesize' to '40M', but you forgot to set 'post_max_size' also to '40M'. It's still at '8M' which doesn't allow you to send more data than 8MB.

Regards
Chraneco
Logged
awowy
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #10 on: July 05, 2012, 11:07:25 AM »

Hi

Thanks, but... were should I change that setting?
Logged
Chraneco
Developer-Team
Hero Member
*****
Offline Offline

Posts: 3137


View Profile
« Reply #11 on: July 05, 2012, 11:41:42 AM »

Hi,

if you cannot do that on your own in some kind of server configuration panel you will have to ask your hoster to do that.

Regards
Chraneco
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic

Bad Behavior has blocked 888 access attempts in the last 7 days.

maternal