WordPress.org

Forums

Contact Form DB
[Plugin: Contact Form 7 to Database Extension] Shortcode breaks up page build-up (9 posts)

  1. bartjen
    Member
    Posted 3 years ago #

    When using a short code in a page or post the page stops building up on the place where I put the short code. I have tried several themes, that can not be the problem.

    Example:
    When I use [cfdb-table form="alldoor-aanmeldingen"] in a page, the PHP stops rendering after the table head appear.
    When looking at the source-code, there is just nothing after <tbody>

    Example url: http://alldoor.strict.nl/?page_id=13

    What can be the hick-up?

    http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/

  2. bartjen
    Member
    Posted 3 years ago #

    Error in the apache2 log:

    [Wed Jan 25 11:05:06 2012] [error] [client <IP-ADDRESS>] PHP Fatal error: Call to undefined function is_plugin_active() in /<PATH>/wp-content/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php on line 653, referer: http://<HOST&gt;

    Any ideas?

  3. bartjen
    Member
    Posted 3 years ago #

    Work-around found!
    just comment in CF7DBPlugin.php:
    Starting at line 653

    [Code moderated as per the Forum Rules. Please use the pastebin]

  4. rsutaria
    Member
    Posted 3 years ago #

    I'm having the same problem.

    Setup is WordPress: 3.3.1
    CF7DBExtension version: 2.2.5

    After upgrading, the error I'm getting is:
    Fatal error: Call to undefined function is_plugin_active() in <path>/html/wp-content/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php on line 653

    Have commented the code starting at 653, as suggested above- but not happy with the solution.

    Any possible fix available to this?

  5. patmc
    Member
    Posted 3 years ago #

    I'm having the same basic problem (Shortcode breaks up page build-up).

    I had a simple page with text, a form, and the a cfdb-table to list selected columns for the data gathered so far.

    I updated plugins and wordpress and then the problem started.
    (WP now 3.1.1, Contact Form 7 now 3.0.2.1 and CFDB is at 2.2.5).

    If I leave the cfdb-table entry in, then all I see on the page is the table column header row. If I remove the cfdb-table entry, then the text and form return.

    If I add just a page with the cfdb-table entry it is the same. (Or if I add text after the cfdb-table entry, that does not display either).

    Given the removal of a suggestion to comment out code in the plugin, I'm not sure what that means or what the result is once done.

    Is there anything I can do to provide context as to where this break occurs?

  6. patmc
    Member
    Posted 3 years ago #

    Just FYI - I found the line mentioned above and commented out the block related to this comment:
    Support Jalali dates but looking for wp-jalali plugin

    I get the listing back; not sure what else I've broken (wp/php newbie).

    I'm hoping any plugin updates that show later will overwrite my "tweak".

  7. Umbergail
    Member
    Posted 3 years ago #

    I have the same problem as described above. Is there any solution or will there be an update / bugfix of the plugin in near future?

  8. Umbergail
    Member
    Posted 3 years ago #

    Downgrading to version 2.2.4 fixed the problem. But will there be an official bugfix in near future?

  9. Michael Simpson
    Member
    Plugin Author

    Posted 3 years ago #

    In case you are not aware, this is fixed in recent versions.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form DB
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic