From: <st...@st...> - 2001-05-08 19:14:27
|
I believe they all reside in the individual templates directories in the mods section. Check the Masters and other folders in the tmpl directory, too. I think it's 10 files or so that need to be edited. >"There are also quite a few instances of image and href paths being >hardcoded (i.e. /resources/whatever) without a leading BC_DOCROOT variable." >This seems to be the only install problem I have left. >I've made some changes to defined_constants.conf and still nothing. >Where exactly are these links hardcoded so I can go and change them. >-Mark >>I'm having lots of problems installing into the sub directory /bc what are >>the necessary changes. I've set the BC_DOCROOT = /bc but I'm getting >errors >>such as: >>PHP Warning >>Cannot send session cache limiter - headers already sent (output started at >>/home/mfaine/binarycloud/user/conf/file_permissions.conf:193) >>file: /home/mfaine/www/bc/index.php line 49 >>and 404's and such >>I guess I just need a checklist of common problems when installing into a >>sub directory. >>Thanks for your help >>-Mark >>_______________________________________________ >>binarycloud-dev mailing list >>bin...@li... >>http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >_______________________________________________ >binarycloud-dev mailing list >bin...@li... >http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >_______________________________________________ >binarycloud-dev mailing list >bin...@li... >http://lists.sourceforge.net/lists/listinfo/binarycloud-dev |
From: Faine, M. <Mar...@ms...> - 2001-05-08 19:26:14
|
So what you're saying is I have to edit every file instead of prepending the /bc directory automatically. It would be far easier to change my htdocs directory or just give up on installing in a subdirectory and move my other files into a subdirectoy. I could of sworn Alex had once said something about how this could be fixed easily but I may be mistaken. -Mark -----Original Message----- From: st...@st... [mailto:st...@st...] Sent: Tuesday, May 08, 2001 2:14 PM To: bin...@li... Subject: RE: RE: [binarycloud-dev] installing in a subdirectory I believe they all reside in the individual templates directories in the mods section. Check the Masters and other folders in the tmpl directory, too. I think it's 10 files or so that need to be edited. >"There are also quite a few instances of image and href paths being >hardcoded (i.e. /resources/whatever) without a leading BC_DOCROOT variable." >This seems to be the only install problem I have left. >I've made some changes to defined_constants.conf and still nothing. >Where exactly are these links hardcoded so I can go and change them. >-Mark >>I'm having lots of problems installing into the sub directory /bc what are >>the necessary changes. I've set the BC_DOCROOT = /bc but I'm getting >errors >>such as: >>PHP Warning >>Cannot send session cache limiter - headers already sent (output started at >>/home/mfaine/binarycloud/user/conf/file_permissions.conf:193) >>file: /home/mfaine/www/bc/index.php line 49 >>and 404's and such >>I guess I just need a checklist of common problems when installing into a >>sub directory. >>Thanks for your help >>-Mark >>_______________________________________________ >>binarycloud-dev mailing list >>bin...@li... >>http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >_______________________________________________ >binarycloud-dev mailing list >bin...@li... >http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >_______________________________________________ >binarycloud-dev mailing list >bin...@li... >http://lists.sourceforge.net/lists/listinfo/binarycloud-dev _______________________________________________ binarycloud-dev mailing list bin...@li... http://lists.sourceforge.net/lists/listinfo/binarycloud-dev |
From: Alex B. <en...@tu...> - 2001-05-08 19:48:32
|
> So what you're saying is I have to edit every file instead of prepending the > /bc directory automatically. yes, but it isn't as hard as you're thinking it is. BC_DOCROOT exists for the permissions system, which relies on request uri to determine if the page can be allowed to execute. so it makes sense to abstract it there, which it is (thus, BC_DOCROOT in defined_constants.conf and file_permissions.conf. there are html links in .phtml files in the modules and master templates, which reference href="/ and src="/resources/ so you can grep those very easily, and you'll have a pretty install in a subdirectory. everything else should function fine. > It would be far easier to change my htdocs directory or just give up on > installing in a subdirectory and move my other files into a subdirectoy. yeah. really the best thing to do is run a virtualhost, because it makes all of those installation hassles go away. it's also clean, because you can test binarycloud in a separate tree from your other stuff - play with the prepends, break stuff, etc. > I could of sworn Alex had once said something about how this could be fixed > easily but I may be mistaken. above :) _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |