[TYPO3-mvc] Problem with fetching database records
Steffen Ritter
info at rs-websystems.de
Thu Dec 10 12:53:25 CET 2009
Rens Admiraal schrieb:
> I'm working on an extension, but somehow I can't fetch database records
> by using a Tx_Extbase_Persistence_Repository.
>
> Repository->findAll() always returns an empty array, and
> Repository->findOneByUid(1) returns NULL. But a record with uid 1 does
> exist in the database.
> The methods findAll() and findOneByUid() are also working, because
> fetching records from the BlogExample works fine.
>
> I've created my extension using the Extbase Kickstarter (SVN trunk
> checkout done yesterday). An example extension can be found at
> http://tinyurl.com/yf6thvv
>
> I've tried to find the difference between the blog example and the
> example extension I created, but after searching 4 hours I thought
> asking some help would be good :-)
>
>
>
> With kind regards,
> Rens Admiraal
> TYPO3 Certified Integrator
>
The difference is, you did not specify the storagepid in TS or
storagefolder in the plugin ...
Have a look at the templatebrowser and the unfilled value of the setting
persistance.storagePid
regards
More information about the TYPO3-project-typo3v4mvc
mailing list