[Phplib-trackers] [ phplib-Bugs-489961 ] Problem with Phplib 7.2d
Brought to you by:
nhruby,
richardarcher
|
From: <no...@so...> - 2002-01-10 11:55:26
|
Bugs item #489961, was opened at 2001-12-06 11:27 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=489961&group_id=31885 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Carlos M.Viales Solorzano (carviaso) Assigned to: Nobody/Anonymous (nobody) Summary: Problem with Phplib 7.2d Initial Comment: Hi I intented install PhpLib but all time say me this error: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in E:\Inetpub\php\phplib-7.2d\php\prepend.php3 on line 15 For what is this error. Thanks for all ---------------------------------------------------------------------- Comment By: Gaetano Giunta (ggiunta) Date: 2002-01-10 03:55 Message: Logged In: YES user_id=114789 You probably have not defined correctly (maybe some typo?) the variable $_PHPLIB["libdir"] on line 13 of prepend.php3: $_PHPLIB is an array $_PHPLIB["libdir"] is (a string) the element of the array that contains the base path of the phplib include files (e.g. E:\Inetpub\php\phplib-7.2d\php in your case) Please answer if this is the case so the bug can be closed Gaetano ---------------------------------------------------------------------- Comment By: Carlos M.Viales Solorzano (carviaso) Date: 2001-12-06 13:20 Message: Logged In: YES user_id=348350 This error i correcting if ( !defined('$_PHPLIB')) { $_PHPLIB = array(); $_PHPLIB["libdir"] = ""; } But say a new error, example: Fatal error: Cannot instantiate non-existent class: hordesession in E:\Inetpub\php\phplib-7.2d\php\page.inc on line 18 For what is this??? ---------------------------------------------------------------------- Comment By: Carlos M.Viales Solorzano (carviaso) Date: 2001-12-06 13:01 Message: Logged In: YES user_id=348350 This error i correcting if ( !defined('$_PHPLIB')) { $_PHPLIB = array(); $_PHPLIB["libdir"] = ""; } But say a new error, example: Fatal error: Cannot instantiate non-existent class: hordesession in E:\Inetpub\php\phplib-7.2d\php\page.inc on line 18 For what is this??? ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=489961&group_id=31885 |