Search found 145 matches

by mushu
Jan 24, 2019 11:02 am
Forum: Help
Topic: Wondering the best way to mass-import users
Replies: 34
Views: 1992

Re: Wondering the best way to mass-import users

Thanks, will take a look today and let you know. EDIT: so, I get an error when trying to install the new version, but it is not installed and the mySQL plugins table shows a zero in the "enabled" column for it: APPLICATION WARNING #2501 Plugin "import_user" is already installed. (in 'C:\MantisBT2180...
by mushu
Jan 23, 2019 2:50 pm
Forum: EmailReporting
Topic: Warning you might want to look in to
Replies: 3
Views: 502

Re: Warning you might want to look in to

That worked, thanks! It was a plugin called HTMLemail or something similar.
by mushu
Jan 23, 2019 2:48 pm
Forum: Help
Topic: Borked up our Mantis install, need some guidance please
Replies: 2
Views: 298

Re: Borked up our Mantis install, need some guidance please

Solved. Was a bad plugin called HTMLemail or something like that. Thanks for the info!
by mushu
Jan 23, 2019 2:42 pm
Forum: Help
Topic: Wondering the best way to mass-import users
Replies: 34
Views: 1992

Re: Wondering the best way to mass-import users

Found it and removed via editing database table, thanks for that! Now that it is back to running, trying to install this plugin gives me the following error: SYSTEM NOTICE 'Use of undefined constant ERROR_IMPORT_FILE_FORMAT - assumed 'ERROR_IMPORT_FILE_FORMAT'' in 'C:\MantisBT2180\plugins\import_use...
by mushu
Jan 22, 2019 6:05 pm
Forum: Help
Topic: Wondering the best way to mass-import users
Replies: 34
Views: 1992

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
Jan 22, 2019 6:00 pm
Forum: Help
Topic: Borked up our Mantis install, need some guidance please
Replies: 2
Views: 298

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 web browser to return...
by mushu
Jan 22, 2019 5:57 pm
Forum: EmailReporting
Topic: Warning you might want to look in to
Replies: 3
Views: 502

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
Jan 22, 2019 5:30 pm
Forum: EmailReporting
Topic: Warning you might want to look in to
Replies: 3
Views: 502

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
Jan 22, 2019 1:19 pm
Forum: Help
Topic: Wondering the best way to mass-import users
Replies: 34
Views: 1992

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
Jan 18, 2019 11:14 am
Forum: Help
Topic: Wondering the best way to mass-import users
Replies: 34
Views: 1992

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 the user's N...
by mushu
Jan 18, 2019 10:25 am
Forum: Help
Topic: Wondering the best way to mass-import users
Replies: 34
Views: 1992

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
Jan 17, 2019 6:07 pm
Forum: Help
Topic: Wondering the best way to mass-import users
Replies: 34
Views: 1992

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 they go to ...
by mushu
Jan 16, 2019 2:44 pm
Forum: EmailReporting
Topic: How to add CC: email to incoming message?
Replies: 3
Views: 351

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

NEVERMIND I changed the line of code from this:

Code: Select all

if ("" !== $pmatch[1]) { $t_email[ 'Cc' ] =  $pmatch[1] . "@" . $pmatch[2] ; }
to this:

Code: Select all

if ("" !== $pmatch[1]) { $t_email[ 'Cc' ] = $this->get_emailaddr_from_string( $pmatch[1] . "@" . $pmatch[2] ); }
I hope it will work!
by mushu
Jan 16, 2019 2:36 pm
Forum: EmailReporting
Topic: How to add CC: email to incoming message?
Replies: 3
Views: 351

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
Jan 15, 2019 5:46 pm
Forum: EmailReporting
Topic: How to add CC: email to incoming message?
Replies: 3
Views: 351

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...