Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text in fields not saving #26

Closed
samuelsmarason opened this issue Aug 15, 2011 · 17 comments
Closed

Text in fields not saving #26

samuelsmarason opened this issue Aug 15, 2011 · 17 comments

Comments

@samuelsmarason
Copy link

When I make textfield, multibox etc... and write some text in disappears when I publish the post/page

@MarcusDalgren
Copy link

Could you please try https://github.com/smurkas/Magic-Fields-2/zipball/beta-dev and see if you're still having the same issue?

@LeslieC
Copy link

LeslieC commented Aug 15, 2011

That fixed the problem for me on WP 3.2.1

@gnuget
Copy link
Member

gnuget commented Aug 30, 2011

@smurkas can you share what you do for fix the issue?

(as a pull request, a diff file or a link to the commit is ok)

Thank you

@MarcusDalgren
Copy link

Yes I'll setup a pull request for you, hopefully tonight but at the latest tomorrow.

@MarcusDalgren
Copy link

@gnuget I just tried the latest version of your master branch and everything is saving properly as far as I can see. Whatever it was it has been fixed somewhere along the way in your commits.

@gnuget
Copy link
Member

gnuget commented Aug 31, 2011

Oks.

Anyway thank you :-)

@gnuget gnuget closed this as completed Aug 31, 2011
@ghost
Copy link

ghost commented Oct 5, 2011

This bug has reappeared recently in the latest master running on WP v3.2.1
Could someone advise of the most recent commit that worked?

@gnuget
Copy link
Member

gnuget commented Oct 5, 2011

this start to happen when you update the plugin or also happen in a fresh installation?

@ghost
Copy link

ghost commented Oct 5, 2011

I had v1 and replaced it with v2, so I think it's a fresh install - there was certainly no upgrade process that ran. Could it be a conflict from the old data?

@gnuget
Copy link
Member

gnuget commented Oct 5, 2011

yeah.

In fact for the moment Magic Fields V2 is not backward compatible with the V1.

Sorry.

@ghost
Copy link

ghost commented Oct 5, 2011

Ok, I've removed the old plugin completely, including its data, and the problem persists. I might try a complete reinstall of v2 after backing up the data...

@gnuget
Copy link
Member

gnuget commented Oct 5, 2011

oks, actually there is no way to upgrade from v1 to v2 so if in your project you already create a few write panels and fields this not will work with the v2.

Right now mf2 is only for new projects.

@ghost
Copy link

ghost commented Oct 5, 2011

Yeah, I never actually created any write panels in v1 for this particular project. I saw v2 on the site before I got that far, so installed v2, ignored v2 and all data has been entered into the admin section using the v2 plugin.

I've now deleted all relevant db tables, reinstalled the plugin and added a panel back in and am still getting the same problem on a fresh install.

@ghost
Copy link

ghost commented Oct 5, 2011

Ok, it's working now. The wp_mf_post_meta table was the problem... It wasn't updating for some reason and the rows that did exist had post_id set to 0. I cleared it out again, updated a post and it repopulated it correctly. Thanks for your help and time with this.

@gnuget
Copy link
Member

gnuget commented Oct 5, 2011

Is not enough with remove the tables, magic fields add a few settings in the wp_options table for check which version of magic fields are you using, so you need check this table and delete any reference with magic fields too

@gnuget
Copy link
Member

gnuget commented Oct 5, 2011

Ahh oks no problem :-)

@katrianna
Copy link

Hola,

I'm having the same problem as detailed above, with a fresh install of MF2 on a new project.

I create a new magic field (textbox) and call it in the template using

When I type text into the new field on the custom post and click Update, the text disappears and a new Custom Field is created instead with the same label.

I'm not confident about working directly with the databases in phpMyAdmin so I'm nto sure what I should or shouldn't be deleting/clearing out. Is there an alternative fix for this?

Any suggestions would be really appreciated
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants