Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Could you give me more details about this? Do you get a blank page instead of seeing your site’s content after activating the plugin?

    If so, could you add the following to your site’s wp-config.php file?

    define('WP_DEBUG', true);
    
    if ( WP_DEBUG ) {
    
            @error_reporting( E_ALL );
            @ini_set( 'log_errors', true );
            @ini_set( 'log_errors_max_len', '0' );
    
            define( 'WP_DEBUG_LOG', true );
            define('WP_DEBUG_DISPLAY', false);
            define( 'CONCATENATE_SCRIPTS', false );
            define( 'SAVEQUERIES', true );
    
    }

    Once you’ve done so, try activating the plugin again, load your site until you get the blank page, and then check the wp-content/debug.log file for errors. You can paste the results here. You can then replace define('WP_DEBUG', true); by define('WP_DEBUG', false); in the code above.

    Thanks!

    Thread Starter Blamedutchie

    (@blamedutchie)

    Hi Jeremy,

    The frontpage of the site still shows alright, but posts don′t.
    This is the debug output:

    “PHP Fatal error: Call to undefined function imagecreatefromjpeg() in /xxx/xxxx/yyyy/zzz/public_html/wp-content/plugins/jetpack/_inc/lib/tonesque.php on line 54”

    Using Firebug:

    Failed to load resource: the server responded with a status of 500
    The resource meant here is the post.

    Q: does your plugin depend on imagick? (my host seems to not have that properly installed, working on that)

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    The Tonesque library does indeed depend on an image editing library. Could you ask your hosting provider to install PHP GD, as explained here?
    https://www.cyberciti.biz/faq/ubuntu-linux-install-or-add-php-gd-support-to-apache/

    Let me know how it goes!

    Thread Starter Blamedutchie

    (@blamedutchie)

    Hi Jeremy,

    Sorry for the delay, life is busy at times.
    You were right, with GD active the plugin works as designed!

    I′d like to suggest a cosmetic improvement for a next version;

    Because of the changing background, sometimes the post title can get really hard to read.

    You think it′s possible to add a check for contrast/readability and alter the title color if/when necessary? I can imagine that not everybody would like that feature so maybe as an option in the backend.

    Thanks a bundle and
    CheerS!

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    You think it′s possible to add a check for contrast/readability and alter the title color if/when necessary?

    My plugin offers that option, but I don’t activate it by default since as you mentioned, it could have bad effects on the site’s layout.

    See the last paragraph in this post to learn how to use the $contrast value in your CSS:
    https://jeremy.hu/color-posts-jetpack-plugin/

    Thread Starter Blamedutchie

    (@blamedutchie)

    I was already a bit confused, because after I posted the question, I went through the plugin files and saw contrast references ??

    Will check out the post you mention.
    Thanks for your swift-as-ever response!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not working’ is closed to new replies.