| ../irclogs/#mantishelp.2010-06-18.log | ||
| --- scribe started --- | 00:00 | |
| Draggor | So three's a lot of access to $_SERVER['SCRIPT_NAME'] and that really doesn't quite work if you're doing any mod_rewrite rules in apache | 00:06 |
|---|---|---|
| Draggor | there's* | 00:07 |
| Draggor | I think calls should be made through a sanitizing function that inspects the script_name var compared to what the $g_path variable is | 00:07 |
| Cybertinus | hello | 09:24 |
| Cybertinus | I'm looking for a bugtracker to use at the company where I work | 09:24 |
| Cybertinus | Mantis is one of the Bugtrackers I look into | 09:24 |
| Cybertinus | now I try to install it on my Linux server | 09:24 |
| Cybertinus | when I load http://<server-ip>/mantis/admin/install.php I see a white screen | 09:25 |
| Cybertinus | no error on the screen, no error in de Apache log | 09:25 |
| Cybertinus | and I don't log the PHP error's, I put them on the screen | 09:25 |
| Cybertinus | anybody an idea what could be wrong? | 09:25 |
| Cupertino | Hi peeps | 13:32 |
| Cupertino | If i want to update from 1.2.0 to 1.2.1 - How do i proceed? | 13:32 |
| Cupertino | I dont see the tutor on the website :/ | 13:33 |
| Cupertino | I just upload and merge it? | 13:33 |
| nuclear_eclipse | Cupertino: see doc/INSTALL in the 1.2.1 release package | 13:41 |
| nuclear_eclipse | Cybertinus: what version are you installing? and what version of PHP do you have? | 13:43 |
| dhx_m | hi | 13:49 |
| Cupertino | tnx nuclear_eclipse | 13:53 |
| dhx_m | Draggor $_SERVER['SCRIPT_NAME'] returns the filename without any path | 13:57 |
| Draggor | I guess I'm missing where it's ignoring the $g_path | 14:04 |
| Draggor | When I log in and go to manage users | 14:04 |
| Draggor | then I select a user and press the delete button | 14:04 |
| Draggor | the confirmation page generates a form with an incorrect action link | 14:05 |
| Cupertino | how big is the fail percentage? | 14:12 |
| nuclear_eclipse | Cupertino: from 1.2.0 to 1.2.1, there shouldn't be any failures that I know of | 14:13 |
| Cupertino | ok tnx | 14:17 |
| obergix[work] | hi there | 14:26 |
| obergix[work] | we're trying to do some tests with phpunit, that include mantis code, using the phpunit command | 14:26 |
| obergix[work] | our problem is all global variables are no longer globals when inside phpunit execution, as not declared explicitely as globals in mantis core.php | 14:29 |
| obergix[work] | has anyone already had such problems | 14:29 |
| obergix[work] | ? | 14:29 |
| nuclear_eclipse | obergix[work]: I know that rombert has done some work towards adding a testing framework, but I think it was mostly for the SOAP API | 14:29 |
| obergix[work] | actually, we're trying to Zend_Test the Zend Rest controller we add for OSLC-CM, which relies on phpunit | 14:30 |
| obergix[work] | phpunit seems to save the globals and restore them between tests | 14:30 |
| nuclear_eclipse | Mantis was designed and created long before unit testing or other modern techniques was standard practice, so it's unfortunately not an easy task at all | 14:31 |
| obergix[work] | I'm wondering if there's a reason why each global is not explicitely declared as such when initially set | 14:31 |
| nuclear_eclipse | they are | 14:31 |
| obergix[work] | in other words, would it break if one added global declarations | 14:32 |
| nuclear_eclipse | almost all of the globals are declared in config_defaults_inc.php | 14:32 |
| obergix[work] | nuclear_eclipse: they are, because they happen to live at top level, or because explicitely declared with the global keyword ? | 14:32 |
| nuclear_eclipse | a few of the APIs declare their own globals for things like caching data though | 14:33 |
| nuclear_eclipse | because they're at the top level, and phpdoc comments are explicit about them being global | 14:33 |
| obergix[work] | hmmm... ok, so would it break if we added explicit declarations to change from implicit to explicit ? | 14:34 |
| nuclear_eclipse | I don't think it would, but I can't be 100% sure; PHP has odd habits of doing what you least expect it to | 14:35 |
| obergix[work] | ;-) | 14:35 |
| obergix[work] | and of course that may not be easy as there are tons of them | 14:36 |
| nuclear_eclipse | very true | 14:36 |
| obergix[work] | anyway, we have other problems with the db connection that gets lost apparently when "inside" phpunit :-/ | 14:36 |
| nuclear_eclipse | like I said, Mantis was born before modern software practices were even imagined :P | 14:36 |
| obergix[work] | hmm... we'll probably find a way ;) | 14:38 |
| obergix[work] | hack hack | 14:38 |
| obergix[work] | anyone to explain me what the # @@ debug @@ comments are used for ? | 15:30 |
| obergix[work] | any link with xdebug ? | 15:30 |
| obergix[work] | anyone ? | 15:37 |
| obergix[work] | too bad... bye | 15:38 |
| minimoo | mo | 18:08 |
| nuclear_eclipse | hi paul | 18:12 |
| minimoo | you do much java stuff? ;p | 18:14 |
| Draggor | java? eww (and I do it professionally!) | 18:18 |
| nuclear_eclipse | micahg: not really | 18:30 |
| nuclear_eclipse | most I do is dabble with Android stuff | 18:30 |
| micahg | nuclear_eclipse: tab complete failure :) | 18:31 |
| nuclear_eclipse | lol, sorry | 18:37 |
| nuclear_eclipse | I'm used to paul using `paulr` where I can just hit hab and go :P | 18:37 |
| nuclear_eclipse | tab even | 18:37 |
| minimoo | heh | 18:48 |
| minimoo | it's not finding a .class file when compiling | 18:48 |
| minimoo | or whatever term is | 18:48 |
| nuclear_eclipse | there's a CLASS_PATH environment variable you can use to tell javac where to search, iirc | 18:48 |
| minimoo | what does jar xf do ? | 18:52 |
| nuclear_eclipse | extract a jar file | 18:54 |
| minimoo | hmm | 18:55 |
| minimoo | so what I think this app does | 18:56 |
| minimoo | is it extracs multiple jars | 18:56 |
| minimoo | then compiles them into one big one | 18:56 |
| minimoo | then compiels the app | 18:56 |
| minimoo | -cfm? | 18:58 |
| nuclear_eclipse | cf creates a new archive, not sure what the m flag is | 19:00 |
| nuclear_eclipse | according to `man jar`, -m specifies a manifest | 19:01 |
| minimoo | so if a .jar file contains a class | 19:02 |
| minimoo | if you call javac with that jar file in input or in class path | 19:03 |
| minimoo | it'll load it? | 19:03 |
| nuclear_eclipse | /shrug | 19:04 |
| nuclear_eclipse | jar files were always one of those "magic" things that I never really took the time to figure out, same with the way eclipse builds and runs a project versus ant | 19:05 |
| minimoo | mm -classpath build/:./:lib/activation.jar:lib/c3p0-0.9.1.2.jar | 19:11 |
| minimoo | : seperates list right? | 19:11 |
| nuclear_eclipse | yes | 19:20 |
Generated by irclog2html.py