View Issue Details

IDProjectCategoryView StatusLast Update
0015412Plugin - TasksGeneralpublic2023-03-25 12:53
ReporterAdamR Assigned Tocas  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0015412: Adding, editing, and deleting a task category returns HTTP 404
Description

In the Tasks configuration page if you add, edit, or remove a category you get a HTTP 404 error. This appears to be because of the form action URL.

Here is the URL I get when submitting the form:
https://mybts/plugins/Tasks/pages/plugins/Tasks/pages/task_cat_edit2.php

It should be:
https://mybts/plugins/Tasks/pages/task_cat_edit2.php

Steps To Reproduce

Add, edit, or remove any category.

Additional Information

MantisBT 1.2.10
Tasks 2.40

TagsNo tags attached.

Activities

cas

cas

2013-01-23 07:51

reporter   ~0034880

For version 1.2.x make sure to have this statement in confg_inc.php:
$g_path = 'http://path to your mantis installation/';

AdamR

AdamR

2013-01-25 09:46

reporter   ~0034913

Ah OK, this variable is defined but as:
$g_path = isset( $t_url ) ? $t_url : 'https://mybts/';

If I echo both $g_path and $t_url, it returns "https://mybts/". Odd that manually setting $g_path with the same value below should solve this. Working now anyway :)

I read the documentation as only for MantisBT version 1.2.1 (it doesn't specify all versions minor to 1.2):

"For version 1.2.1 make sure to have this statement in confg_inc.php:"