Thursday, 2010-07-08

../irclogs/#mantishelp.2010-07-08.log
--- scribe started ---00:00
zeroflaghi11:37
zeroflagI'm having issues getting mantis to work with mssql11:38
zeroflagnot sure if it's php or mantis related...11:38
zeroflagdatabase is not supported by PHP. Check that it has been compiled into your server.11:39
zeroflagbut I installed the microsoft drivers and they seem to work...11:40
nuclear_eclipsezeroflag: afaik, ADOdb does not yet support the new Microsoft drivers for MSSQL11:49
nuclear_eclipseI think you need to install the older MSSQL extension11:49
zeroflagwhere do I get those?11:49
zeroflagold PHP version?11:49
nuclear_eclipseI think so, but I'm not sure; I've never used MSSQL11:50
zeroflagwell, I also tried pgsql and mysql and both give me timeouts...11:50
zeroflagactually, mysql does. pgsql just hangs...11:50
killefizzeroflag: unless you have to use mssql you're far better off fixing the mysql/pg issues instead as mssql isn't nearly as well tested as e.g. mysql12:00
zeroflagmy boss is allergic to mysql...12:01
zeroflagDoes administrative user have access to the database? ( )12:11
zeroflag? oO12:11
zeroflagshouldn't there be at least an error message?12:11
phr34ki can now correctly submit data from mantis_connect under the administrator account that is, so right now i'm trying to setup my automated bug reporter as a standard user. But i'm getting access denied, the account in question has been logged in already, password is set, i verified it was able to submit data from the webinterface.12:54
nuclear_eclipsephr34k: you may need to create api/soap/mc_config_inc.php and override some of the settings in api/soap/mc_config_defaults.php13:09
phr34kaah you're right, it puts read_write on developer..13:11
phr34kthat didn't seem to work, i've tried to change both config files and downgrading the access level, and upgrading the access level on the user...13:25
nuclear_eclipsephr34k: sorry, I'm not sure I can help any more than that; only thing I've used the soap api for is settng up read-only access for foobot13:27
nuclear_eclipsefoobot: bug 1200013:27
foobotBug 12000 - llattan - open - new13:27
foobotVariables for Colors in Webpage - http://www.mantisbt.org/bugs/view.php?id=1200013:27
nuclear_eclipsephr34k: other than that, I'm rather clueless as to how the api actually interacts with the core13:28
phr34kit does raw database injections i.e. all the regular stuff your webinterface does but w/o html garbage :)13:29
nuclear_eclipseheh13:29
nuclear_eclipseI just haven't needed the api for anything except the bot, so I've just never done anything with it13:30
nuclear_eclipsetoo much other crap to deal with in the core to worry about learning how the api works =\13:30
phr34kunderstandable, well the api itself is really easy to use, it's just those nasty bugs that spoil it's usage. Here's some reference code :) http://pastebin.com/0tRqciQ213:37
nuclear_eclipseone quick thing to mention: if you're not already using 1.2.1, it might be worth the effort to upgrade, because I know there were a bunch of api fixes that went into 1.2.0 and 1.2.113:40
nuclear_eclipseand if you are using 1.2.1, perhaps investigate using a nightly build , and see if there are any api fixes in there that would help you13:41
phr34kaccording to the change log, i'm running 1.1.8, unless the changelog has not been updated ofc. I might just checkout 1.2.1 but it can't be much.13:46
nuclear_eclipsephr34k: I do know that a lot of api bugs were fixed in the 1.2.x branch13:48
phr34ki'll give it a shot13:48
nuclear_eclipsejust make sure you backup your database and configuration before upgrading, just in case ;)13:49
phr34kany dramatic database changes between 1.1.8 and 1.2.x? otherwise i'll only update the webservices part13:49
nuclear_eclipsewell, there is a lot of database changes, but there were a lot of core API changes too, so just updating the soap api won't be possible...13:50
phr34kah i found what's wrong, i guess GUID are not supported as passwords14:08
phr34kmust be a encapsulation flaw somewhere14:09
nuclear_eclipsehi dhx_m14:18
nuclear_eclipselong time no see :P14:18
nuclear_eclipsehi giallu16:44
nuclear_eclipsejust fyi, I'm running foobot now from my vps using your supybot plugin for mantis16:45
nuclear_eclipseso thanks for putting that code on github :)16:46
mustangsalanyone come across an exchange 5.5.1 550 verification fail error?  feels like it's something silly... just can't find it yet18:14
mustangsalerror happens anytime an email is generated by Mantis18:14
nuclear_eclipsemustangsal: make sure that exchange is configured to a) allow email from the email account/domain that your mantisbt install is configured to use, and b) make sure that you're correctly configuring the email/smtp account and password that mantis uses to send the email18:16
nuclear_eclipseie, the "from" email that mantis uses is configured separately from the login/password used to connect to the smtp server18:16
mustangsalcool  thanks...18:17
nuclear_eclipseother than that, I have no clue because I've never used Exchange :P18:18
mustangsal... it seems to be ignoring $g_smtp_host18:24
nuclear_eclipsemustangsal: what version of mantis are you using?18:25
mustangsal1.2.1  just downloaded it today18:25
nuclear_eclipsedid you set $g_phpMailer_method = PHPMAILER_METHOD_SMTP?18:26
mustangsalyes18:27
nuclear_eclipsethen I'm not sure, I've personally only ever used the default settings because it works by default on Linux18:28
mustangsalcool thanks though18:29
nuclear_eclipseyou could try reading the forums to see if anyone has had the same problems, or post to mantisbt-help@lists.sourceforge.net to see if anyone can help you there18:30
magnetikHi18:50
magnetikI've tried this method to integrate DokuWiki into mantis : http://www.mantisbt.org/wiki/doku.php/mantisbt:issue:7075:integration_with_dokuwiki18:50
magnetikand i've this error : Fatal error: Call to undefined function sg() in /var/www/bug/wiki/inc/auth/mantis.class.php on line 5618:50
nuclear_eclipsemagnetik: afaik, those instructions are very out of date, and dont represent changes that have happened to both mantis and dokuwiki in the recent releases18:51
magnetikdamn18:52
magnetikWhat should I do ?18:52
nuclear_eclipseyou could use something other than dokuwiki, or if you have any experience with code, you could attempt to use that guide as a starting point, and figure out the changes in both sides, and then add your new knowledge to that wiki entry18:53
nuclear_eclipseor18:53
nuclear_eclipseyou could try to find an older release of dokuwiki18:54
magnetikokay =)18:54

Generated by irclog2html.py