[Typo3-dev] Problem with Typo3-3.6.0RC1 and the quickstart package
Dietrich Heise
dietrich at pegestorf.de
Fri Jan 23 22:14:19 CET 2004
Hi,
I have the following problem with the quickstart package:
Fatal error: Cannot instantiate non-existent class: t3lib_cs in
/var/www/localhost/htdocs/typo3/typo3_src-3.6.0RC1/t3lib/class.t3lib_div.php on
line 2802
It is a fresh install.
All other three packages works fine!
here are the file with linenumbers:
[...]
2788 /**
2789 * Make instance of class
2790 * Takes the class-extensions API of TYPO3 into account
2791 * Please USE THIS instead of the PHP "new" keyword. Eg. "$obj =
new myclass;" should be "$obj = t3lib_div::makeInstance("myclass ")" instead!
2792 *
2793 * Usage: 455
2794 *
2795 * @param string Class name to instantiate
2796 * @return object The object
2797 */
2798 function makeInstance($className) {
2799 if (class_exists('ux_'.$className)) {
2800 return t3lib_div::makeInstance('ux_'.$className);
2801 } else {
2802 return new $className;
2803 }
2804 }
[...]
mfg
Dietrich
--
[ This eMail is best viewed with eyes ]
More information about the TYPO3-dev
mailing list