Welcome widget only saves 1 character
-
When using the Welcome Widget, it doesn’t matter what I put in, only one character displays in both the title and text boxes. The first letter of the text box is displays in both areas, regardless of what I enter. I’m also unable to put in 2 digit numbers in widgets like Members and Groups. Any help is appreciated.
-
This sounds like you have object-cache.php running in your /wp-content/ folder right? I have seen this and can’t remember if it was object cache or xcache that was getting poisoned somewhere along the way. I would delete all contents out of your /wp-content/cache/ folder and reboot your web server (apache?). I have had all kinds of issues with object cache and frankly am trying to quit trying to use it
If it is something else, let me know but it sure strikes of a cache issue.
Trent
Unfortunately, this didn’t fix the problem. I even removed object-cache.php. Still stuck.
You still have to clear all the entries in /wp-content/cache/ I would imagine though. It will most likely be that since the pages are still saved with those variables. It might help to turn “turbo” off for that blog as well to be sure until it is fixed.
Trent
Turbo is off, and I deleted the entire cache folder. I’ve basically replaced it with a text box for the time being…but it is an irritating problem.
So that worked? object-cache on WPMU can be a difficult animal and even though I keep trying it out from time to time, I usually have to quit using it due to some issue or another…
Trent
No, nothing has worked so far. Deleted object-cache, the cache folder, restarted apache, even cleared my browser cache, then logged in and tried to readd the welcome widget…still just 1 character.
Oh…ok, but the widget saved as that, so you might have to actually change it to what you want again and save it. That is the problem with cache poison as it might actually have saved that widget to only have that one character….see if that works. it should take the contents now.
And yes, I had “many” blogs to fix when that happened to me, that is why I am reluctant to try object cache again….
Trent
LOL…sorry…the Welcome widget hates me. Still just saves the first character of the “Welcome Text” block as the entry for both the title and welcome text.
Try removing it, saving it, adding it, saving it, editing it, saving it. Sounds strange, but have to get the entry out of there somewhere.
Did that…even went so far as to delete all buddypress files and then copy them back in from my original download, since I hadn’t spent a lot of time modifying the site yet. Do you happen to know if the info stored in the Welcome widget is stored in a database table? Which one?
I deleted the database table bp_core_widgets_welcome and then let BuddyPress/Wordpress rebuild it when I created a new welcome message. Works perfectly now.
I am running into the same problem. Where is that table? I can’t find it.
Thanks
same problem here…it’s weird… the database bp_core.. didn’t find it
There is no such table in bp. Tell me what the symptoms are for you. Are you using the wp object cache?
indeed, i have delete the object-cache.php, delete the files in /cache… always the same problems with widget…
here are the symptoms, exactly the same in the first post
“When using the Welcome Widget, it doesn’t matter what I put in, only one character displays in both the title and text boxes. The first letter of the text box is displays in both areas, regardless of what I enter. I’m also unable to put in 2 digit numbers in widgets like Members and Groups.”
I restart the apache server too..without success
hmm. ok. I’ll take a look at the issue. What version of wpmu and bp are you using. If trunk what rev for each.
First of all you can’t put html in the widget. It gets stripped. Is that what you are trying to do?
1286 for BP
1711 for WPMU
No just trying to put some text !
Thx for your help !
Turn off object caching in wp if it’s still on.
Go to the blog options table in phpmyadmin. That’s wp_X_options where X is the blog id that the welcome widget is used on. Look for an entry that has the field ‘option_name’ of ‘bp_core_welcome_widget’. Delete that record and try setting up the widget again.
Burtadsit, thank you very much ! you have find the solution ! thx very much…
You betcha no problem.
I am also having this problem with the Welcome Widget and all other widgets i tested.
Its only saving the first character i type in.
looking at the entry in wp_X_options before i save (just added welcome widget) it contains ‘a:2:{s:5:”title”;s:0:””;s:4:”text”;s:0:””;}’
When i save the widget text leaving the fields blank its does what it should… the db field again says ‘a:2:{s:5:”title”;s:0:””;s:4:”text”;s:0:””;}’
However when i add some text to the widget and save ir does this;
does the ajax call posting the correct widget text. then something happens as the db field now says
‘FIRST CHARACTER OF WIDGET TEXT rray’
Any ideas?
I think perhaps its something in the ajax call not saving correctly.
Can tell me what page handles the save action of the widget? I should be able to do further tests from there
thanks
- The topic ‘Welcome widget only saves 1 character’ is closed to new replies.