From: R. S. B. <Ba...@ho...> - 2003-02-26 21:59:39
|
After click on "Create Config File" button, I get the following error: Fatal error: Failed opening required 'HTML/Template/IT.php' (include_path='.:/usr/share/pear') in /var/www/html/core/Core.php on line 31 If I modify the Core.php file /* This line is for *nix/linux environments */ //ini_set("include_path", ".:".PHPWS_SOURCE_DIR."lib/pear/"); to: /* This line is for *nix/linux environments */ ini_set("include_path", ".:".PHPWS_SOURCE_DIR."lib/pear/"); It seems to work fine... I can install fine. Also to note from a my privious e-mail/forum entry: If when you first go to the ~/setup/ and you enter the info for your config.php file, the entry for: "Web Address" if you enter: http://bla.bla your links will be http://http://bla.blaindex.php if you enter: bla.bla your links will be http://bla.blaindex.php The only correct entery would be: bla.bla/ Is their a way to check for the trailing "/" Scott |
From: Don S. <do...@se...> - 2003-02-26 22:04:50
|
If you notice the default entry does have a trailing slash. But yes phpws should probably check for this and maybe just add the slash on if it's needed before writing the config file. Don. On Wed, 26 Feb 2003, R. Scott Baer wrote: > After click on "Create Config File" button, I get the following error: > > Fatal error: Failed opening required 'HTML/Template/IT.php' > (include_path='.:/usr/share/pear') in /var/www/html/core/Core.php on line > 31 > > If I modify the Core.php file > /* This line is for *nix/linux environments */ > //ini_set("include_path", ".:".PHPWS_SOURCE_DIR."lib/pear/"); > > to: > > /* This line is for *nix/linux environments */ > ini_set("include_path", ".:".PHPWS_SOURCE_DIR."lib/pear/"); > > It seems to work fine... > I can install fine. > > Also to note from a my privious e-mail/forum entry: > > If when you first go to the ~/setup/ > > and you enter the info for your config.php file, the entry for: "Web > Address" > > if you enter: http://bla.bla > your links will be http://http://bla.blaindex.php > > if you enter: bla.bla > your links will be http://bla.blaindex.php > > The only correct entery would be: bla.bla/ > > Is their a way to check for the trailing "/" > > Scott > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: R. S. B. <Ba...@Ba...> - 2003-02-26 22:53:16
|
I did notice the trailing slash.. but I think some users would not edit the filed correctly, +1 on Checking for a trailing slash I would also like to see it check for http:// at the beginning.. and chop it if present. Scott > If you notice the default entry does have a trailing slash. But yes phpws > should probably check for this and maybe just add the slash on if it's > needed before writing the config file. > > Don. > > On Wed, 26 Feb 2003, R. Scott Baer wrote: > > > After click on "Create Config File" button, I get the following error: > > > > Fatal error: Failed opening required 'HTML/Template/IT.php' > > (include_path='.:/usr/share/pear') in /var/www/html/core/Core.php on line > > 31 > > > > If I modify the Core.php file > > /* This line is for *nix/linux environments */ > > //ini_set("include_path", ".:".PHPWS_SOURCE_DIR."lib/pear/"); > > > > to: > > > > /* This line is for *nix/linux environments */ > > ini_set("include_path", ".:".PHPWS_SOURCE_DIR."lib/pear/"); > > > > It seems to work fine... > > I can install fine. > > > > Also to note from a my privious e-mail/forum entry: > > > > If when you first go to the ~/setup/ > > > > and you enter the info for your config.php file, the entry for: "Web > > Address" > > > > if you enter: http://bla.bla > > your links will be http://http://bla.blaindex.php > > > > if you enter: bla.bla > > your links will be http://bla.blaindex.php > > > > The only correct entery would be: bla.bla/ > > > > Is their a way to check for the trailing "/" > > > > Scott > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Scholarships for Techies! > > Can't afford IT training? All 2003 ictp students receive scholarships. > > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > > www.ictp.com/training/sourceforge.asp > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |
From: Matthew M. <ma...@tu...> - 2003-02-27 13:07:39
|
> /* This line is for *nix/linux environments */ > ini_set("include_path", ".:".PHPWS_SOURCE_DIR."lib/pear/"); > > It seems to work fine... > I can install fine. True. We develop off our home library. So our releases (not our CVS releases) will have that uncommented. > Also to note from a my privious e-mail/forum entry: > > If when you first go to the ~/setup/ > ... > your links will be http://http://bla.blaindex.php I have updated set_config.php to do the following. Add slashes to the web address and file directory where needed. Remove http:// from the submitted web address. Added a directory existance check on the submitted file directory. Hopefully these changes should make the set_config easier to work with. Thanks for your help! Matt -- Matthew McNaney Internet Systems Architect Electronic Student Services Appalachian State University Phone: 828-262-6493 phpwebsite.appstate.edu ess.appstate.edu > > > and you enter the info for your config.php file, the entry for: "Web > Address" > > if you enter: http://bla.bla > > > if you enter: bla.bla > your links will be http://bla.blaindex.php > > The only correct entery would be: bla.bla/ > > Is their a way to check for the trailing "/" > > Scott > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |