Support » Plugin: Football Pool » (re)calculo do ranking

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AntoineH

    (@antoineh)

    The score calculation is a complex set of commands that are executed on the database, so there is not just one command to execute.

    The amount of users shouldn’t be a problem. Have you tried the tips in this post? The error log may contain useful information on why the script stops working.

    Thread Starter andriely

    (@andriely)

    Okay: D, thanks for the answers and the practicality of the log file tip.

    I analyzed the apache log file and I think I found the error:
    apparently he loops to find a column that does not exist.

    Error line:

    [Fri Jun 19 18: 28: 13.249696 2015] [: error] [pid 6084: tid 960] [client 127.0.0.1:59451] WordPress database error column 'id' unknown in 'field list' for consultation SELECT id, match_id FROM WHERE pool_wp_bonusquestions match_id> 0 made by require_once ('C: \\ Program Files \\ EasyPHP-12.1 \\ www \\ \\ bolao_online wp-load.php'), require_once ('C: \\ Program Files \\ EasyPHP-12.1 \\ www \\ \\ bolao_online wp-config.php '), require_once (' C: \\ Program Files \\ EasyPHP-12.1 \\ www \\ \\ bolao_online wp-settings.php ' ), do_action (init), call_user_func_array, wp_widgets_init, do_action ('widgets_init'), call_user_func_array, __lambda_func, register_widget, WP_Widget_Factory-> register, Football_Pool_Ranking_Widget -> __ construct, Football_Pool_Pool -> __ construct, Football_Pool_Matches -> __ construct, Football_Pool_Matches-> match_info , referer: http://127.0.0.1/bolao_online/wp-admin/admin.php?page=footballpool-options

    however I do not know how to fix
    ; /

    follows part of the log file if you need to analyze.

    https://www.dropbox.com/s/ifudx0opcqzllfo/of%20the%20log%20file.txt?dl=0

    Plugin Author AntoineH

    (@antoineh)

    For some strange reason the bonusquestion table was not correctly installed. If you don’t have (a lot) data in your plugin I would suggest that you uninstall the plugin with the option ‘keep data on uninstall’ off. That will delete all tables for the plugin from the database. And then re-install the plugin.

    If you already entered a lot of data (e.g. matches) then you would have to manually fix the tables that are incomplete or missing. The /data folder in the plugin contains an install.txt file with all table definitions for the plugin. Just keep in mind that the {$prefix} in the table names must be replaced with the correct prefix (‘pool_wp_’ by default).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘(re)calculo do ranking’ is closed to new replies.