MicrostockGroup Sponsors


Author Topic: Need help with image upload and processing images  (Read 15634 times)

0 Members and 1 Guest are viewing this topic.

« on: April 14, 2013, 14:33 »
0
Hi everybody,

I am quiet close to become part of Symbiostock, but at the moment I'm stuck. I uploaded two photos, but when I try to process them this it what I get:

Fatal error: Call-time pass-by-reference has been removed in /homepages/34/d161073170/htdocs/fsp/wp-content/themes/symbiostock/inc/classes/image-processor/symbiostock_image_processor.php on line 481

Any help is very much appreciated!
« Last Edit: April 14, 2013, 16:46 by jsfoto »


« Reply #1 on: April 14, 2013, 16:59 »
0
Don't know for sure but this might be caused by too restrictive php.ini settings. It has been discussed all over the Symbiostock threads. Search for it and you'll get more tips for settings to try than you'll probably like  ;)

« Reply #2 on: April 15, 2013, 04:28 »
0
Hi, I can't find where it is discussed.
Is there anyone experiencing similar problems?

« Reply #3 on: April 15, 2013, 05:07 »
0
I think Philens was probably referring to the size issue that some of us has (if an image was too big we had to edit the php.ini file in our cpanels).  I am no expert but with your problem the first thing I would try is using ftp or the cpanel though your host and delete the symbiostock_image_processor.php file then reinstall it from the file you have on your computer.  You may need to unzip the one on your computer to be able to extract it.

Alternatively and possibly easier, deactivate and delete the parent Symbiostock and re install the whole thing as you would do if you were installing an update

I have no idea if this will work but might be worth trying in case something got changed or corrupted.

« Reply #4 on: April 15, 2013, 06:25 »
0
Thanks for your answer Christine. I liked your idea, reinstalled the file via ftp, but unfortunatelly I get still the same error message. I still can't process an normal jpeg-file, no matter what size it is. Any more ideas from anyone?

« Reply #5 on: April 15, 2013, 06:50 »
0
I think that you should:
Go to your cpanel and try to change php settings (version, compatibility or something you can find there, to force php to accept deprecated parameter passing
or better
edit that symbiostock_image_processor.php file and in line 481 delete one &:
$size = GetImageSize( $dir . $file_name . '.jpg', &$info );
change to
$size = GetImageSize( $dir . $file_name . '.jpg', $info );
or even to
$size = getimagesize( $dir . $file_name . '.jpg', $info );

or ....
wait for Leo to do it :)
« Last Edit: April 15, 2013, 07:03 by ajt »

« Reply #6 on: April 15, 2013, 07:14 »
0
Thank you so much for that hint! It works perfectly: First image processed. Thanks again!

« Reply #7 on: April 15, 2013, 19:02 »
0
I think that you should:
Go to your cpanel and try to change php settings (version, compatibility or something you can find there, to force php to accept deprecated parameter passing
or better
edit that symbiostock_image_processor.php file and in line 481 delete one &:
$size = GetImageSize( $dir . $file_name . '.jpg', &$info );
change to
$size = GetImageSize( $dir . $file_name . '.jpg', $info );
or even to
$size = getimagesize( $dir . $file_name . '.jpg', $info );

or ....
wait for Leo to do it :)

Well, I was going to try this as I am now having issues with uploading. After uploading about 40 images with no hitches this morning, now I have issues.

I do not have a file named symbiostock_image_processor.php. I have looked through ftp, and I have logged into cpanel>file manager and looked there. nothing.

Leo Blanchette

« Reply #8 on: April 15, 2013, 19:36 »
0
Maybe without realizing it I still have a cap on upload limits. I will check :D

« Reply #9 on: April 15, 2013, 19:39 »
0
Maybe without realizing it I still have a cap on upload limits. I will check :D

Thanks Leo.

EDIT: Your limits are OK leo. This was operator error. I have been messing with the watermark. I deleted the old version from the Media Library, but did not put the new version name in the settings page. It was looking for something that wasnt there. If it just would have told me!  :D I am back on track. (holding my eyes open with toothpicks though)
« Last Edit: April 15, 2013, 19:46 by cclapper »

Leo Blanchette

« Reply #10 on: April 15, 2013, 19:52 »
+1
I think the only problem that people *may* experience is that I had upload limit set to 100mb...but that just limits how much you can enque. I just bumped it it to 1000mb

« Reply #11 on: April 15, 2013, 20:10 »
0
I think the only problem that people *may* experience is that I had upload limit set to 100mb...but that just limits how much you can enque. I just bumped it it to 1000mb


Thanks Leo.

« Reply #12 on: April 16, 2013, 04:42 »
0
I have got a new problem with processing, after everything was okay yesterday.
I uploaded two jpeg. and went to "Process Uploads" I can find them there and  tick the boxes. But after pressing "Process Images" I get a white page with nothing but "Process Images" images in the upper left corner. When I go to "all images", I find the files with title, keywords, description, but without a thumbnail  :-\
Any ideas what is going wrong?

Leo Blanchette

