WPIntell

Source evidence

Fatal error

Ribbon Maker · support · 2012-11-03T16:34:00+00:00

mixedsentiment
highseverity
0.94relevance
7replies
Evidence onlycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 1 rows with source links

100.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

0 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
fairivy resolved
here’s my site: fair ivy Fatal error on line 75 when I try to upload an image http://wordpress.org/extend/plugins/ribbon-maker/ Ivy, What version of WordPress are you using? And for PHP? Thanks, Hypershock Also in your ERROR_LOG on your site, you might have to use FTP of the “file browser” plugin to see it, what is the exact description of the FATAL ERROR? Ivy, starting at line 75: if(exif_imagetype($_FILES["custom_image"]["tmp_name"])==IMAGETYPE_PNG) { $new_name = plugin_dir_path(__FILE__) . "ribbon_maker_ribbon".$_POST['ribbon_maker_slot'].".png"; move_uploaded_file($_FILES["custom_image"]["tmp_name"],$new_name); update_option('ribbon_maker_do_custom'.$_POST['ribbon_maker_slot'],'active'); } else { echo "Please upload a png image"; } The code in that section simply checks for an image type. Can you tell me exactly what steps you are taking to create this, including the type of file etc. As much detail as can be given will be extremely helpful. Creating a camstudio screen captured recording might be very useful too as you won’t have to describe it, I can just watch the resulting video. If you produce a video for me to watch of the problem you send the private link from youtube to it to me at big-al@bowie-tx.com . Hi Hypershock, Thanks for your replies. I’m using the latest version of WordPress, I don’t know about PHP. The file description is as follows: Fatal error: Call to undefined function exif_imagetype() in /home/fairivy1/public_html/wp-content/plugins/ribbon-maker/ribbon-maker.php on line 75 The type of file I made was a png. I have to head out for the day right now but I will try and create a video later if possible. Hi again, I use a Mac, so I can’t create a video with camstudio, and couldn’t find any similar free software. Think you can help me with what i have? THere are no steps, i just click Choose File, select my .png, and hit Upload. Then it fails. Thanks, Lucy Lucy, I just uploaded a patch that should resolve your problem and in fact will allow you to upload any kind of image file. Al That is fantastic, thank you so much!!

Comments

7 shown
Kreezxil 2012-11-04T11:56:00+00:00

Ivy, What version of WordPress are you using? And for PHP? Thanks, Hypershock

Kreezxil 2012-11-04T11:57:00+00:00

Also in your ERROR_LOG on your site, you might have to use FTP of the “file browser” plugin to see it, what is the exact description of the FATAL ERROR?

Kreezxil 2012-11-04T12:23:00+00:00

Ivy, starting at line 75: if(exif_imagetype($_FILES["custom_image"]["tmp_name"])==IMAGETYPE_PNG) { $new_name = plugin_dir_path(__FILE__) . "ribbon_maker_ribbon".$_POST['ribbon_maker_slot'].".png"; move_uploaded_file($_FILES["custom_image"]["tmp_name"],$new_name); update_option('ribbon_maker_do_custom'.$_POST['ribbon_maker_slot'],'active'); } else { echo "Please upload a png image"; } The code in that section simply checks for an image type. Can you tell me exactly what steps you are taking to create this, including the type of file etc. As much detail as can be given will be extremely helpful. Creating a camstudio screen captured recording might be very useful too as you won’t have to describe it, I can just watch the resulting video. If you produce a video for me to watch of the problem you send the private link from youtube to it to me at big-al@bowie-tx.com .

fairivy 2012-11-04T14:51:00+00:00

Hi Hypershock, Thanks for your replies. I’m using the latest version of WordPress, I don’t know about PHP. The file description is as follows: Fatal error: Call to undefined function exif_imagetype() in /home/fairivy1/public_html/wp-content/plugins/ribbon-maker/ribbon-maker.php on line 75 The type of file I made was a png. I have to head out for the day right now but I will try and create a video later if possible.

fairivy 2012-11-04T17:07:00+00:00

Hi again, I use a Mac, so I can’t create a video with camstudio, and couldn’t find any similar free software. Think you can help me with what i have? THere are no steps, i just click Choose File, select my .png, and hit Upload. Then it fails. Thanks, Lucy

Kreezxil 2012-11-05T17:03:00+00:00

Lucy, I just uploaded a patch that should resolve your problem and in fact will allow you to upload any kind of image file. Al

fairivy 2012-11-06T01:37:00+00:00

That is fantastic, thank you so much!!