We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

widget broke my dashboard[Solved] | Forum

Ed Domich
Ed Domich Feb 11 '14
i recently tried to add a custom html widget to my dashboard page. after finishing, my newsfeed disappeared and i cant click on customize page. i manually went to the link to customize page but i cannot remove the widget. it is unresponsive. i even tried disabling javascript and that had no affect on it. the widget contains an iframe, so im sure the javascript is conflicting with something else on the page. all i want to know is if there's a way to remove the custom widget another way besides in the customize page. thanks for any help.
The Forum post is edited by ross Feb 17 '14
Ed Domich
Ed Domich Feb 11 '14
correction - this happened on my index page, not dashboard.
Purusothaman Ramanujam
Was that widget a valid HTML code?
Ed Domich
Ed Domich Feb 12 '14
I actually grabbed the code off this website meme generator. The code wasn't working, so I tried messing around with it. I think I removed the />, but I can't remember. I tried several things before the page crashed.
ross Team
ross Feb 12 '14
which widget you used to embed code?
Ed Domich
Ed Domich Feb 12 '14
Custom html
Ed Domich
Ed Domich Feb 13 '14
My index page is completely down. Nobody has a clue???
bobbi
bobbi Feb 13 '14
i have put in a bad code on my site before but disable javascript did work as it moves everything up to available widgets, if that doesnt work you may have to go in from the server and remove it hopefully some one here will be able to help you do that if there is no other way
Ed Domich
Ed Domich Feb 13 '14
even when i disable javascript i cannot click on anything, not even finish customizing. i wish i knew where the code is stored on my server so i can manually delete it. does anyone know where code for custom widgets is stored?
ross Team
ross Feb 13 '14
you can delete the content of the custom html widget in the database in this table ow_base_component_setting
Ed Domich
Ed Domich Feb 14 '14
thanks for the suggestion ross. i deleted every line of that widget in ow_base_component_setting and it's still there! how do i get rid of this thing?!
Ed Domich
Ed Domich Feb 15 '14
okay so i finally fixed it! for anyone who ever runs into this problem, here's how i did it:

following ross's suggestion, i went straight to my phpadmin on my cpanel to delete every table associated with this problem widget, paying attention to the "componentplaceuniqname" which was something like "admin-3445745635623". simply deleting the contents of the "content" line was not enough, so i started deleting the other lines that contained "admin-3445745635623". there were several of these, but still no luck.

i recently purchased purus's plugin called backup genie, and an idea hit. i simply downloaded the last backup that the plugin created and opened it in excel. ctrl-f to perform a search of the document, placing "admin-3445745635623" into the search field. this yielded a few more results than just in the ow_base_component_setting. the final line i deleted in sql was under "ow_base_component_place_cache", and for whatever reason did not actually contain the term "admin-3445745635623". but when i compared the values of this line in excel to the "cache" table on my sql database, there was a match. deleted. fixed. very happy.

if anyone else has this problem i am more than willing to walk you through this process. thanks everyone for your help and suggestions!!!
ross Team
ross Feb 17 '14
Great! Thanks for sharing, I'm going to mark this post as solved.