php error

(8 posts) (2 voices)

Tags:

No tags yet.

  1. Dev, Member

    Hi,

    I am getting the below error on reports, I am not sure how to resolve this. Please recommend how I can resolve this:

    Warning: Undefined array key -1 in /var/www/html/mydbr/apps/showReport.php on line 0

    Thank you

  2. myDBR Team, Key Master

    Please open a support ticket with SQL export of the report. Most likely there is an error in the report code that myDBR does not catch.

    --
    myDBR Team

  3. Dev, Member

    Hi, Do I have to send the SQL query in the ticket, or is there a specific way to export SQL?

  4. myDBR Team, Key Master

    Run the report as an admin with '&export=sql' added to the URL. Attach the output to the support ticket. This allows us to rerun the exact same report without using your tables or data.


    myDBR Team

  5. Dev, Member

    Hi,

    I don’t understand. Please help me. How do I run it as an admin? Should this be done on the login page itself or on the specific report link? Please provide the steps.

  6. myDBR Team, Key Master

    Log in as myDBR admin. Admin user has access to the SQL Editor etc.

    Then run the report as usual. If you get the error, use the export menu in top right corner and choose the SQL export type. Alternatively, you can add '&export=sql' to the report URL.

    --
    myDBR Team

  7. Dev, Member

    Hi,

    Thank you, Ive raised a ticket with the forum link as subject.

  8. myDBR Team, Key Master

    You were referring to a non-existent column in dbr.sum command. myDBR now handles the error better.

    --
    myDBR Team


Reply

You must log in to post.