MicrostockGroup Sponsors

Need help with image upload and processing images

Started by jsfoto, April 14, 2013, 20:33

Previous topic - Next topic

jsfoto

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!

Pilens

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

jsfoto

Hi, I can't find where it is discussed.
Is there anyone experiencing similar problems?

Kerioak~Christine

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.

jsfoto

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?

ajt

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 :)
My fisheye straightener: http://anglerfish.ajotte.com

jsfoto

Thank you so much for that hint! It works perfectly: First image processed. Thanks again!

cathyslife

Quote from: ajt on April 15, 2013, 12:50
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.
#boycottShutterstock   #shutterstockBoycott

Leo Blanchette

Maybe without realizing it I still have a cap on upload limits. I will check :D

cathyslife

#9
Quote from: Leo on April 16, 2013, 01:36
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)
#boycottShutterstock   #shutterstockBoycott

Leo Blanchette

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

cathyslife

Quote from: Leo on April 16, 2013, 01:52
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.
#boycottShutterstock   #shutterstockBoycott

jsfoto

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

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.

ajt

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.
My fisheye straightener: http://anglerfish.ajotte.com

jsfoto

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?

jsfoto

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)

ajt

My fisheye straightener: http://anglerfish.ajotte.com

cathyslife

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?
#boycottShutterstock   #shutterstockBoycott

jsfoto

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?

ajt

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...
My fisheye straightener: http://anglerfish.ajotte.com

jsfoto

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?

cathyslife

Quote from: jsfoto on April 16, 2013, 13:56
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.
#boycottShutterstock   #shutterstockBoycott

jsfoto

#23
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-.

cathyslife

Quote from: jsfoto on April 16, 2013, 18:33
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.
#boycottShutterstock   #shutterstockBoycott