MicrostockGroup Sponsors


Author Topic: Image Upload Issue  (Read 14165 times)

0 Members and 1 Guest are viewing this topic.

« on: March 26, 2013, 13:12 »
0
First of all, I'm super impressed by SymbioStock so far. I've wanted something like this for a while and this fits my needs exactly. Thank you Leo!

My issue...

So far I have tried uploading a handful of images and vectors with mixed results.

I get this error occasionally when uploading vector.jpg and vector.jpg and then trying to "process to drafts":

Fatal error: Uncaught exception 'WideImage_InvalidImageSourceException' with message 'File '/home/stompsto/public_html/wp-content/themes/symbiostock/inc/classes/plupload/uploads/PatrioticDesigns.jpg' appears to be an invalid image source.' in /home/stompsto/public_html/wp-content/themes/symbiostock/inc/classes/image-processor/wideimage/lib/WideImage.php:225 Stack trace: #0 /home/stompsto/public_html/wp-content/themes/symbiostock/inc/classes/image-processor/wideimage/lib/WideImage.php(183): WideImage::loadFromFile('/home/stompsto/...') #1 /home/stompsto/public_html/wp-content/themes/symbiostock/inc/classes/image-processor/symbiostock_image_processor.php(172): WideImage::load(Array, '/home/stompsto/...') #2 /home/stompsto/public_html/wp-content/themes/symbiostock/inc/classes/image-processor/symbiostock_image_processor.php(997): symbiostock_image_processor->symbiostock_process_image('/home/stompsto/...') #3 /home/stompsto/public_html/wp-content/themes/symbiostock/inc/classes/image-processor/symbiostock_image_processor.php(13 in /home/stompsto/public_html/wp-content/themes/symbiostock/inc/classes/image-processor/wideimage/lib/WideImage.php on line 225


« Reply #1 on: March 26, 2013, 13:25 »
0
I was just in the process of typing a similar post so will add it here


I am beginning to wonder if it is a size issue as the only one that has been successful so far was a 5Mb jpg illustration (that I put a hyphen between the words and took out the number).

Most of my images are way above this size.

I have tried
zipping jpg
changing name - no numbers, just numbers, no spaces, spaces
I did upload a zipped eps and jpg (as I would upload for FT) and that failed with the same message as well and that was a tiny file
I have also been uploading images to a file in preparation and tried transferring one of those - still got error message

Leo Blanchette

« Reply #2 on: March 26, 2013, 13:28 »
0
Ill get on that soon too. What is your success rate?
since its testing do a few at a time. Post errors like you have if its ok with msg

« Reply #3 on: March 26, 2013, 13:35 »
0
I'm happy to let you in to my site if you want to see for yourself Leo, you can message me.

I'm going to try a couple more and I'll let you know.

« Reply #4 on: March 26, 2013, 13:43 »
0
I "think" there is a limit of 5Mb for jpgs - is this likely?   I have a success rate of 2/15 jps so far

Leo Blanchette

« Reply #5 on: March 26, 2013, 13:43 »
0
Can you send me the files so I can test them? Leo at symbiostock dot com

Leo Blanchette

« Reply #6 on: March 26, 2013, 13:45 »
0
I "think" there is a limit of 5Mb for jpgs - is this likely?   I have a success rate of 2/15 jps so far
yes that is very likely and its an easy fix if the host doesn't override

« Reply #7 on: March 26, 2013, 13:45 »
0
Ok, tested two files.

File1.jpg
File1.eps

File2.jpg
File2.eps

Uploaded them all together with each JPG at approx. 4900x4900 and got the same error as I posted above.

Reduced the size of the JPGs to approx. 3500x3500 and uploaded them again and it worked.

« Reply #8 on: March 26, 2013, 16:05 »
0
I've set POST and upload limits in php.ini both to 25M, but I'm still getting Apache errors saying there's a POST limit of 8M. Smaller files are going up OK. Is that limit configured somewhere else? Can't find anything in httpd.conf

« Reply #9 on: March 26, 2013, 16:10 »
0
Ok, tested two files.

File1.jpg
File1.eps

File2.jpg
File2.eps

Uploaded them all together with each JPG at approx. 4900x4900 and got the same error as I posted above.

Reduced the size of the JPGs to approx. 3500x3500 and uploaded them again and it worked.

that could be an issue caused by your php.ini file

I am guessing that there is a file size limit that needs to be increased..

Leo Blanchette

« Reply #10 on: March 26, 2013, 16:11 »
+1
I can't seem to duplicate the issue, but I have my memory limit to an obnoxiously high level.
PS - I opened this thread to track the problems of the test release:

http://www.microstockgroup.com/symbiostock-technical-support/symbiostock-test-build-the-bug-stomping-thread!/msg306296/?topicseen#new

So far I'm well along.

« Reply #11 on: March 26, 2013, 22:36 »
0
After clicking "process images"

I get this error

You do not have sufficient permissions to access this page.

Leo Blanchette

« Reply #12 on: March 27, 2013, 03:10 »
0
Thats a wordpress thing. Shouldn't happen if you are logged in with an administrator level account.

« Reply #13 on: March 27, 2013, 03:14 »
0
I have found my php.ini file in public_html and it reads:

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60   ; Maximum amount of time each script may spend parsing request data
memory_limit = 64M      ; Maximum amount of memory a script may consume (16MB)


Is this likely to be the problem?  If so what would you recommend I change them to please?

Leo Blanchette

