[TYPO3-core] RFC: Fix #7743: Install Tool: Create "admin" user doesn't work anymore in 4.2-beta3

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Mar 4 11:19:15 CET 2008


Hi!

Michael Stucki wrote:
> After dropping all tables in my database and recreate them with the COMPARE
> module of the install tool I tried to create the admin account. The
> following error occurs: "Required table not in database - 'be_users' must
> be a table in the database!"
> The table "be_users" exists in the database (I checked this with
> phpmyadmin).
> 
> Solution:
> This is caused by my changes in RFC #7589. t3lib_install::getListOfTables()
> returns a copy of t3lib_db::admin_get_tables(). However, I had changed this
> function so that it does no longer return arrays with tablename in key and
> also value, but instead now uses the value for collecting table details
> ("SHOW TABLE STATUS FROM <table>").
> 
> Solution is to adapt t3lib_install::getListOfTables() so that it continues
> to send tablename in array key and also its value.

Tested, works, +1.

> The alternative solution would be to modify all calls to
> t3lib_install::getListOfTables() - what do you think?

No... Better to change the function than all calls to it.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-team-core mailing list