[Lxr-dev] [ lxr-Bugs-3492915 ] Can't access from other ip, maybe a script error
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2012-02-24 17:27:50
|
Bugs item #3492915, was opened at 2012-02-24 00:18 Message generated for change (Comment added) made by ajlittoz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3492915&group_id=27350 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Browsing Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Zhang Qi (zhangqigenius) Assigned to: Andre-Littoz (ajlittoz) Summary: Can't access from other ip, maybe a script error Initial Comment: I install vmware and fedora 16 under win7. I read the INSTALL manual, configure the lxr.conf and install the lxr correctly. I can access /lxr/source with firefox under fedora, and visit /lxr/ with IE under win7. But when I try to access the /lxr/source with IE9 under win7, I got nothing but a blank. I tried a lot of time and chang the apache's conf but it also didn't work. Finally I found something may cause this problem when I read apache's error log. fatal: LXR::Template, line 296: Undefined subroutine &LXR::Template::stylesheet called at lib/LXR/Template.pm line 296. I don't kown what's this means but I thing it's not my mistake. It seems a script bug. So how can I fix it? ---------------------------------------------------------------------- >Comment By: Andre-Littoz (ajlittoz) Date: 2012-02-24 09:27 Message: Error caused by wrong user configuration. However, there is a bug in 0.10.2 Template.pm (corrected in CVS for 0.11 release) related with 'htmlfatal' template expansion: function call &stylesheet kept while removed in other template. 0.11 reverts to function call everywhere. ---------------------------------------------------------------------- Comment By: Zhang Qi (zhangqigenius) Date: 2012-02-24 07:08 Message: Thanks a lot. I have solved this problem. I read the lxr.conf. At the host name section, I didn't add the proper IP to it so it can not be access from the outside. Thanks a lot. ---------------------------------------------------------------------- Comment By: Andre-Littoz (ajlittoz) Date: 2012-02-24 01:16 Message: From premilinary inspection of Template.pm code, you were probably using a bad-formed URL appearing to LXR as a reference to a non-existent (or unknown) source-tree. If this is the case, you'll get an error message in upcoming 0.11 release. Otherwise, send the resquested information to track down the bug. ---------------------------------------------------------------------- Comment By: Andre-Littoz (ajlittoz) Date: 2012-02-24 00:39 Message: Which LXR version have you installed? What is the URL at error-time? http://localhost/lxr ... ? Send also the HTML subsection of your lxr.conf, the part where 'hmtl***' => 'xx' are defined. This will help identify the faulty template. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3492915&group_id=27350 |