« Reply #13 on: April 16, 2013, 04:46 »
0
Hiya,

I had applied ajt's fixes above - that might be related...but it sounds like the typical memory issue - I could be wrong though.

If you like you can make me an admin account leo[at]symbiostock.com and I can check it out for you tomorrow. Forgive me if I missed something, but did you already do the php.ini thing where you up your memory settings?

Feel free to download the latest version I just put out tonight and give that a spin.

« Reply #14 on: April 16, 2013, 04:50 »
0
My fixes were related to previous jsfoto's problem and solved it :)

jsfoto: how big are today files (I mean megapixels, not file size), are they bigger than that one uploaded yesterday? Try with smaller one. If it will be ok, it is memory limit issue.
« Last Edit: April 16, 2013, 04:55 by ajt »

« Reply #15 on: April 16, 2013, 04:58 »
0
Hi Leo,
I really appreciate your quick answers a lot! Thank you so much. I would like to try the latest version, but last time I updated the theme all customization was gone. Is there a way to avoid this?

« Reply #16 on: April 16, 2013, 05:02 »
0
yesterday I processed 6,02 MB secussfully, today I tried 1,75 MB and 7,42 MB and both are not processes (not even the 1,75 MB-file without the bigger one)

« Reply #17 on: April 16, 2013, 05:13 »
0
But what are their sizes in pixels?

« Reply #18 on: April 16, 2013, 05:18 »
0
I had that issue because i changed the watermark image. Be sure you copy the name of the file after you uplad it and paste it to the Settings page in the slot designated for watermark. Could that be what is going on?

« Reply #19 on: April 16, 2013, 05:39 »
0
watermark is unchanged ... but yes pixel-sizes were smaller yesterday. after downsizing the image I can process sucessfully. so everything is fine when I update to the latest version of the theme if I understood you right Leo?

« Reply #20 on: April 16, 2013, 06:28 »
0
Your site is on 1&1, they give low memory limits available for php scripts. Go to admin area in your page, click on "Symbiostock' and select 'Testing' tab. Then go to table titled "Core' and find entry 'memory_limit'. It should be 256M, to process big files without problems in current version of Symbiostock. You probably have 64M there.
You can try to create file php.ini with line memory_limit=256M and put it into folder with wordpress files, but I don't know if 1&1 allows to increase memory.
You can also try to find option in your server control panel.
Solutions:
-Try to speak to your hosting people and ask them to increase memory limit for php,
or
-Move your site for example to Bluehost,
or
-Leo promised Imagick soon. When it will be used by Symbiostock, then even 64M should be enough memory to process huge files, but in future maybe it will not be enough, when Symbio will have new functions and you will install more plugins and extensions in Wordpress.
So, if increasing memory limit to 256M (at least 128M, but not 64 ) will not be possible, find new hosting...
« Last Edit: April 16, 2013, 07:12 by ajt »

« Reply #21 on: April 16, 2013, 07:56 »
0
Thanks for the detailed answer Andrzej. 1und1 gives me 90M, not more. So I guess I should move to bluehost. Is it really only $4,95/month at bluehost or do I have to buy a more expensive package there?

« Reply #22 on: April 16, 2013, 10:07 »
0
Thanks for the detailed answer Andrzej. 1und1 gives me 90M, not more. So I guess I should move to bluehost. Is it really only $4,95/month at bluehost or do I have to buy a more expensive package there?


4.95 is the rate for signing up for multiple years. One year is 6.95 i believe.

« Reply #23 on: April 16, 2013, 12:33 »
0
Decision is made: I gonna move my site to bluehost. Are there any ideas what I can save and export und how I can make sure that not everything what I did so far has to be donne again?
And what is your way to install a theme update?
Sorry for asking so simple questions but wordpress is totally new to me-.
« Last Edit: April 16, 2013, 17:22 by jsfoto »

« Reply #24 on: April 16, 2013, 12:59 »
0
Decision is made: I gonna move my site to bluehost. Are there any ideas what I can save and export und how I can make sure that not everything what I did so far has to be donne again?
An what is your way to install a theme update?
Sorry for asking so simple questions but wordpress is totalls new to me-.


I can only address the theme update...you should have your SY parent theme and your child theme and the child is the one that is activated. So first, activate the twenty ten theme. Then, delete the parent SY theme.  It will move the child to the bottom and will say that its broken. Thats ok. Install the updated SY parent theme . Once installed, activate the child theme. Thats it.


 

Related Topics

  Subject / Started by Replies Last post
6 Replies
4084 Views
Last post June 24, 2007, 14:37
by hatman12
23 Replies
10434 Views
Last post January 24, 2016, 12:11
by Sean Locke Photography
26 Replies
16673 Views
Last post July 25, 2010, 15:05
by trek
2 Replies
4568 Views
Last post September 22, 2012, 09:36
by Will
7 Replies
4013 Views
Last post March 06, 2013, 13:01
by Pilens

Sponsors

Mega Bundle of 5,900+ Professional Lightroom Presets

Microstock Poll Results

Sponsors