Search found 201 matches

by mushu
22 Jan 2019, 23:05
Forum: Help
Topic: Wondering the best way to mass-import users
Replies: 34
Views: 11007

Re: Wondering the best way to mass-import users

Please see this post: viewtopic.php?f=3&t=26097

I think this is due to hitting the [Install] button on this plugin. :-(

So I either need to add some imports to the plugin code, or I need to figure out how to manually uninstall a plugin from Mantis. Thoughts?
by mushu
22 Jan 2019, 23:00
Forum: Help
Topic: Borked up our Mantis install, need some guidance please
Replies: 2
Views: 1367

Borked up our Mantis install, need some guidance please

Mantis 2.18.0 Where do I look to start troubleshooting this error? I get in when clicking on ANY tab or option: APPLICATION WARNING #2400 Event "EVENT_NOTIFY_EMAIL" has not yet been declared. (in 'C:\MantisBT2180\core\event_api.php' line 85) Please use the "Back" button in your w...
by mushu
22 Jan 2019, 22:57
Forum: EmailReporting
Topic: Warning you might want to look in to
Replies: 3
Views: 3573

Re: Warning you might want to look in to

Might not be related to the EmailReporting plugin specifically, I've been playing in the plugins directory and so I might have borked something else up....GRRRRRR. EDIT: it looks like it might be a different plugin that is incomplete and when I hit the [Install] button it broke Mantis. Blah. Now I n...
by mushu
22 Jan 2019, 22:30
Forum: EmailReporting
Topic: Warning you might want to look in to
Replies: 3
Views: 3573

Warning you might want to look in to

Mantis 2.18.0 EmailReporting v0.10.1 When running the email script manually I got this: C:\MantisBT2180\plugins\EmailReporting\scripts>php --version PHP 5.6.36 (cli) (built: Apr 25 2018 16:45:32) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies C:\M...
by mushu
22 Jan 2019, 18:19
Forum: Help
Topic: Wondering the best way to mass-import users
Replies: 34
Views: 11007

Re: Wondering the best way to mass-import users

Thank you, I'll take a look! Questions: 1. we changed the access levels and values a bit, do I use the updated values we have or the default you supplied at runtime? 2. Since we use active directory, we do not know what people's passwords are. When we add everyone to the Mantis user table, we cannot...
by mushu
18 Jan 2019, 16:14
Forum: Help
Topic: Wondering the best way to mass-import users
Replies: 34
Views: 11007

Re: Wondering the best way to mass-import users

I don't understand what you mean. We use the adLogin plugin, so that everyone who "hits" the Mantis website is automatically logged in as a Reporter without having to enter a password, and if they are not in the mySQL user table an account is created for them. I assume that Mantis grabs th...
by mushu
18 Jan 2019, 15:25
Forum: Help
Topic: Wondering the best way to mass-import users
Replies: 34
Views: 11007

Re: Wondering the best way to mass-import users

So....that means I only have to populate that one user table then? And what about the settings on those two $g variables I mentioned, are they important? I don't want to force everyone to have to access our Mantis site in order to get a working account. N.B. if there was a tutorial on writing plugin...
by mushu
17 Jan 2019, 23:07
Forum: Help
Topic: Wondering the best way to mass-import users
Replies: 34
Views: 11007

Wondering the best way to mass-import users

Mantis 2.18.0 adLogin 1.01 plugin mysql Ver 14.14 Distrib 5.7.13, for Win64 (x86_64) Wondering the best way to do the following: Right now we have $g_enable_email_notification = ON in config file. We have the LDAP authentication working such that people automatically get "logged in" when t...
by mushu
16 Jan 2019, 19:44
Forum: EmailReporting
Topic: How to add CC: email to incoming message?
Replies: 3
Views: 3524

Re: How to add CC: email to incoming message?

NEVERMIND I changed the line of code from this: if ("" !== $pmatch[1]) { $t_email[ 'Cc' ] = $pmatch[1] . "@" . $pmatch[2] ; } to this: if ("" !== $pmatch[1]) { $t_email[ 'Cc' ] = $this->get_emailaddr_from_string( $pmatch[1] . "@" . $pmatch[2] ); } I hope it wi...
by mushu
16 Jan 2019, 19:36
Forum: EmailReporting
Topic: How to add CC: email to incoming message?
Replies: 3
Views: 3524

Re: How to add CC: email to incoming message?

Now I get this error:

Code: Select all

SYSTEM WARNING: 'array_merge(): Argument #2 is not an array' in 'C:\MantisBT2180\plugins\EmailReporting\core\mail_api.php' line 1779
and that line of code in the plugin is this:

Code: Select all

$t_emails = array_merge( $p_email[ 'To' ], $p_email[ 'Cc' ] );
?
by mushu
15 Jan 2019, 22:46
Forum: EmailReporting
Topic: How to add CC: email to incoming message?
Replies: 3
Views: 3524

How to add CC: email to incoming message?

Mantis 2.18.0 EmailReporting 0.10.1 I added these two lines of code in mail_api.php but they don't seem to be doing anything in Mantis. We are trying to add a custom email address read from the body text of an incoming bug report via email. What am I doing wrong? The incoming email body text contain...
by mushu
15 Jan 2019, 19:19
Forum: EmailReporting
Topic: Plugin error - where do I start troubleshooting?
Replies: 1
Views: 2643

Re: Plugin error - where do I start troubleshooting?

NEVER MIND - I just saw that there is a new version of the EmailReporting plugin that specifically fixes this weird "bracket" error. Updating now.
by mushu
15 Jan 2019, 18:03
Forum: EmailReporting
Topic: Plugin error - where do I start troubleshooting?
Replies: 1
Views: 2643

Plugin error - where do I start troubleshooting?

Mantis 2.18.0 EmailReporting 0.10.0 I have separate DEV and PROD servers. When a new version is released we test on DEV and then promote to PROD if everything is fine after a week. I am trying to get it working on DEV server but the *exact* same files work fine on PROD server. Here is the error I am...
by mushu
15 Nov 2018, 16:16
Forum: Help
Topic: when enable Ldap ,how can I use local account
Replies: 1
Views: 1113

Re: when enable Ldap ,how can I use local account

I assume you're using the adLogin plugin, correct? It can't be "interrupted" to log in as a different person, so what I do is have a shortcut to Firefox web browser which does not use Integrated Windows Authentication by default. So the Mantis site prompts for a login at that point. For mo...
by mushu
25 Oct 2018, 15:43
Forum: General Discussion
Topic: where to report bugs?
Replies: 1
Views: 1453

where to report bugs?

Where do I report bugs in the Mantis codebase? I have a post in the "Help" forum that hasn't gotten any replies so I guess I need to find the correct link on the correct page to submit a ticket.