Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 11 months, 3 weeks ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

CBOX Theme Options Disappeared

Tagged: theme options

  • This topic has 21 replies, 8 voices, and was last updated 9 years, 3 months ago by visionsynergy.
Viewing 15 posts - 1 through 15 (of 22 total)
1 2 →
  • Author
    Posts
  • September 11, 2013 at 11:08 pm #3579
    Nick Horton
    Participant

    Hi there,

    So far I’m loving CBOX. Just got it up and running on a Multisite install where the community is on a subdomain.

    However, I just upgraded to the new WP update (via network control panel) and now I can’t see anything in the CBOX Theme Options panels…

    Any thoughts on how to get that back?

    I attached a screenshot. Thank you in advance,
    Nick

    Attachments:
    You must be logged in to view attached files.
    September 12, 2013 at 6:00 am #3581
    Eli
    Participant

    Hey @theironsamurai, the same thing is happening to me since I upgrade today, and after the update I am also getting an error on the BuddyPress activity page when I try post something…

    "Fatal error: Call to undefined function wp_get_referer() in /home/*******/public_html/***/wp-content/plugins/commons-in-a-box/includes/functions.php on line 28"

    • This reply was modified 9 years, 6 months ago by Eli.
    September 12, 2013 at 6:11 am #3583
    sam brown
    Participant

    I have been locked out of theme options since the update before the last but I am now also locked out of posting front end into the activity stream.

    September 12, 2013 at 7:30 am #3584
    sam brown
    Participant

    Still no theme options but I can now make posts if I press browser refresh rather than post update – not great for members but a step forward at least (although I am assuming that this is a buddypress issue rather than a theme issue). Any advice on theme options or slider fixes would be really appreciated 🙂

    September 12, 2013 at 7:49 am #3585
    Christian Wach
    Participant

    I would recommend staying away from the WP 3.6.1 update for now. I have found many AJAX-related errors on a test install due to this change. My guess is that the WordPress pluggable.php file is not being included at the appropriate point, but (I stress) it’s just a guess.

    tl;dr – don’t upgrade to 3.6.1.

    If you have done so, replace your WP files (excluding your wp-content directory) with those from version 3.6:
    http://wordpress.org/wordpress-3.6.tar.gz
    Downgrading seems to be unproblematic.

    September 12, 2013 at 8:49 am #3586
    Christian Wach
    Participant

    UPDATE: Okay so the problem is this… Because WordPress 3.6.1 now tries to sanitize wp_get_referer() and because the CBOX plugin checks cbox_is_admin() on init (which calls wp_get_referer() during AJAX calls), any AJAX-related functionality will throw a fatal error in WP 3.6.1.

    My advice is still do not upgrade WP 3.6.1 until this is resolved.

    September 12, 2013 at 11:30 am #3587
    Nick Horton
    Participant

    Thanks Christian, I’ll try that and see how it goes. I appreciate the quick reply.
    Nick

    September 12, 2013 at 12:03 pm #3588
    Christian Wach
    Participant

    @theironsamurai you can get round this and stay with 3.6.1 if you do one of two things:

    Either grab the hot-fixed version of wp-includes/functions.php from the latest build.

    Or amend the way that CBOX initialises by changing line 223 of loader.php in the root of the plugin’s directory from:

    // Vroom!
    cbox();
    

    to

    // Vroom!
    add_action( 'plugins_loaded', 'cbox' );
    
    September 12, 2013 at 12:14 pm #3589
    Nick Horton
    Participant

    Woo! It worked! Thanks, brother.

    For those reading, if you don’t know how to downgrade your wp version… this is how I did it

    I went into Cpanel, file manager, and uploaded the .zip file to my main blogs directory

    Unziped it to a new folder that I called wp-old

    I went into that file and DELETED “wp-content” folder (!important)

    Then I highlighted everything else remaining in the “wp-old” folder

    I clicked the “move” button in the top nav menu

    And chose to move it to the main directory for the blog

    This automatically over-wrote the old stuff with the new stuff (or the other way around, as it were, lol)

    that’s it. Done.

    Thanks again Christian.

    September 12, 2013 at 12:15 pm #3590
    Nick Horton
    Participant

    Oh, haha, We must have been posting at the same time.

    I decided to downground. But in case it happens with the next upgrade, I’ll do as you suggested.
    Nick

    September 12, 2013 at 4:13 pm #3596
    Ray
    Keymaster

    Thanks everyone for bringing this bug to our attention.

    As Christian points out, WP 3.6.1 introduced a change that broke a function we were using, which in turn broke all AJAX functionality on the site.

    We have added a fix for this issue and are going to be releasing CBOX v1.0.5.1 very soon to address this.

    FYI, the fix in question can be found here. Let us know if this fixes things for you.

    September 12, 2013 at 9:17 pm #3602
    Boone Gorges
    Keymaster

    Hi everyone – Thanks for your patience and persistence in reporting and tracking down the problem.

    Commons In A Box 1.0.5.1 is now available, with a fix: https://commonsinabox.org/archives/3600

    September 12, 2013 at 10:35 pm #3603
    Nick Horton
    Participant

    Awesome, thanks Boone. I’ll give it a whirl!

    September 13, 2013 at 5:56 am #3604
    Christian Wach
    Participant

    CBOX 1.0.5.1 works for me with WP 3.6.1. Thanks for the fix, Ray & Boone.

    September 13, 2013 at 10:54 am #3605
    sam brown
    Participant

    has anyone got the idiots guide to installing the new cbox version? I have multisite enabled (if that makes a difference) but every time I upload I get the following message:

    The package could not be installed. The theme is missing the style.css stylesheet.
    Theme install failed.

    I know it will be something simple that I am doing wrong but I still can’t work it out.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 22 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 274

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    274 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register