Do Removed / Deleted WordPress Widgets Are Lost Forever? - mysql

If a person has some important text on a widget and accidentally he removes/deletes the widget by expanding it and clicking delete in wp-admin widget's area. Then do this mean that the widget has been lost forever?
Do widget resides somewhere in any of the mysql database's table? Are there any revisions of widgets available?
Another way to get the text is to search the web caching engines like Google Cache, Wayback Machine etc. But what if we are unlucky enough that we have not allowed web crawler in robots.txt file?
Update (August 21, 2013) :-
Besides you give a general answer. Also state whether I can recover a simple 'text/html widget' that comes along with WordPress? Thanks.

It depends on the widget:
the widget developer decides where and how to store the widget data and if that data has revisions or not.
At this point you have the fallowing options:
1) access your database and have a look in the "_options" table for for the option_name %LIKE% widget -> it will show you all the data you have saved related to that widget, if you don't find what you are looking for:
2) check the php code of the widget to see if you can find where it saves the data and if it has revisions.
Your best luck is to have the data in the "_options" table and if you have backup of the table you can extract the data from there.

Related

Inconsistency in MS Graph API behaviour for onenote

When a section renamed get sections API doesn't reflect the updated name whereas get page api shows updated parent section name. This seems to be bug/ data inconsistency in ON API.
On change of anything at page level updates the lastModifiedDateTime for a section but nothing gets changed at notebook level. This again seems to be like some data inconsitency issue.
Can somebody clear this confusion.
(Note - All above can be tested using MS Graph API Explorer
)
These are two separate topics:
Section renaming
This is a known limitation/bug in OneNote - if you rename a section in OneNote Online (in your browser), then the API GET ~/notebooks/id/sections or GET ~/sections will give you the "old" name. This is because OneNote Online doesn't actually rename a file, it only marks the file as "to be renamed" - if you were to look at the file itself in OneDrive/SharePoint it would still have the old name.
Once the OneNote Native Client sees the section (for example OneNote for Windows) sees the section that has been marked as "to be renamed", it actually renames the file.
The OneNote API GET ~/sections/id/pages actually looks at the section binaries and is able to tell whether the section is renamed or not, which is why that name can be trusted as the "most up to date" one.
I have communicated this feedback to our team and we are exploring alternatives - I encourage you to start an item in uservoice so we can better understand impact.
https://onenote.uservoice.com/forums/245490-onenote-developer-apis
LastModifiedTime (LMT) on notebook/section clarifications:
The LMT of a section is equal to max(LMT of pages under it).
The LMT of a section group however is not max (LMT of sections and section groups under it). A section group is a folder and its LMT should behave like that of a folder in a traditional file system (reflects time of last add/delete of a file/folder directly under it).
However, there is nothing stopping you from using $expand and calculating the LMT (as you understand it) yourself based on the entities below the notebook/section group.
https://blogs.msdn.microsoft.com/onenotedev/2014/12/16/beta-get-onenote-entities-in-one-roundtrip-using-expand/

Moodle - where are URLs/links stored in database?

I'm exporting an old release 1.9.2 and importing to 3.0.2.
Each module has dozens of videos that I play via an URL/link, which points to my own .PHP program on the site (and that wraps a Camtasia video).
I found that in 3.0.2, the link opens on a separate page, unless I edit each link by going to "Appearance", then "Display" and setting it to "Embed".
So I would like to write a mySQL update script to automatically set this flag for all such links (I will add a where clause to my script name).
I checked database in PHP/MyAdmin, and didn't see any likely table names.
You should attempt to use the admin tools to update everything, go to your moodle installation's main URL.
Then go to the site administration. After /admin in the url, add /tool/replace and go there.
You can there enter what you want to find in the db, and replace it with another value. Just be carefull with this tool and make a backup before you begin.

No Available Columns for OTRS 4 Open Tickets Widget in the Dashboard

After upgrading from 3.2.17 all the way to 4.0.7 (and rewriting our customizations for the new version) it would seem there are columns missing in the open tickets widget and the widget has no columns available within the widget settings.
The new tickets widget settings have no problem populating columns.
Version 3.2.17 displayed
While version 4.0.7 is displaying
Anyone have any thoughts where the issue may lie?
Seems to me, that your "Customizations" have broken the Config XML file.
Take a look at config option DashboardBackend###0110-TicketOpen and compare it to TicketNew option just above it.
There is a list of available/Default columns. Check if they are there!
OTRS TicketOpen Default Columns
In case it does not help, please enlist the System Log content just after browsing the dashboard and maybe /var/log/httpd/error_log content as well for any system errors
Good Luck!

MediaWiki - rename page - "Move" tab not shown

I suspect this is a simple/silly/trivial problem - but I've spent ages without finding a solution.
I have a vanilla MediaWiki instance - a few months old - on an Ubuntu server recently upgraded to 14.04. There is a single "user" - this user is in the "administrator" and "bureaucrat" groups when I look at the "User rights management" special page.
I need to rename some pages... I understand, from the FAQ, that I need to use the "Move" tab - and know that this tab is only shown for logged-in users. (The wiki is configured not to require users to be logged in to do edits.... I don't really need/want any access control.)
Even when logged in, I don't see a "Move" tab... Please can someone give me a hint - What am I doing wrong?
In the Vector skin, the Move tab is by default collapsed into a More tab. Depending on the version of your installation, that might only be an easy-to-overlook triangle:
^^^^

Accidentally deleted a product in the admin panel,how can I get it back?

Last night I modified the description of a product in the admin panel, and I carelessly deleted one product. I want to get it back. I tried using the product backup CSV file to get it back at the admin panel but I found that it didn't work. I'm very confused when I import products in the admin panel, what format data does it need? Do you have some good ideas to help me to get the accidentally deleted product back?
I am using the Magento VERSION 1.5.1.0
automatically admin panel, browser to system -> import/export -> import (see image)
Well first of all please specify what does it mean
but eventully I find that it doesn't work
Well what I would suggest you to do now: if product is simple, simply recreate on on the basis of backup CSV.
If you don't want then please specify, how do you do your backup and why this file don't work?
Perhaps you simply should clean cache and reindex.