Re: [phpslash-users] my installation
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-01-08 03:50:12
|
Hello, On Tue, Jan 07, 2003 at 09:45:33PM -0500, Jason High wrote: > Ok, I know very little about programming, so bear with me. I am trying to > install phpSlash, but after I'm done editing config.php3, when I try to go > to my site I get the error: > > "Fatal error: Cannot instantiate non-existent class: template in > /home/whitehat/public_html/class/functions.inc on line 28" > This would indicate PHPLIB is not installed. > If I do the capabilities test (go to test.php3), when I click on the link to > test phpLib for Slash, it says that I most likely have not defined the > slashSess.class class. Well, seeing as how I'm not a programmer, I have no > idea what that means. I have toyed with other PHP/MySQL products before > such as PHPNuke, so I'm not totally foreign to PHP or MySQL. Any help would > be GREATLY appreciated. Thanks. > A couple of lines above the link you referenced there is a line that should contain: PHPLIB (is page_open() defined): Yes If you haven't installed PHPLIB yet all you have to do is: download it here: http://prdownloads.sourceforge.net/phplib/phplib-7.4-pre1.tar.gz?download untar it somewhere. For other PHPLIB applications this shouldn't be where the webserver can show the files, but for phpSlash it really doesn't matter. edit one line in whatever/phplibdir/php/prepend.php3 - $_PHPLIB["libdir"] = ""; This should contain the path to the directory that contains the prepend.php3 file ( example "/whatever/phplibdir/php/"). Adjust the line in phpSlash's config.php3 file accordingly - require('/home/nathan/webDevel/php-lib-stable/php/prepend.php3'); This should fix you up. Joe > -Jason > "You can't eat an apple with one tooth." > View my list at http://db.etree.org/kamelwalk > ICQ#: 179491889 > > > > > _________________________________________________________________ > Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > phpslash-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpslash-users |