by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 14 16:20
    maturbet synchronize #1660
  • Sep 14 16:19
    maturbet synchronize #1663
  • Sep 14 16:17
    maturbet synchronize #1679
  • Sep 14 16:11
    maturbet synchronize #1678
  • Sep 14 15:05
    translatewiki synchronize #1699
  • Sep 14 15:05

    translatewiki on master

    Localisation updates from https… (compare)

  • Sep 09 19:15
    Mythotical edited #1699
  • Sep 09 18:50
    Mythotical edited #1699
  • Sep 09 18:48
    Mythotical edited #1699
  • Sep 09 18:46
    Mythotical edited #1699
  • Sep 09 18:42
    Mythotical edited #1699
  • Sep 09 18:40
    Mythotical edited #1699
  • Sep 09 18:38
    Mythotical edited #1699
  • Sep 09 18:32
    Mythotical opened #1699
  • Sep 07 14:45

    translatewiki on master

    Localisation updates from https… (compare)

  • Sep 07 06:58
    dregad assigned #1698
  • Sep 06 16:16
    dregad synchronize #1698
  • Sep 06 16:13
    dregad edited #1698
  • Sep 06 16:11
    dregad opened #1698
  • Sep 06 13:01
    dregad synchronize #1696
brickviking
@brickviking
Is there a reason to prefer InnoDB or MyISAM? My db seems to have its tables all defined as MyISAM, but the DB itself says it's InnoDB
Damien Regad
@dregad
MyISAM is a more simple engine with limited support for transactions, InnoDB is more modern as became MySQL default a few years back. You can switch if you want
brickviking
@brickviking
hm, okay. I seem to be asking questions that aren't exactly specific to Mantis...sorry about that, but I know sod all SQL.
but boy have I got used to the "mysql" commandline client.
Damien Regad
@dregad
lol
brickviking
@brickviking
ugh. And now a stray cup of tea has killed another fine keyboard.
brickviking
@brickviking
and trying to find another Logitech K750 for reasonable price is ... well, it isn't happening.
brickviking
@brickviking
Thankfully, it looks like the K750 has "dried out" sufficiently to not be causing issues any more. Phew.
brickviking
@brickviking
I'm having some issues with modifying users, and I keep getting a "APPLICATION ERROR #2800", or "Invalid form security token" error if I try to alter a user's details from within Mantis. Any known problems around this?
I can modify the details from the back end (using the mysql client) without any errors, of course.
In addition, I notice that the github repo doesn't contain ANY issues.
brickviking
@brickviking
The issue appears here: ${webroot}/mantis/manage_user_edit_page.php?user_id=<userID>, and selecting a different access level, (and turning off <email user on change> because we haven't got email set up yet), and selecting Update User results in what I posted before (Application error 2800)
Does this happen systematically ? With other edit pages too ? Right after loading the page, or after some delay ?

the github repo doesn't contain ANY issues.

Why should it ? Mantis is a bug tracker, and logically we use our own product to track defects :wink:

luzpaz
@luzpaz
how does mantis output to a log file? Where in the code is an example of this ?
Damien Regad
@dregad
~/dev/mantisbt(master) $ git grep -w log_event
brickviking
@brickviking
Basically, it seems to croak directly on loading the page AFTER I click the "Update User" button, within a couple of seconds. I don't know if that's because of being on a remote host or not.
brickviking
@brickviking
Okay, some more info: session.gc_probability = 0; and session.gc_maxlifetime = 1440; I suspect that means GC isn't happening.
brickviking
@brickviking
On my local host, the issue doesn't happen, at least if I take less than 24 minutes to make up my mind. But there, the probability is gc_probability = 1 (not 0). So I get the expected result, and 2800 after 24 minutes, as I should.
brickviking
@brickviking
I finally had to clear my local cookies for bugs.myhost.here before the error would go away, yet for all four of those cookies, they're supposed to be removed when the session is closed.
I'm glad I read the relevant bug before I posted, I could have felt rather stupid
brickviking
@brickviking
Ahh, and I finally found the tracker for mantisbt itself. In the Admin guide.
Marc-Antoine TURBET-DELOF
@maturbet
Are any ones interested in testing this plugin ?
https://github.com/Association-Cocktail/QuietChangeStatus
Dale Mason
@Expression93_gitlab
I'm getting some sort of bizarre issue with uploads on my MantisBT install, I've had 2.22.0 running for months and nothing ever been changed, I just updated to 2.24.1 to try fix my issue but still encounter the same problem. It is to do with file downloads, older uploads that have a certain pattern to the binary data in the BLOB field all give errors (do not load inline on page and when downloaded just error in image viewers).
Xavi Montero
@xmontero
Hi all, new here. Just joining. I've been user of mantis for over 15 years. Since 2003 at least! Still using it.
(not the same version, though :D hahaha)
Damien Regad
@dregad
Welcome @xmontero
@Expression93_gitlab the information you provide is too vague to get an idea of what could be happening.
Dale Mason
@Expression93_gitlab
@dregad I ain't sure how else to explain it, as far as I am concerned nothing about my setup changed, it's been the same for weeks. Files uploaded by any user up to a certain point are now broken, when the file is downloaded (as it's supposed to be an image) it cannot be read in an image viewer (it just gives an error). Newer uploads appear to work fine, but these problematic file uploads would have worked at the time (otherwise we'd have noticed the issue sooner). The only difference I can see is that the BINARY data changes, all the broken files start with the same data, and they're all broken, if I try the first file where that data changes, the download is fine. (For the record though, the data is still unique for all of those problematic files)
Damien Regad
@dregad
@Expression93_gitlab if I understand correctly, you had a 2.22 instance working perfectly, then you started noticing corrupted attachments and you tried upgrading to 2.24.1 to fix it but it didn't ? If so, everything else being equal, I would say that excludes MantisBT from being the problem's root cause...
Since you mention BLOB field, I assume you're storing attachments in the DB (as opposed to file system). Maybe some corruption on the database ?
When I say "too vague" you mention bizarre issue, certain pattern, errors etc. Nothing specific that anyone could objectively use to analyze and try to find out what the problem is.
Benjamin
@benjamin86
any dev using vs code and able to make the format to follow the mantisbt coding guideline?
my vs code will format One space after the opening ( and before the closing )
and change comment # to //
Damien Regad
@dregad
Sorry, I use PHPstorm, can't help you
B. Cook
@bcookatpcsd
hey all.. new mantisbt user here.. trying to get it going actually..
I got the release-2.24.2.tar.gz and went into the directory.. did a php -S 0.0.0.0:8080
Get this error.. :[Tue Aug 25 20:43:32 2020] 127.0.0.1:43520 [500]: GET /admin/check/ - require_once(): Failed opening required '/home/mantisbt-release-2.24.2/vendor/autoload.php' (include_path='.:') in /home/mantisbt-release-2.24.2/core.php on line 91
there is no autoload.php in the tgz or github..
this does nothing to make anything work.. :p
B. Cook
@bcookatpcsd
curl -sS https://getcomposer.org/installer | php && php composer.phar -vv install
I don't see that in the documentation anywhere.. but that, of course, changes things..
Damien Regad
@dregad
@bcookatpcsd I'm not sure where you got the tarball from, but I just double-checked and from our official downloads on SourceForge, I can confirm that the vendor/autoload.php file is indeed present in both the .tar.gz and .zip packages.
Of course, running composer install would fix the problem.
andrerosamatos
@andrerosamatos
Hi, I have a question (probabily very dumb btw) how do I use https://github.com/mantisbt-plugins/Snippets ?
Damien Regad
@dregad
@andrerosamatos did you read https://github.com/mantisbt-plugins/Snippets#usage if something is not clear please ask specific questions.
Albert ARIBAUD
@aaribaud
Hello, I have the following need: allow some users to specify another user as the reporter when they create a bug, but also record who actually created the bug, in order to use it later in custom database queries. My first idea would be to modify the https://github.com/mantisbt-plugins/CustomReporter plugin so that it keeps track of actual bug authors. Now there are two main approaches to this idea: either manage a separate bug author table with two columns (bug and author IDs), or add an 'author_id' column to the bug table. Which would be preferrable?
Damien Regad
@dregad
Considering that plugins can't alter Mantis core tables, the best would probably be to create a plugin table to store author information.