Please open this page in the Admin panel only

Categories: Blogging, News, Professional, SSC
Comments: No Comments
Published on: July 30, 2014

I am taking a slight deviation from the usual type of posts that I share.  This time, I just want to share a quick and easy fix that I ran across due to a broken blog site that lasted for about a day starting on July 28th.

I didn’t even know there was a problem for a majority of the outage (ouch!).  And that just reinforced an age old requirement in IT.  If deploying a change – make sure to validate and test after the deployment.  Yes that was a bit embarrassing.  Despite that, there is something else to learn from the outage.

The issue started when updating a plugin called Google Analytics Dashboard.  The update was to go to version 2.1.  Upon completion of the update, all pages on my blog started posting a message that said the following.

Please open this page in the Admin panel only

That said, the root of the problem was related to the gad-admin-options.php file.  The file contained the following code.

There are several different means to fixing the problem.

  1. Disable/Delete the plugin.
  2. Comment out the code
  3. Update to 2.1.1 which was released on 7/30.

Options 1 and 3 are very easy.  Option 2 can be done via several methods.  If you have access to your admin page in wordpress, then you can edit the plugin file from the plugins page.  All you need to do is add a comment like in the following code snip.

If you don’t have access to your admin page, that’s ok.  You can still get to the file by connecting to your ftp and performing the same routine.  The file should be located in the following path.

wp-content/plugins/google-analytics-dashboard/gad-admin-options.php

See, real easy.  A little bit of a nuisance but it can be fixed quickly and easily.  Just keep in mind, when deploying a change, take the time to test and verify.  If something is not quite right, be prepared to rollback or find a fix.

How Silly

Categories: News, Professional
Comments: 1 Comment
Published on: April 7, 2010

Have you ever done anything that made you feel like a dunderhead?  Maybe a little bone-headed, thick, numb-skullish?

Here is my grin and bear it oops post about a recent post I wrote.  I somehow believed that 6 April 2010 was the second tuesday of the month.  I wasn’t paying attention to the dates, otherwise I would have caught it.  Since I thought it was the second tuesday of the month I got in a hurry to put out my T-SQL Tuesday Submission or the syndicated form of it at SSC.  This is a part of the meme started by Adam Machanic and being hosted this month by Aaron Nelson.

I enjoy participating in this meme.  I learn something new each month revolving around the topic presented each month.  I think some pretty cool stuff is demonstrated and it helps me to learn.

The end result is I was a bit early this month since the real date for submission is not until 13 April 2010.  I had the option of removing my post and delaying the publication until next week.  I felt I had better take my lumps rather than republish the same thing in a week.  Especially after enough people had already read the article.

Sorry for any confusion this mistake may have caused people that read the article.  The content is still good, but just don’t think of it as a TSQL Tuesday submission.

page 1 of 1








Calendar
October 2017
M T W T F S S
« Sep    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  
Content
SQLHelp

SQLHelp


Welcome , today is Tuesday, October 17, 2017