ThemeShaper Forums » Thematic

[closed]

Fixing incompatiible plugins?

(6 posts)
  • Started 4 years ago by chrish63
  • Latest reply from Chris
  • This topic is resolved
  1. chrish63
    Member

    Hi,

    I've been using the awesome wonderful Multiple Content Blocks plugin, and now I discover in Thematic, it is not compatible.

    Here's the errors that display on the page editor:

    Warning: fopen(/home4/chowitco/public_html/sites/wordpress/umfctest/wp-content/themes/thematic/header- ?> <div id="container"> <div id="content"> <div id="relatedcontact"><?php the_block("RelatedContactInfo") ?><div> <?php get_sidebar('page-top') ?> <?php the_post() ?> <div id="post-<?php the_ID.php) [function.fopen]: failed to open stream: File name too long in /home4/chowitco/public_html/sites/wordpress/umfctest/wp-content/plugins/multiple-content-blocks/multiple_content.php on line 151

    Warning: filesize() [function.filesize]: stat failed for /home4/chowitco/public_html/sites/wordpress/umfctest/wp-content/themes/thematic/header- ?> <div id="container"> <div id="content"> <div id="relatedcontact"><?php the_block("RelatedContactInfo") ?><div> <?php get_sidebar('page-top') ?> <?php the_post() ?> <div id="post-<?php the_ID.php in /home4/chowitco/public_html/sites/wordpress/umfctest/wp-content/plugins/multiple-content-blocks/multiple_content.php on line 152

    Warning: fread(): supplied argument is not a valid stream resource in /home4/chowitco/public_html/sites/wordpress/umfctest/wp-content/plugins/multiple-content-blocks/multiple_content.php on line 152

    Warning: fopen(/home4/chowitco/public_html/sites/wordpress/umfctest/wp-content/themes/thematic/sidebar-page-top') ?> <?php the_post() ?> <div id="post-<?php the_ID.php) [function.fopen]: failed to open stream: No such file or directory in /home4/chowitco/public_html/sites/wordpress/umfctest/wp-content/plugins/multiple-content-blocks/multiple_content.php on line 151

    Warning: filesize() [function.filesize]: stat failed for /home4/chowitco/public_html/sites/wordpress/umfctest/wp-content/themes/thematic/sidebar-page-top') ?> <?php the_post() ?> <div id="post-<?php the_ID.php in /home4/chowitco/public_html/sites/wordpress/umfctest/wp-content/plugins/multiple-content-blocks/multiple_content.php on line 152

    Warning: fread(): supplied argument is not a valid stream resource in /home4/chowitco/public_html/sites/wordpress/umfctest/wp-content/plugins/multiple-content-blocks/multiple_content.php on line 152

    I've also contacted the developer of MCBand am waiting to hear back from him too.

    It does raise the question though about incompatible plugins: Is there an easy fix for them?

    Posted 4 years ago #
  2. chrish63
    Member

    The plugin developer pointed out that the page template from thematic needs to use get_header(); not just get_header()

    That little semi-colon is important!

    I also discovered tho that the plugin doesn't work with custom page templates in child themes. Until he updates his plugin (Multiple Content Blocks), it's as simple as duplicating the custom page template into the Thematic theme folder.

    Posted 4 years ago #
  3. Don't know what the developer is talking about :)

    The templates are using get_header;.

    Chris

    Posted 4 years ago #
  4. chrish63
    Member

    lol.

    Posted 4 years ago #
  5. .. and it can't work with child themes 'cause the author is using the template path instead of the stylesheet path.

    Chris

    Posted 4 years ago #
  6. .. better .. The author needs to check both 'cause the user might create own templates.

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.