WordPress.org

Ready to get started?Download WordPress

Forums

DB Toolkit
[resolved] DB Toolkit Insufficient permissions to access this page (3 posts)

  1. HorrendousHaddock
    Member
    Posted 1 year ago #

    If I click on the Edit icon in the list view under action, the edit screen appears and works. If I Click on the text in the list view of my members the edit screen appears and works. If I then click on next page by clicking page forward in footer to go to next page and click on edit button the edit screen appears and works. If I click on the text in the list I get You do not have sufficient permissions to access this page.

    Any idea where I've gone wrong? Permissions are set as Effective Capability Permission: read.

    Here is a link to a screenshot of the problem.

    http://www.uxbridgescouts.org.uk/problem_dbtoolkit.png

    Thanks & Regards

    Pete

    http://wordpress.org/extend/plugins/db-toolkit/

  2. HorrendousHaddock
    Member
    Posted 1 year ago #

    Once you use the page next/previous in the footer of a list and then try and edit a record the error occurs.

    To get around this problem I have changed line 2205 in data_report/class.php

    from

    $PageLink = 'admin.php?page=' . $_GET['page'] . '&sub=' . $Config['_ItemViewInterface'] . '&' . htmlspecialchars_decode(http_build_query($ReportVars));

    to

    $PageLink = 'admin.php?page=dbt_builder&renderinterface=' . $Config['_ItemViewInterface'] . '&' . htmlspecialchars_decode(http_build_query($ReportVars));

  3. David Cramer
    Member
    Plugin Author

    Posted 1 year ago #

    thanks for pointing out a solution.
    I'll get this looked at in the next update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic