WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Colorbox
[resolved] JQUERYCOLORBOX_TEXTDOMAIN error (3 posts)

  1. joshuef
    Member
    Posted 2 years ago #

    I keep getting this error, no matter what I do:

    Notice: Use of undefined constant JQUERYCOLORBOX_TEXTDOMAIN - assumed 'JQUERYCOLORBOX_TEXTDOMAIN' in .../wp-content/plugins/jquery-colorbox/jquery-colorbox.php on line 34

    Warning: Cannot modify header information - headers already sent by (output started at .../wp-content/plugins/jquery-colorbox/jquery-colorbox.php:34) in .../wp-includes/pluggable.php on line 866

    Any ideas why this might be occurring?

    http://wordpress.org/extend/plugins/jquery-colorbox/

  2. kg69design
    Member
    Posted 2 years ago #

    Hi.
    1.Notice: Use of undefined constant JQUERYCOLORBOX_TEXTDOMAIN - assumed 'JQUERYCOLORBOX_TEXTDOMAIN' in ...
    This is not a critical error, but you can fix it - just open /wp-content/plugins/jquery-colorbox/jquery-colorbox.php on line 34 and change this:

    if (!defined('JQUERYCOLORBOX_NAME')) {
      define('JQUERYCOLORBOX_NAME', __('jQuery Colorbox',JQUERYCOLORBOX_TEXTDOMAIN));
    }
    if (!defined('JQUERYCOLORBOX_TEXTDOMAIN')) {
      define('JQUERYCOLORBOX_TEXTDOMAIN', 'jquery-colorbox');
    }

    to this (just interchange):

    if (!defined('JQUERYCOLORBOX_TEXTDOMAIN')) {
      define('JQUERYCOLORBOX_TEXTDOMAIN', 'jquery-colorbox');
    }
    if (!defined('JQUERYCOLORBOX_NAME')) {
      define('JQUERYCOLORBOX_NAME', __('jQuery Colorbox',JQUERYCOLORBOX_TEXTDOMAIN));
    }

    I believe author will do that also ;)

    2.Warning: Cannot modify header information - headers already sent by (output started at ...
    Try something here: link
    I have no problem with last version of colorbox on WP3.4

  3. techotronic
    Member
    Plugin Author

    Posted 2 years ago #

    yeah, that somehow slipped through and will be fixed in the next version.
    Cheers,
    Arne

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic