WordPress.org

Support

Support » How-To and Troubleshooting » capabilities.php Permission error

capabilities.php Permission error

  • Hi..i have a problem with my wordpress. i cant seem to login into my account. it said on the screen:

    Warning: Invalid argument supplied for foreach() in /home/dakwah/public_html/komik/wp-includes/capabilities.php on line 19
    You do not have sufficient permissions to access this page.

    this happens right after i change the home and blog address of my wordpress site in the http://www.myurl.com/komik/wp-admin/options.php

    can someone please help?
    thanks…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you sure you didn’t also change the table prefix in the wp-config.php file? Doing so might produce the error you mention.

    Also, have you upgraded recently?

    yup…the only thing that i did was i access an option page which is not in the navigation bar of the admin page. the page name was All options (www.example.com/komik/wp-admin/options.php)

    also..i didnt upgrade.

    the page that i access is the page that shows ALL the options of my wordpress in one page. is it not a good thing to change the options from here.(which cause all this trouble).

    it happen after i tried to make a static page and change the wordpress URL, from http://www.example.com/komik to http://www.example.com/komik/test as i was following a tutorial. i get confused which address should i change. is it the blog address or the wordpress address. i guess i should only change my blog address. i dont know. is there any way to handle this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘capabilities.php Permission error’ is closed to new replies.