[TYPO3-UG Italy] Problema Post-Installazione : non crea be admin

user at domain.invalid user at domain.invalid
Thu Dec 7 19:12:14 CET 2006


Salve a tutti, sono nuovo con typo3: ho gia' usato un preinstallato ma
sto' cercando per la prima volta di installarmelo in locale ed incontro
un particolare problema sul quale non riesco a trovare informazioni da
nessuna parte: in pratica, ad installazione ultimata con successo, vado
al login del backend ma non riesco mai ad autenticarmi ricevendo il
solito errore: ".. Make sure to spell your username and password
correctly .."
vi dico tutto:
- l'utente default (admin/password) non funge, se cerco di creare un
nuovo utente amministratore da [TYPO3 4.0 Install Tool] -> [Database
Analyser]-> [Create admin user], l'utente *sembra* venire correttamente
creato, ma in realta' non viene effettivamente scritto nel database (se
vado a vedere in be_users non c'e') e non accedo col login. D'altra
parte typo3 accede al mio mysql come root con tutti i privilegi e non
rilevo alcun errore di connessione.
- ho provato sia con l'installazione quickstart (3.8.1 mi pare) sia col
sorgente + dummy file (4.0.3), in entrambi i casi l'installazione
(almeno cosi mi pare) e' andata a buon fine, ma in entrambi i casi il
problema si ripresenta identico, in entrambi i casi sono andato a
guardare nel db: nella be_user nel caso del quickstart c'erano alcuni
utenti, compreso l'admin con l'hash md5 di "password" nel campo password
(ho anche provato a editare i dati del campo in tutti i modi, senza
risultato), nel caso del sorgente non c'era niente e basta

- l'ambiente e' win XP con MySql5, allego di seguito il [TYPO3 4.0
Install Tool] -> [phpinfo()] -> [DEBUG information]

### DEBUG SYSTEM INFORMATION - START ###
HTTP_HOST           : localhost
TYPO3_HOST_ONLY     : localhost
TYPO3_PORT          :
PATH_INFO           :
QUERY_STRING        : TYPO3_INSTALL[type]=phpinfo
REQUEST_URI         :
/typo3/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
HTTP_REFERER        :
http://localhost/typo3/typo3/install/index.php?TYPO3_INSTALL[type]=database&TYPO3_INSTALL[database_type]=adminUser|
TYPO3_REQUEST_HOST  : http://localhost
TYPO3_REQUEST_URL   :
http://localhost/typo3/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_REQUEST_SCRIPT: http://localhost/typo3/typo3/install/index.php
TYPO3_REQUEST_DIR   : http://localhost/typo3/typo3/install/
TYPO3_SITE_URL      : http://localhost/typo3/
TYPO3_SITE_SCRIPT   : typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_SSL           :
SCRIPT_NAME         : /typo3/typo3/install/index.php
TYPO3_DOCUMENT_ROOT : C:/Inetpub/wwwroot
SCRIPT_FILENAME     : C:/Inetpub/wwwroot/typo3/typo3/install/index.php
REMOTE_ADDR         : 127.0.0.1
REMOTE_HOST         : 127.0.0.1
HTTP_USER_AGENT     : Mozilla/5.0 (Windows; U; Windows NT 5.1; it;
rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
HTTP_ACCEPT_LANGUAGE: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3
CONST: PHP_OS       : WINNT
CONST: TYPO3_OS     : WIN
CONST: PATH_thisScri: C:/Inetpub/wwwroot/typo3/typo3/install/index.php
CONST: php_sapi_name: cgi-fcgi
OTHER: TYPO3_VERSION: 4.0.3
OTHER: PHP_VERSION  : 5.1.6
imagecreatefromgif(): 1
imagecreatefrompng(): 1
imagecreatefromjpeg(: 1
imagegif()          : 1
imagepng()          : 1
imagejpeg()         : 1
imagettftext()      : 1
OTHER: IMAGE_TYPES  : 15
OTHER: memory_limit :
SERVER: SERVER_PORT : 80
SERVER: SERVER_SOFTW: Microsoft-IIS/5.1
SERVER: GATEWAY_INTE: CGI/1.1
SERVER: SCRIPT_NAME : /typo3/typo3/install/index.php
SERVER: PATH_TRANSLA:
T3CV_GFX: image_proc: 1
T3CV_GFX: gdlib     : 1
T3CV_GFX: gdlib_png : 0
T3CV_GFX: gdlib_2   : 0
T3CV_GFX: im        : 1
T3CV_GFX: im_path   : /usr/X11R6/bin/
T3CV_GFX: im_path_lz: /usr/bin/
T3CV_GFX: im_version:
T3CV_GFX: im_negate_: 0
T3CV_GFX: im_imvMask: 0
T3CV_GFX: im_combine: combine
### DEBUG SYSTEM INFORMATION - END ###


- gli unici indizi che qualcosa non va' li ho trovati in: [Database
Analyser] -> [Compare with $TCA], allego il tutto di seguito

Fields from database, but not in $TCA:

------------------------------------------------
be_users
------------------------------------------------
Field name:	Info / Suggestion for the field:
------------------------------------------------
workspace_id	int(11) default '0'

'workspace_id' => array (
	'label' => 'WORKSPACE_ID:',
	'exclude' => 0,
	'config' => array (
		'type' => 'input',
		'size' => '8',
		'max' => '20',
		'eval' => 'date',
		'default' => '0',
		'checkbox' => '0'
	)
),

----- OR -----

'workspace_id' => array (
	'label' => 'WORKSPACE_ID:',
	'exclude' => 0,
	'config' => array (
		'type' => 'select',
		'items' => array (
			array('[nothing]', 0),
			array('Extra choice! Only negative values here.', -1),
			array('__Divider:__', '--div--')
		),
		'foreign_table' => '[some_table_name]'
	)
),

workspace_preview	tinyint(3) default '1'

'workspace_preview' => array (
	'label' => 'WORKSPACE_PREVIEW:',
	'exclude' => 0,
	'config' => array (
		'type' => 'select',
		'items' => array (
			array('Item number 1', '1'),
			array('Item number 2', '2'),
			array('-----', '--div--'),
			array('Item number 3', '3')
		),
		'default' => '1'
	)
),

----- OR -----

'workspace_preview' => array (
	'label' => 'WORKSPACE_PREVIEW:',
	'exclude' => 0,
	'config' => array (
		'type' => 'check',
		'default' => '1'
	)
),


------------------------------------------------
fe_users
------------------------------------------------
Field name:	Info / Suggestion for the field:
------------------------------------------------
is_online	int(10) unsigned default '0'

'is_online' => array (
	'label' => 'IS_ONLINE:',
	'exclude' => 0,
	'config' => array (
		'type' => 'input',
		'size' => '8',
		'max' => '20',
		'eval' => 'date',
		'default' => '0',
		'checkbox' => '0'
	)
),

----- OR -----

'is_online' => array (
	'label' => 'IS_ONLINE:',
	'exclude' => 0,
	'config' => array (
		'type' => 'select',
		'items' => array (
			array('[nothing]', 0),
			array('Extra choice! Only negative values here.', -1),
			array('__Divider:__', '--div--')
		),
		'foreign_table' => '[some_table_name]'
	)
),


Non riesco a capire quale sia il problema he come risolverlo, c'e'
qualcuno in grado di aiutarmi ?

Grazie a tutti




More information about the TYPO3-UG-italy mailing list