WordPress.org

Support

Support » Plugins and Hacks » Betta Boxes CMS » [Resolved] [Plugin: Betta Boxes CMS] Cannot Add Custom Fields

[Resolved] [Plugin: Betta Boxes CMS] Cannot Add Custom Fields

  • Custom fields will not load. It stays on the loading screen, so I can’t add any meta boxes.

    I deactivated all plugins to make sure there wasn’t a conflict.

    I disabled all addons on my browser to make sure there wasn’t an interfering addon.

    The plugin works when installed locally. So I’m not sure if there is a conflict with WordPress, my host…?

    http://wordpress.org/extend/plugins/betta-boxes-cms/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author shauno

    @shauno

    That is weird, I haven’t seen or heard of that problem before. Is there anything different from your live install than your test install? Like WP is in a sub directory or something? I can’t think of anything that would make that happen off the top of my head.

    No. The installs are the same.

    Plugin Author shauno

    @shauno

    So at what point does the problem come in. It sounds like when you click the ‘add field’ button when adding/editing a meta box. If that is then place, can you save a meta box without adding a field?

    No, I can’t save a meta box. When I hit save it stays on the page but the CSS gets stripped.

    Plugin Author shauno

    @shauno

    I have a sneaky suspicion that there is a problem with the plugin setting its own admin URL. Do you have firebug or an equivalent DOM debug tool? If so, can you check the form action on the add/edit meta box screen and let me know what it is?

    Check this on the Meta Boxes screen?

    I have firebug, but I don’t know what I’m checking.

    Plugin Author shauno

    @shauno

    On the screen where you add a new meta box, right click on the ‘Title’ label, and select ‘Inspect element with firebug’.
    Then, in the DOM browser that should show, look for the first <form> tag the label is inside. It should look something like this:
    <form action="http://example.com/wp-admin/options-general.php?page=betta-boxes&action=add-new-box&noheader=true" method="POST">

    Copy and paste your form tag here (remember to use the code button above or it wont show properly on the forum).

    I’m off to bed, it’s getting late here in South Africa. I will check the thread again in the morning, and hopefully we can get this sorted ASAP 🙂

    Alright, sleep well!

    I see:

    <form action="http://mywebsite.com/wp-admin/options-general.php?page=betta-boxes&action=add-new-box&noheader=true" method="POST">

    Looks exactly like what you posted.

    Plugin Author shauno

    @shauno

    Then I’m out of ideas. There must be something conflicting with the plugin, but as you said you disabled everything else I have no idea what it could be.
    The only way I’m going to be able to debug this is if I can see it. That means giving me access to the backend of your site. I know that’s a big ask, but I really can’t help you otherwise.

    If you are ok with that, send me an email to shaunalberts AT gmail DOT com, and I will check it out for you.

    Thanks. I found out the problem. It was conflicting with Better WordPress Security and the HTTPS settings from that plugin. I kept getting the “This page is insecure” warning when trying to save a meta box with the Betta Boxes plugin. Seems I have to deactivate the other plugin or stop WordPress from loading over HTTPS in order to use your plugin. Thanks for your time and help.

    Plugin Author shauno

    @shauno

    Interesting. Betta boxes gets relevant URLs using WP’s built in function get_bloginfo(), so I figured anything hooking into WP correctly wouldn’t conflict. I will try find some time to download Better WordPress Security and see if I can make sure the 2 are compatible in the future.
    Glad you got it sorted for now.

    Cheers

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Resolved] [Plugin: Betta Boxes CMS] Cannot Add Custom Fields’ is closed to new replies.
Skip to toolbar