lykfeldt
07-04-05, 10:52 PM
I've just upgraded from 1.0.2 to 2.0. I can see, edit and add projects, but when I go to the tasks-list I get this error:
ERROR: d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p(61): Error executing: SELECT
distinct tasks.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id,
task_priority, task_percent_complete, task_duration, task_duration_type, task_project,
task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone,
assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count,
count(distinct files.file_task) as file_count, tlog.task_log_problem, history_date as last_update FROM tasks LEFT JOIN history ON history_item = tasks.task_id AND history_table='tasks' LEFT JOIN projects ON project_id = task_project LEFT JOIN users as usernames ON task_owner = usernames.user_id LEFT JOIN user_tasks as ut ON ut.task_id = tasks.task_id LEFT JOIN users as assignees ON assignees.user_id = ut.user_id LEFT JOIN task_log AS tlog ON tlog.task_log_task = tasks.task_id AND tlog.task_log_problem > '0' LEFT JOIN files on tasks.task_id = files.file_task LEFT JOIN user_task_pin as pin ON tasks.task_id = pin.task_id AND pin.user_id = 2 WHERE
task_project = 92
AND task_status = '0'
GROUP BY task_id
ORDER BY project_id, task_start_date
Backtrace:
0 d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p:61 dprint('d:\\inetpub\\wwwroot\\dotproject\\includes \\db_adodb.php',61,0,'Error executing: SELECT
distinct tasks.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id,
task_priority, task_percent_complete, task_duration, task_duration_type, task_project,
task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone,
assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count,
count(distinct files.file_task) as file_count, tlog.task_log_problem, history_date as last_update FROM tasks LEFT JOIN history ON history_item = tasks.task_id AND history_table=\'tasks\' LEFT JOIN projects ON project_id = task_project LEFT JOIN users as usernames ON task_owner = usernames.user_id LEFT JOIN user_tasks as ut ON ut.task_id = tasks.task_id LEFT JOIN users as assignees ON assignees.user_id = ut.user_id LEFT JOIN task_log AS tlog ON tlog.task_log_task = tasks.task_id AND tlog.task_log_problem > \'0\' LEFT JOIN files on tasks.task_id = files.file_task LEFT JOIN user_task_pin as pin ON tasks.task_id = pin.task_id AND pin.user_id = 2 WHERE
task_project = 92
AND task_status = \'0\'
GROUP BY task_id
ORDER BY project_id, task_start_date')
1 d:\inetpub\wwwroot\dotproject\modules\tasks\tasks. php:288 db_exec('SELECT
distinct tasks.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id,
task_priority, task_percent_complete, task_duration, task_duration_type, task_project,
task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone,
assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count,
count(distinct files.file_task) as file_count, tlog.task_log_problem, history_date as last_update FROM tasks LEFT JOIN history ON history_item = tasks.task_id AND history_table=\'tasks\' LEFT JOIN projects ON project_id = task_project LEFT JOIN users as usernames ON task_owner = usernames.user_id LEFT JOIN user_tasks as ut ON ut.task_id = tasks.task_id LEFT JOIN users as assignees ON assignees.user_id = ut.user_id LEFT JOIN task_log AS tlog ON tlog.task_log_task = tasks.task_id AND tlog.task_log_problem > \'0\' LEFT JOIN files on tasks.task_id = files.file_task LEFT JOIN user_task_pin as pin ON tasks.task_id = pin.task_id AND pin.user_id = 2 WHERE
task_project = 92
AND task_status = \'0\'
GROUP BY task_id
ORDER BY project_id, task_start_date')
2 d:\inetpub\wwwroot\dotproject\style\default\overri des.php:83 require('d:\\inetpub\\wwwroot\\dotproject\\modules \\tasks\\tasks.php')
3 d:\inetpub\wwwroot\dotproject\modules\projects\vie w.php:398 show()
4 d:\inetpub\wwwroot\dotproject\index.php:319 require('d:\\inetpub\\wwwroot\\dotproject\\modules \\projects\\view.php')
ERROR: d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p(84): Invalid object passed to db_num_rows
Backtrace:
0 d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p:84 dprint('d:\\inetpub\\wwwroot\\dotproject\\includes \\db_adodb.php',84,0,'Invalid object passed to db_num_rows')
1 d:\inetpub\wwwroot\dotproject\modules\tasks\tasks. php:289 db_num_rows(false)
2 d:\inetpub\wwwroot\dotproject\style\default\overri des.php:83 require('d:\\inetpub\\wwwroot\\dotproject\\modules \\tasks\\tasks.php')
3 d:\inetpub\wwwroot\dotproject\modules\projects\vie w.php:398 show()
4 d:\inetpub\wwwroot\dotproject\index.php:319 require('d:\\inetpub\\wwwroot\\dotproject\\modules \\projects\\view.php')
Fatal error: Call to a member function on a non-object in d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p on line 85
d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p(61): Error executing: SELECT
distinct tasks.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id,
task_priority, task_percent_complete, task_duration, task_duration_type, task_project,
task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone,
assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count,
count(distinct files.file_task) as file_count, tlog.task_log_problem, history_date as last_update FROM tasks LEFT JOIN history ON history_item = tasks.task_id AND history_table='tasks' LEFT JOIN projects ON project_id = task_project LEFT JOIN users as usernames ON task_owner = usernames.user_id LEFT JOIN user_tasks as ut ON ut.task_id = tasks.task_id LEFT JOIN users as assignees ON assignees.user_id = ut.user_id LEFT JOIN task_log AS tlog ON tlog.task_log_task = tasks.task_id AND tlog.task_log_problem > '0' LEFT JOIN files on tasks.task_id = files.file_task LEFT JOIN user_task_pin as pin ON tasks.task_id = pin.task_id AND pin.user_id = 2 WHERE
task_project = 92
AND task_status = '0'
GROUP BY task_id
ORDER BY project_id, task_start_date
d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p(84): Invalid object passed to db_num_rows
ERROR: d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p(61): Error executing: SELECT
distinct tasks.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id,
task_priority, task_percent_complete, task_duration, task_duration_type, task_project,
task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone,
assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count,
count(distinct files.file_task) as file_count, tlog.task_log_problem, history_date as last_update FROM tasks LEFT JOIN history ON history_item = tasks.task_id AND history_table='tasks' LEFT JOIN projects ON project_id = task_project LEFT JOIN users as usernames ON task_owner = usernames.user_id LEFT JOIN user_tasks as ut ON ut.task_id = tasks.task_id LEFT JOIN users as assignees ON assignees.user_id = ut.user_id LEFT JOIN task_log AS tlog ON tlog.task_log_task = tasks.task_id AND tlog.task_log_problem > '0' LEFT JOIN files on tasks.task_id = files.file_task LEFT JOIN user_task_pin as pin ON tasks.task_id = pin.task_id AND pin.user_id = 2 WHERE
task_project = 92
AND task_status = '0'
GROUP BY task_id
ORDER BY project_id, task_start_date
Backtrace:
0 d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p:61 dprint('d:\\inetpub\\wwwroot\\dotproject\\includes \\db_adodb.php',61,0,'Error executing: SELECT
distinct tasks.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id,
task_priority, task_percent_complete, task_duration, task_duration_type, task_project,
task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone,
assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count,
count(distinct files.file_task) as file_count, tlog.task_log_problem, history_date as last_update FROM tasks LEFT JOIN history ON history_item = tasks.task_id AND history_table=\'tasks\' LEFT JOIN projects ON project_id = task_project LEFT JOIN users as usernames ON task_owner = usernames.user_id LEFT JOIN user_tasks as ut ON ut.task_id = tasks.task_id LEFT JOIN users as assignees ON assignees.user_id = ut.user_id LEFT JOIN task_log AS tlog ON tlog.task_log_task = tasks.task_id AND tlog.task_log_problem > \'0\' LEFT JOIN files on tasks.task_id = files.file_task LEFT JOIN user_task_pin as pin ON tasks.task_id = pin.task_id AND pin.user_id = 2 WHERE
task_project = 92
AND task_status = \'0\'
GROUP BY task_id
ORDER BY project_id, task_start_date')
1 d:\inetpub\wwwroot\dotproject\modules\tasks\tasks. php:288 db_exec('SELECT
distinct tasks.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id,
task_priority, task_percent_complete, task_duration, task_duration_type, task_project,
task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone,
assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count,
count(distinct files.file_task) as file_count, tlog.task_log_problem, history_date as last_update FROM tasks LEFT JOIN history ON history_item = tasks.task_id AND history_table=\'tasks\' LEFT JOIN projects ON project_id = task_project LEFT JOIN users as usernames ON task_owner = usernames.user_id LEFT JOIN user_tasks as ut ON ut.task_id = tasks.task_id LEFT JOIN users as assignees ON assignees.user_id = ut.user_id LEFT JOIN task_log AS tlog ON tlog.task_log_task = tasks.task_id AND tlog.task_log_problem > \'0\' LEFT JOIN files on tasks.task_id = files.file_task LEFT JOIN user_task_pin as pin ON tasks.task_id = pin.task_id AND pin.user_id = 2 WHERE
task_project = 92
AND task_status = \'0\'
GROUP BY task_id
ORDER BY project_id, task_start_date')
2 d:\inetpub\wwwroot\dotproject\style\default\overri des.php:83 require('d:\\inetpub\\wwwroot\\dotproject\\modules \\tasks\\tasks.php')
3 d:\inetpub\wwwroot\dotproject\modules\projects\vie w.php:398 show()
4 d:\inetpub\wwwroot\dotproject\index.php:319 require('d:\\inetpub\\wwwroot\\dotproject\\modules \\projects\\view.php')
ERROR: d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p(84): Invalid object passed to db_num_rows
Backtrace:
0 d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p:84 dprint('d:\\inetpub\\wwwroot\\dotproject\\includes \\db_adodb.php',84,0,'Invalid object passed to db_num_rows')
1 d:\inetpub\wwwroot\dotproject\modules\tasks\tasks. php:289 db_num_rows(false)
2 d:\inetpub\wwwroot\dotproject\style\default\overri des.php:83 require('d:\\inetpub\\wwwroot\\dotproject\\modules \\tasks\\tasks.php')
3 d:\inetpub\wwwroot\dotproject\modules\projects\vie w.php:398 show()
4 d:\inetpub\wwwroot\dotproject\index.php:319 require('d:\\inetpub\\wwwroot\\dotproject\\modules \\projects\\view.php')
Fatal error: Call to a member function on a non-object in d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p on line 85
d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p(61): Error executing: SELECT
distinct tasks.task_id, task_parent, task_name, task_start_date, task_end_date, task_dynamic, task_pinned, pin.user_id,
task_priority, task_percent_complete, task_duration, task_duration_type, task_project,
task_description, task_owner, task_status, usernames.user_username, usernames.user_id, task_milestone,
assignees.user_username as assignee_username, count(distinct assignees.user_id) as assignee_count,
count(distinct files.file_task) as file_count, tlog.task_log_problem, history_date as last_update FROM tasks LEFT JOIN history ON history_item = tasks.task_id AND history_table='tasks' LEFT JOIN projects ON project_id = task_project LEFT JOIN users as usernames ON task_owner = usernames.user_id LEFT JOIN user_tasks as ut ON ut.task_id = tasks.task_id LEFT JOIN users as assignees ON assignees.user_id = ut.user_id LEFT JOIN task_log AS tlog ON tlog.task_log_task = tasks.task_id AND tlog.task_log_problem > '0' LEFT JOIN files on tasks.task_id = files.file_task LEFT JOIN user_task_pin as pin ON tasks.task_id = pin.task_id AND pin.user_id = 2 WHERE
task_project = 92
AND task_status = '0'
GROUP BY task_id
ORDER BY project_id, task_start_date
d:\inetpub\wwwroot\dotproject\includes\db_adodb.ph p(84): Invalid object passed to db_num_rows