Title: no data if using table prefix
Last modified: August 31, 2016

---

# no data if using table prefix

 *  Resolved [faina09](https://wordpress.org/support/users/faina09/)
 * (@faina09)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/no-data-if-using-table-prefix/)
 * using a table prefix other than ‘wp_’ the user table is not found by stmt [@line](https://wordpress.org/support/users/line/)
   217 of wp-athletics-db.php
    To fix, just repalce ‘wp_users’ with ‘$this->USER_TABLE
   WHERE’ in php code
 * [https://wordpress.org/plugins/wp-athletics/](https://wordpress.org/plugins/wp-athletics/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [faina09](https://wordpress.org/support/users/faina09/)
 * (@faina09)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/no-data-if-using-table-prefix/#post-7057940)
 * In the same way, ‘wp_’ should be changed to ‘$wpdb->’ to correctly access tables(
   lines 390,391,392,1404,1436,1437,1438,2014 of wp-athletics-db.php)
 *  [Jakob](https://wordpress.org/support/users/jakobbader/)
 * (@jakobbader)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/no-data-if-using-table-prefix/#post-7058214)
 * Thanks for the hint…
 *  [Feilding Moa](https://wordpress.org/support/users/feilding-moa/)
 * (@feilding-moa)
 * [10 years ago](https://wordpress.org/support/topic/no-data-if-using-table-prefix/#post-7058232)
 * Might be a dumb question, but when I try to access wp-athletics-db.php I get 
   an error message saying I don’t have sufficient permission to access. I am one
   of the registered administrators for thw WP site. Anyone have a simple guide 
   for me before I go for a run?
 *  [Jakob](https://wordpress.org/support/users/jakobbader/)
 * (@jakobbader)
 * [10 years ago](https://wordpress.org/support/topic/no-data-if-using-table-prefix/#post-7058233)
 * Hi Feilding Moa
 * How do you try to access it? If you go trough your FTP client or cpanel file 
   manager you shouldn’t have any problems, as you have already sufficient permission.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘no data if using table prefix’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-athletics_ab6242.svg)
 * [WP Athletics](https://wordpress.org/plugins/wp-athletics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-athletics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-athletics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-athletics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-athletics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-athletics/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Jakob](https://wordpress.org/support/users/jakobbader/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/no-data-if-using-table-prefix/#post-7058233)
 * Status: resolved