WordPress.org

Ready to get started?Download WordPress

Forums

AskApache Google 404
Broken Reference to Code Press (3 posts)

  1. wjwood64
    Member
    Posted 3 years ago #

    Overall I have LOVED this plugin, it is an EXCELLENT addition to my site and I can't live without it! So, I have to report the error I am getting and hope you can resolve it quickly.

    I can NOT save any of the options. I have had to manually change one of the options inside the database directly to activiate it. I have deleted and reinstalled (including eliminating the wp-options entries). I recreated the entries with the new installed version. Etc., etc., etc. Lots of troubleshooting.

    ------------------------

    The error I am getting is related to the codepress plugin. However it appears that it has trouble loading anything very far after the codepress failure. No ability to save ANY setting from the interface.

    ------------------------

    Webpage error details

    Message: 'postboxes' is undefined
    Line: 465
    Char: 106
    Code: 0
    URI: http://WEBSITE_NAME.com/wp-admin/options-general.php?page=askapache-google-404.php

    ------------------------

    That error references this code:

    var codepress_path = "http://WEBSITE_NAME.com/wp-includes/js/codepress/";jQuery(document).ready(function($){postboxes.add_postbox_toggles("askapachegoogle");});

    ------------------------

    The specific item that it is having trouble with is this

    {postboxes.add_postbox_toggles("askapachegoogle");}

    ------------------------

    http://wordpress.org/extend/plugins/askapache-google-404/

  2. wjwood64
    Member
    Posted 3 years ago #

    I **believe** this may be related to a couple of changes made in the way posting data changes are handled in WP 3.0.

    In wp-admin\js\post.dev.js this post boxes section is MISSING (replaced) in the new version of WP (around line 240 in the NEW file IF it were included):

    // postboxes
    if ( post )
    postboxes.add_postbox_toggles('post');
    else if ( page )
    postboxes.add_postbox_toggles('page');

    Previously appeared just before this heading:

    // multi-taxonomies

    ----------------------------------

    IN wp-admin\js\post.js the references to POST and PAGE have been replaced by "pagenow." You can see this in the post
    NEW version around character position 4242:

    {var b,a,f="";postboxes.add_postbox_toggles(pagenow)

    PREVIOUSLY the reference showed these options (pagenow, post, AND page were all referenced with variables).

    {var d,a,b,h="",i="post"==pagenow||"post-new"==pagenow,g="page"==pagenow||"page-new"==pagenow;if(i){postboxes.add_postbox_toggles("post")}else{if(g){postboxes.add_postbox_toggles("page")}}

  3. askapache
    Member
    Plugin Contributor

    Posted 3 years ago #

    Ok I just uploaded a new version, pretty drastic code differences (for the admin side of the plugin) but I wasn't able to fix the main postbox issue, just haven't had time and it is confusing.

    Instead I made all the boxes visible by force of css. If you can figure how to fix this new version 4.8.0, please let me know!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic