#81 Wrong "Manual" link in header

closed-fixed
nobody
None
5
2008-10-23
2008-10-03
Mattias S
No

1.9.7-rc1
The link to the manual in the header points to the perl script, not codestrikerhtml as it should.

Discussion

1 2 > >> (Page 1 of 2)
  • David Sitsky
    David Sitsky
    2008-10-11

    This works fine for me - can you email me your apache and codestriker config to me? Something else must be wrong..

     
  • Mattias S
    Mattias S
    2008-10-13

    Codestriker "topic list".

     
    Attachments
  • Mattias S
    Mattias S
    2008-10-13

    File Added: codestriker.html

     
  • Mattias S
    Mattias S
    2008-10-13

    Codestriker configuration

     
    Attachments
  • Mattias S
    Mattias S
    2008-10-13

    We're using MS IIS with the perl version described in the installation manual. The link was correct in the 1.9.6 release.
    File Added: codestriker.conf

     
  • David Sitsky
    David Sitsky
    2008-10-16

    Can you try using 1.9.7-rc2 which has just been released?

    I also wonder if using Perl 5.8 or 5.10 might be worth a try. I don't have IIS handy, so I can't test this myself I am afraid.

     
  • Mattias S
    Mattias S
    2008-10-16

    The same problem for me with rc-2.
    However, it seems to be a CGI problem... The CGI ->url() does not return the expected path.
    If I modify StaticResourcesMethod.pm line 32:
    Was: $htmlurl =~ s/codestriker\/codestriker\.pl/codestrikerhtml/;
    To: $htmlurl =~ s/\.pl/html/; $htmlurl = '/' . $htmlurl;
    It works...
    The strange thing is that CGI worked well in 1.9.6...

    I have tried the latest perl package (5.10.0) but the included CGI module doesn't work at all... I'm using 5.8.7 now.

     
  • David Sitsky
    David Sitsky
    2008-10-16

    What does CGI->url() return for you?

    I remember CGI.pm has a bit of a bad history with IIS for some versions. What version does install.pl report CGI.pm as?

    Can you try upgrading to the most recent version using ppm to see if its a bug they have fixed?

     
  • David Sitsky
    David Sitsky
    2008-10-20

    What does CGI->url() return for you?

    I remember CGI.pm has a bit of a bad history with IIS for some versions.
    What version does install.pl report CGI.pm as?

    Can you try upgrading to the most recent version using ppm to see if its a
    bug they have fixed?

     
  • Mattias S
    Mattias S
    2008-10-22

    Sorry for the delayed response... But here are my answers...

    CGI->url() = "http://zxy255/codestriker/codestriker.pl"
    CGI->url(-relative=>1) = "codestriker.pl"

    For some reason the Nescape 4.x fix in Method.pm matches for my internet explorer 7 browser and thats why the manual link is wrong. If i just comment out that browser check then everything works great...
    I've commented out the browser check in UrlBuider.pm as well to see if this will make the mail URLs correct. But our internal mailserver is down at the moment so I can't test this...

    I have not tested the latest perl and the latest CGI. I might be able to do that next week. My current CGI version is 3.10

     
1 2 > >> (Page 1 of 2)