[TYPO3-windows] error in class.t3lib_div.php

Joerg Wagner [DigiLog] lists.typo3.org at digilog.de
Tue Oct 19 07:54:35 CEST 2010


Hi Tomek,

is the web root of your server set to d:\(...)\typo3_src-4.3.5\ ?
TYPO3 expects its source files to be in the subfolders /typo3/, /t3lib/ 
and /misc/ of your web root.
On Linux you can put the source files into a different directory, but 
then you have to symlink it into the webroot. This is often done on 
Linux because it allows to later exchange the TYPO3 sources of all 
(virtual) servers running on one machine just by changing the symlink.
On Windows the equivalent of symlinks are junctions, but I never tried 
them with TYPO3.
For a start I recommend to simply copy the above three paths into your 
web root.

Cheers,
Jörg.


schrieb Tomasz Krawczyk am 02.10.2010 10:12:
> Hi list,
>
>
> On my laptop with Windows 7 x64 (Apache 2.2.16 and PHP 5.3.3) I have an
> error in tree of pages. This error can't let me work in BE.
>
> Fatal error: Cannot redeclare class t3lib_div in
> d:\(...)\typo3_src-4.3.5\t3lib\class.t3lib_div.php on line 232
>
> This line contains:
>
> "final class t3lib_div {"
>
> I see, that this class is used in typo3/ t3lib/ typo3_src/ directories
> and and by 2 extensions devlog and sr_freecap.
>
>
> I made backup and I set up TYPO3 on Windows XP (Apache 2.2.13 and PHP
> 5.3.1) and it works fine.
>
> Does anyone know why it doesn't work on my laptop?
>
>
> regards
> Tomek


More information about the TYPO3-windows mailing list