Adding tags and then trying to click on the tags gives an error:
"We are sorry, but ProjectPier is not currently able to execute your request. An Error Report has been sent to the administrator. "
Did you get it?
Adding tags and then trying to click on the tags gives an error:
"We are sorry, but ProjectPier is not currently able to execute your request. An Error Report has been sent to the administrator. "
Did you get it?
I have just upgraded from v0803 to 086 and am also seeing this error page when clicking on any tag on the tag page in any project.
I will dig in to see if I can figure out what's going on.
This is a partial entry in the log file:
#1 FATAL: exception 'FileDnxError' with message 'Controller 'tag' does not exists ...
Did you enable the Tag plugin? By default it is switched off in 0.8.6.
Go to Administration > Plugins and activate the plugin please.
I don't know if it was enabled by default but it is enabled and I get the error.
Surely, if the tags are disabled the app should not show tags...?
You are right, if the plugin is not active, tags are not displayed. Sometimes I am confused :-)
Could you empty the file /cache/trace.txt and then login with Trace enabled (click Options on Login page). Then go through the application and generate the error.
Copy /cache/trace.txt and send it to me please.
I've just sent you emails before reading the forum.
I'll do the testing tomorrow and let you know.
Thanks to zaf's testing efforts we nailed this problem.
File /application/models/project/Project.class.php
Change this
function getTagUrl($tag_name) {return get_url('tag', 'project_tag', array('tag' => $tag_name, 'active_project' => $this->getId()));
} // getTagUrl
into
function getTagUrl($tag_name) {return get_url('tags', 'project_tag', array('tag' => $tag_name, 'active_project' => $this->getId()));
} // getTagUrl
See the added s after the first word tag in return get_url...
File /application/plugins/tags/controllers/TagsController.class.php
Change this
class TagController extends ApplicationController {into
class TagsController extends ApplicationController {