Jump to content


Photo
- - - - -

MAJOR WordPress Issue...


This topic has been archived. This means that you cannot reply to this topic.
8 replies to this topic

#1 i-appreciateorg

i-appreciateorg

    Member

  • Members
  • PipPip
  • 13 posts

Posted 16 January 2010 - 01:30 AM

So I am trying to log in to the WordPress control panel to edit my website and for some reason I am getting the following error: "Sorry, but you don??™t have the administrative privileges needed to do this." I don't know why this happened. I edited my website last night (just made some content changes) and today I went to go edit it and it is giving me this error message. I did upgrade the PHP from 4 to 5 today. I have no idea why it's doing this and really need my website up and running. Some detailed instructions would be great (I can't access WordPress at all). Thanks.

#2 arpowers

arpowers

    Founder

  • Administrators
  • 3252 posts

Posted 16 January 2010 - 03:41 AM

ohhh.. thats an interesting problem. I didn't realize you were on php4. This is a security measure to protect your site, to fix just add: `?activated=true` to the end of any site url...

#3 i-appreciateorg

i-appreciateorg

    Member

  • Members
  • PipPip
  • 13 posts

Posted 16 January 2010 - 03:47 AM

wow that worked...I went to wp-admin and added ?activated=true and it let me get in to my control panel and now the site is up again...so does this mean that I don't have to do anything else and it will be fine after this? sorry about all the questions, I am new to WordPress (much more familiar with HTML)... thanks

#4 arpowers

arpowers

    Founder

  • Administrators
  • 3252 posts

Posted 18 January 2010 - 07:40 PM

yes you should be fine... its actually something with the theme that makes sure you are an administrator before you change options... since you were on php4 the options hadn't been set. it was a use case we didn't think of.

#5 success

success

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 06 August 2010 - 05:34 PM

Anyway to remove the code from the theme so I don't need to add the ?activated=true every time after an install?

#6 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts

Posted 09 August 2010 - 05:44 PM

You mean in the case you can't upgrade to PHP5?

#7 harryfear

harryfear

    Member

  • Members
  • PipPip
  • 14 posts

Posted 10 September 2010 - 09:05 PM

Hi, I am trying to migrate my site to its live domain from a dev domain. I have done a full DB backup and manually find/replaced all old domain references and replaced with new domain. I have done the same with all site files. However, when I try to access the site at its new location I get this error. "Sorry, but you don??™t have the administrative privileges needed to do this." I tried to use ?activated but it just messed up things even more, seeming to reset all WhiteHousePro data. This is really urgent. Please help.

#8 silentship

silentship

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 13 September 2010 - 12:30 PM

Yes, ?activated=true solves the "Sorry, but you don't have the administrative privileges needed to do this." problem. I had also figured this out from the code. But this also resets the custom theme. So it is not really a solution. Is there a way to pass this and also keep the custom theme? (Running on lighttpd with php 5.1.6)

#9 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts

Posted 13 September 2010 - 05:59 PM

Does this info help?

Please Login or Register to see this Hidden Content