WordPress.org

Ready to get started?Download WordPress

Forums

Betta Boxes CMS
[resolved] Cannot Add Custom Fields (13 posts)

  1. JDaniCreations
    Member
    Posted 1 year ago #

    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/

  2. shauno
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. JDaniCreations
    Member
    Posted 1 year ago #

    No. The installs are the same.

  4. shauno
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  5. JDaniCreations
    Member
    Posted 1 year ago #

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

  6. shauno
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  7. JDaniCreations
    Member
    Posted 1 year ago #

    Check this on the Meta Boxes screen?

  8. JDaniCreations
    Member
    Posted 1 year ago #

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

  9. shauno
    Member
    Plugin Author

    Posted 1 year ago #

    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 :)

  10. JDaniCreations
    Member
    Posted 1 year ago #

    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.

  11. shauno
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  12. JDaniCreations
    Member
    Posted 1 year ago #

    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.

  13. shauno
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic