CBOX Theme Options Disappeared
Tagged: theme options
- This topic has 21 replies, 8 voices, and was last updated 11 years, 11 months ago by
visionsynergy.
-
AuthorPosts
-
September 11, 2013 at 11:08 pm #3579
Nick Horton
ParticipantHi 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,
NickAttachments:
You must be logged in to view attached files.September 12, 2013 at 6:00 am #3581
EliParticipantHey @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 12 years, 1 month ago by
Eli.
September 12, 2013 at 6:11 am #3583sam brown
ParticipantI 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 #3584sam brown
ParticipantStill 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 #3585Christian Wach
ParticipantI 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.phpfile 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-contentdirectory) 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 #3586Christian Wach
ParticipantUPDATE: Okay so the problem is this… Because WordPress 3.6.1 now tries to sanitize
wp_get_referer()and because the CBOX plugin checkscbox_is_admin()on init (which callswp_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 #3587Nick Horton
ParticipantThanks Christian, I’ll try that and see how it goes. I appreciate the quick reply.
NickSeptember 12, 2013 at 12:03 pm #3588Christian 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.phpfrom the latest build.Or amend the way that CBOX initialises by changing line 223 of
loader.phpin the root of the plugin’s directory from:// Vroom! cbox();to
// Vroom! add_action( 'plugins_loaded', 'cbox' );September 12, 2013 at 12:14 pm #3589Nick Horton
ParticipantWoo! 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 #3590Nick Horton
ParticipantOh, 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.
NickSeptember 12, 2013 at 4:13 pm #3596
RayKeymasterThanks 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 #3602Boone Gorges
KeymasterHi 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 #3603Nick Horton
ParticipantAwesome, thanks Boone. I’ll give it a whirl!
September 13, 2013 at 5:56 am #3604Christian Wach
ParticipantCBOX 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 #3605sam brown
Participanthas 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.cssstylesheet.
Theme install failed.I know it will be something simple that I am doing wrong but I still can’t work it out.
-
This reply was modified 12 years, 1 month ago by
-
AuthorPosts
- You must be logged in to reply to this topic.