[TYPO3] Problem with user acount: recordEditAccessInternals() checkfailed

Diederik van Veen crz_06 at hotmail.com
Fri Mar 17 13:15:35 CET 2006


Ok, found the solution in the german mailinglist (Thx Steven Weiß for the 
solution).

in t3lib/class.t3lib_tcemain.php change this line:

$rows =
array_merge(array('uid'=>0),$GLOBALS['TYPO3_DB']->exec_SELECTgetRows('uid','sys_language','pid=0'.t3lib_BEfunc::deleteClause('sys_language')),array('uid'=>-1));

by

$rows =
array_merge(array(array('uid'=>0)),$GLOBALS['TYPO3_DB']->exec_SELECTgetRows('uid','sys_language','pid=0'.t3lib_BEfunc::deleteClause('sys_language')),
array(array('uid'=>-1)));

and voila it works. (a bug report has been made allready by Steven .

>From: "Diederik van Veen" <crz_06 at hotmail.com>
>Reply-To: TYPO3 English <typo3-english at lists.netfielders.de>
>To: typo3-english at lists.netfielders.de
>Subject: [TYPO3] Problem with user acount: recordEditAccessInternals() 
>checkfailed
>Date: Fri, 17 Mar 2006 10:41:59 +0000
>
>Hi, I made a user login with restricted rights. However when a user whats 
>to
>create a new record, and save this record. this message is shown. What does
>it mean, and what do i have to do to make it work. thx
>
>1: recordEditAccessInternals() check failed. [ERROR: The "languageField"
>field named "sys_language_uid" was not found in testing record!]
>
>_________________________________________________________________
>On the road to retirement? Check out MSN Life Events for advice on how to
>get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
>
>_______________________________________________
>TYPO3-english mailing list
>TYPO3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the TYPO3-english mailing list