[TYPO3-50-general] FLOW3, XAMPP and pdo_sqlite
Christoph Blömer
chbloemer at gmx.net
Fri Mar 21 19:40:33 CET 2008
Christoph Blömer schrieb:
> Robert Lemke schrieb:
>
>> Hi Christoph & Martin,
>>
>> Am 19.03.2008 um 16:52 schrieb Martin Kutschker:
>>
>>>> can somebody help me running FLOW3 with TYPO3CR on a XAMPP WINDOWS
>>>> installation.
>>>> I always get an exception: could not find driver.
>>>>
>>> Now I'm really interested if TYPO3 5.0 is supposed to run with sqlite.
>>>
>> The TYPO3CR uses sqlite via PDO by default. This way TYPO3 works out of
>> the box (... should) without the need to set up a user and database.
>> However, we'll of course recommend MySQL. We just don't have the
>> configuration
>> system in place yet.
>>
>> So theoretically FLOW3 + TYPO3CR should work fine on Windows if you just
>> install PDO sqlite correctly.
>>
> phpinfo says:
>
> PDO
> PDO support enabled
> PDO drivers mssql, mysql, sqlite2
>
>
> after that there is pdo_mssql and pdo_mysql. no pdo_sqlite
>
> SQLite
> SQLite support enabled
> PECL Module version 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.9 2007/05/19
> 17:58:22 iliaa Exp $
> SQLite Library 2.8.17
> SQLite Encoding iso8859
>
>
ok. my fault. sqlite is working now. there were too many php.ini 's. ;-)
But now I have some trouble with permission on the sqlite db file in the
temp folder.
When I run the testing package for TYPO3CR I get:
D:\xampp\htdocs\FLOW3\trunk\Packages\TYPO3CR\Tests\T3_TYPO3CR_StorageAccess_PDOTest.php:70
Warning: unlink(C:\Windows\temp\TYPO3CR/Tests/sqlite47e3ffe764460.db)
[<a href='function.unlink'>function.unlink</a>]: Permission denied in
D:\xampp\htdocs\FLOW3\trunk\Packages\TYPO3CR\Tests\T3_TYPO3CR_StorageAccess_PDOTest.php
line 70
And when I run the PhoneBookTutorial I get:
*Catchable Fatal Error: Argument 1 passed to
T3_TYPO3CR_Node::initializeFromArray() must be an array, boolean given,
called in
D:\xampp\htdocs\FLOW3\trunk\Packages\TYPO3CR\Classes\T3_TYPO3CR_Session.php
on line 162 and defined in
D:\xampp\htdocs\FLOW3\trunk\Packages\TYPO3CR\Classes\T3_TYPO3CR_Node.php
line 104*
Greetings
Christoph
More information about the TYPO3-project-5_0-general
mailing list