Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kreezxil

    (@itscoolreally)

    Ivy,

    What version of WordPress are you using?

    And for PHP?

    Thanks,

    Hypershock

    Plugin Author Kreezxil

    (@itscoolreally)

    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?

    Plugin Author Kreezxil

    (@itscoolreally)

    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 [email protected].

    Thread Starter fairivy

    (@fairivy)

    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.

    Thread Starter fairivy

    (@fairivy)

    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

    Plugin Author Kreezxil

    (@itscoolreally)

    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

    Thread Starter fairivy

    (@fairivy)

    That is fantastic, thank you so much!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal error’ is closed to new replies.