Search found 6 matches

by smorley
18 Jun 2014, 19:04
Forum: Help
Topic: Logging only filtering
Replies: 3
Views: 3404

Re: Logging only filtering

$g_log_destination = 'file:d:/logs/mantis2.log';

It does write to the file, just not all that I had hoped for.
by smorley
16 Jun 2014, 16:21
Forum: Help
Topic: Plugin Announce will not install
Replies: 1
Views: 2097

Re: Plugin Announce will not install

Never mind!

Found the problem - db user did not have enough privileges.

Stephen
by smorley
16 Jun 2014, 16:17
Forum: Help
Topic: Plugin Announce will not install
Replies: 1
Views: 2097

Plugin Announce will not install

While trying to install the plugin Announce the following error is displayed:


APPLICATION ERROR #2503
Upgrading the plugin schema failed in block #0.


I currently cannot get logging enabled so I'm asking if anyone has seen this error before or knows how to attack it other than to enable logging ...
by smorley
16 Jun 2014, 16:10
Forum: Help
Topic: Logging only filtering
Replies: 3
Views: 3404

Logging only filtering

I'm trying to investigate a problem with a plugin install failure (Announcements) but can't get the logging to record anything other than 'filtering' action.

(Note: I'm currently moving servers and the logging previously worked. This is version 1.2.12.)
I have tried the following:
$g_log_level ...
by smorley
27 Nov 2012, 20:47
Forum: Customizations
Topic: Access custom data in issue create override
Replies: 1
Views: 2895

Re: Access custom data in issue create override

Found my own solution:

$t_id = custom_field_get_id_from_name('currency');
$t_def = custom_field_get_definition( $t_id );
$t_value = gpc_get_custom_field( "custom_field_$t_id", $t_def['type'], $t_def['default_value'] );

Unfortunately, while this lets me validate the custom fields it does not ...
by smorley
27 Nov 2012, 17:56
Forum: Customizations
Topic: Access custom data in issue create override
Replies: 1
Views: 2895

Access custom data in issue create override

I would like to test and manipulate custom data in the custom_function_override_issue_create_validate function.
I found I can do this with the standard fields ( $p_new_issue_data->description = 'I can override this value';)
But I can't see to find out how to access the custom fields, eg currency ...