[TYPO3-50-general] errors Windows Apache 2.2 php6 from snaps.php.net
Torsten Fink
TorstenFink at gmx.de
Wed Jun 27 14:41:22 CEST 2007
I got the same Errors, its because the files are not includes. i
included them manually but that must be 100 files or more, so i gived up.
> Hello,
>
> Yes the Error comes from DirectoryIterator:
>
> $packagesDirectoryIterator = new DirectoryIterator(TYPO3_PATH_PACKAGES);
> $packagesDirectoryIterator->getPathName();
>
> returns C:\xampp\htdocs\typo35/Packages\CMS/
>
> and eval interprets \C :)
>
> we can do it with:
>
> str_replace('\\','/',$packagesDirectoryIterator->getPathName())
>
> but is this the right solution (speed?) ?
>
> when i correct it then comes the next error:
>
> Fatal error: Uncaught exception 'ReflectionException' with message
> 'Interface T3P_DataAccess_DomainModelDataMapperInterface does not exist'
> in
> C:\xampp\htdocs\typo35\Packages\Framework\Classes\Component\T3P_Framework_Component_Manager.php:241
> Stack trace: #0
> C:\xampp\htdocs\typo35\Packages\Framework\Classes\Component\T3P_Framework_Component_Manager.php(241):
> ReflectionClass->implementsInterface('T3P_DataAccess_...') #1
> C:\xampp\htdocs\typo35\Packages\Framework\Classes\Component\T3P_Framework_Component_Manager.php(134):
> T3P_Framework_Component_Manager->getDefaultImplementationClassNameForInterface('T3P_DataAccess_...')
> #2
> C:\xampp\htdocs\typo35\Packages\Framework\Classes\Package\T3P_Framework_Package_Manager.php(227):
> T3P_Framework_Component_Manager->registerComponentType('T3P_DataAccess_...')
> #3
> C:\xampp\htdocs\typo35\Packages\Framework\Classes\Package\T3P_Framework_Package_Manager.php(103):
> T3P_Framework_Package_Manager->registerAndConfigureAllPackageComponents()
> #4 C:\xampp\htdocs\typo35\Packages\Framework\Classes\TYPO3 in
> C:\xampp\htdocs\typo35\Packages\Framework\Classes\Component\T3P_Framework_Component_Manager.php
> on line 241
>
> Best Regards
>
>
>> Hi Thomas,
>>
>> Am 13.06.2007 um 18:33 schrieb Thomas Peterson:
>>
>>> I think it Comes from the $preparedArguments Array
>>>
>>> Eval interpret the \CMS
>>>
>>> (
>>> [0] => 'CMS'
>>> [1] => 'C:\xampp\htdocs\typo35/Packages\CMS/'
>>> [2] => $valuesForInjection[3]
>>> )
>>>
>>
>> yes, seems like it. As I don't have a Windows machine with PHP6 at
>> hand, can you check the output of
>> $packagesDirectoryIterator->getPathName() in
>> T3P_Framework_Package_Manager line 199? I suppose it's the directory
>> iterator which sneaks in the backslash.
>>
>> robert
More information about the TYPO3-project-5_0-general
mailing list