« Reply #14 on: March 27, 2013, 04:16 »
0
I didn't know you guys had access to that! Yes, that is very likely it. On my localhost here I changed mine to 128 and it worked. On my server I changed it to 512 when certain image operations crashed and it was all fixed :D.

Just updated my bug thread regarding this. Thank you! By the time we're done we'll have a nice checklist for Symbiostock webmasters. Hosting an image site isn't hard...its just stuff like this we have to remember! http://www.microstockgroup.com/symbiostock-technical-support/symbiostock-test-build-the-bug-stomping-thread!/msg306271/#msg306271
« Last Edit: March 27, 2013, 04:28 by Leo »

Leo Blanchette

« Reply #15 on: March 27, 2013, 04:42 »
0
I've set POST and upload limits in php.ini both to 25M, but I'm still getting Apache errors saying there's a POST limit of 8M. Smaller files are going up OK. Is that limit configured somewhere else? Can't find anything in httpd.conf
Sorry I didn't get back to you quickly. httpd.conf might not have anything. The other thing might be an htaccess setting. I'm tackling the problem from a few angles, so I'll keep updating :D. With so many prospective people doing the self-hosting thing, it would be nice to have a "symbiostock image processing" checklist for people to go through. I really appreciate your participation in all of this. Its setting a good foundation.

« Reply #16 on: March 27, 2013, 08:36 »
0
Thanks Cidepix and Leo.

In my php.ini* file which I had never heard of before I have changed - not sure if these are too high, might try reducing at some point

memory_limit = 128M      ; Maximum amount of memory a script may consume (32MB)

Plus increased these to 30M each (probably on the high side, maximum my ISP permits is 100) after speaking to ISP support for the second time today

upload_max_filesize
post_max_size

That sorted the problem.

When I initially tried to edit the file it said I did not have permission so contacted my ISP support and they sorted out the permissions for me so I could change it myself

I hope this helps someone else if they get a similar problem

*php.ini file is in public_html in site files



« Reply #17 on: March 27, 2013, 11:03 »
0
I'm logged in as Administrator.

I clicked Anyone can register.

Hhmm, I lost all possible options.

Could be because I uploaded it in a folder/subdomain? Well I have to check this one.

Thats a wordpress thing. Shouldn't happen if you are logged in with an administrator level account.

« Reply #18 on: March 27, 2013, 11:45 »
0
I've set POST and upload limits in php.ini both to 25M, but I'm still getting Apache errors saying there's a POST limit of 8M. Smaller files are going up OK. Is that limit configured somewhere else? Can't find anything in httpd.conf
Sorry I didn't get back to you quickly. httpd.conf might not have anything. The other thing might be an htaccess setting. I'm tackling the problem from a few angles, so I'll keep updating :D. With so many prospective people doing the self-hosting thing, it would be nice to have a "symbiostock image processing" checklist for people to go through. I really appreciate your participation in all of this. Its setting a good foundation.

This problem's gone away for me, after another server restart - which shouldn't be needed for php.ini changes. I seem to remember there's a way of increasing the limits on the fly with a bit of code in a page - I might have to dig that out.

« Reply #19 on: March 27, 2013, 21:15 »
0
I finally got it.

It's because I uploaded it on a subfolder, after processing the images, it goes back to the root folder, which causes an error.

I need to test it on a new folder or single domain.

« Reply #20 on: March 28, 2013, 09:30 »
+2
I have scaled back the size of my uploads and I don't have the problem anymore. Plus, smaller files is a good thing when you are paying the hosting bill yourself.

I just uploaded a bunch of images, and they were all approved immediately.  ::) ;D

« Reply #21 on: June 13, 2013, 06:03 »
0
I have used ftp to upload images, but today is not working :'( The image show up under Process Images, but when I click process to drafts, I get "File doesnt exist?"
Is strange since I haven't  changed the ftp uploads folder!
The symbiostock image uploader is not working either :( warning: using runtime flash

« Reply #22 on: June 13, 2013, 08:56 »
0
Are the images bigger than those you have uploaded before?

« Reply #23 on: June 13, 2013, 10:16 »
0
Bulk upload of 60 photos could this cause the problem? Each image wasn't bigger than normal though. Now I have deleted these files from the process page. Later I tried to upload only a few.... with same error coming.

Even if I get file doesn't exist, they are in the images listing/ editing area with description and keyword, but not the photo!!

« Reply #24 on: June 13, 2013, 12:23 »
0
Whenever I upload a group of images (as little as 10-15) I get a handful of error messages when I process them. The error is always exactly the same.

Warning: unpack() [function.unpack]: Type A: not enough input, need 1, have 0 in /home/content/93/5238093/html/wp-content/themes/symbiostock/inc/classes/PHP_JPEG_Metadata_Toolkit/IPTC.php on line 263

Whatever the message means, it doesn't seem to cause a problem with the uploads that I'm aware of as all of the images get processed.  According to the process page I'm using GD to process the images.  I've seen a little bit of discussion about "imagemagick" but I have no idea how to activate it.


 

Related Topics

  Subject / Started by Replies Last post
9 Replies
5670 Views
Last post November 06, 2009, 13:52
by eppic
30 Replies
16722 Views
Last post May 07, 2010, 17:46
by luissantos84
7 Replies
7881 Views
Last post November 18, 2013, 18:30
by Oldhand
upload issue?

Started by littleny « 1 2  All » 123RF

32 Replies
23314 Views
Last post August 30, 2018, 06:59
by Ruud
5 Replies
3600 Views
Last post December 20, 2020, 11:20
by rushay

Sponsors

Mega Bundle of 5,900+ Professional Lightroom Presets

Microstock Poll Results

Sponsors