View Issue Details

IDProjectCategoryView StatusLast Update
0010812mantisbtreportspublic2010-04-23 23:22
Reporteryw84ever Assigned Togiallu  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version1.2.0rc1 
Summary0010812: graphs in mantis 1.2.x after upgrade from 1.1.8 : error messages of tables not found rather than graphs
Description

since upgrading to mantis 1.2.0rc1 from 1.1.8 and enabling the mantisgraphs 1.0 plugin, summary graphs no longer work

clicking any of them on
summary_page.php

results in the page
plugin.php?page=MantisGraph/summary_graph_imp_status.php
opening with the following message:

APPLICATION WARNING #100: Configuration option "mantis_bug_table" not found.

Fatal error: Call to undefined function explode_enum_string() in /usr/share/mantis/www/core/graph_api.php on line 418

the situation is worse with 'per category'

APPLICATION ERROR 0000401

Database query failed. Error received from database was 0001064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE project_id IN (27,12,6,21,13,14,1,2,3,4,5,19,30,16,11,31,26,32,29,23,25,3' at line 3 for the query: SELECT DISTINCT category
FROM
WHERE project_id IN (27,12,6,21,13,14,1,2,3,4,5,19,30,16,11,31,26,32,29,23,25,33,10,18,20,24,28,9,17,7,22)
ORDER BY category.

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

i have noticed that since upgrading projects that had no categories now all have a blank category

Additional Information

same errors in another installation where I upgraded from 1.1.8 to 1.2.x to git trunk

TagsNo tags attached.

Activities

yw84ever

yw84ever

2009-08-10 07:02

reporter   ~0022709

issue was left over files from 1.1.8 still in the directory with 1.2rc1

checked which ones were not being tracked

and removed those

now the mantisgraphs plugin works just fine

(a list of some of the old files that were removed:
summary_graph_bycategory.php
summary_graph_bycategory_pct.php
summary_graph_bydeveloper.php
summary_graph_bypriority.php
summary_graph_bypriority_mix.php
summary_graph_bypriority_pct.php
summary_graph_byreporter.php
summary_graph_byresolution.php
summary_graph_byresolution_mix.php
summary_graph_byresolution_pct.php
summary_graph_byseverity.php
summary_graph_byseverity_mix.php
summary_graph_byseverity_pct.php
summary_graph_bystatus.php
summary_graph_bystatus_pct.php
summary_graph_cumulative_bydate.php
summary_graph_imp_category.php
summary_graph_imp_priority.php
summary_graph_imp_resolution.php
summary_graph_imp_severity.php
summary_graph_imp_status.php
summary_jpgraph_page.php
)

yw84ever

yw84ever

2009-08-10 07:17

reporter   ~0022710

and i also still had some obsolete options enabled

$g_use_jpgraph = ON;
$g_jpgraph_path = '/var/www/jpgraph/src/';

yw84ever

yw84ever

2009-08-10 07:17

reporter   ~0022711

the admin/check.php was very helpful :D

wschneider

wschneider

2009-10-02 02:54

reporter   ~0023050

Isn't Mantis\core\graph_api.php another file that is left from the 1.1.8 installation and that should be removed?