SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict anita_86's Avatar
    Join Date
    Aug 2010
    Location
    Nagpur, India
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    List_Exercises.php?page=2 gives error in admin area

    Hi.I have added a custom menu item through Admin Menu Editor plugin.And I want to paginate the results coming from the database in this page.Problem is, though http://yoursite/wp-admin/List_Exercises.php works fine, when I try to go to 2nd page http://yoursite/wp-admin/List_Exercises.php?page=2 I get following error:
    You do not have sufficient permissions to access this page.

    I have added the file in page as follows:
    PHP Code:
    $targetpage "List_Exercises.php"
    I can provide part of my code if needed.Please help in this regard.
    It's easy once you know how...

  2. #2
    SitePoint Addict anita_86's Avatar
    Join Date
    Aug 2010
    Location
    Nagpur, India
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Found solution today!!Problem was with ?page=2.Just changed variable to paged=2 and it started working.Might help someone else
    It's easy once you know how...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •