Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    I have been having the same error message when trying to generate vouchers (‘not a supported file type’). This has only started happending since I have switched from a shared hosting package to a VPS.

    I have worked out that if I create a template image which is less than 20kb the voucher works, if the image is larger the error message is displayed. I have increased the server php memory limit as well as added a php.ini to the site root.

    I have tried to resolve this with my hosting provider but they cannot find the issue. They asked whether it would be possible to find out exactly what php modules it requires which would help them see why the plugin works on the shared hosting but not the VPS. Does anyone happen to know what these might be?

    Many thanks, Matt

    Forum: Plugins
    In reply to: Page ID within Shortcode
    Thread Starter futurewebs

    (@futurewebs)

    For anyone who has a similar issue this is the code which sorted it for me:

    <?php 
    
    // Display shortcode for current post:
    
    $sc = sprintf( '[inpost_nivo post_id="%d"]', get_the_ID() );
    
    echo do_shortcode( $sc ); 
    
    ?>
Viewing 2 replies - 1 through 2 (of 2 total)