[Typo3-UG Italy] Problemino prima installazione 2 minuti del vostro tempo! :)

Fabio fpedrocca at gmail.com
Tue Jan 24 14:26:20 CET 2006


Ciao , sto usando questa conf:

Win XP Professional SP2
Apache 2.0.54 Win32
PHP 5.0.4 OR PHP 4.4.2
MySQL 5.0.16-nt

ho fatto l'importazione guidata dei dai durante l'installazione e ho 
controllato con phpmyadmin dentro il db e i dati ci sono.

sto provando a fare come mi ha suggerito stefano nell'altra risposta, 
sono andato a vedere cosa dice a questo post

http://bugs.typo3.org/view.php?id=2059


e in effetti ha ragione, dice:


====================================

Existing and running webserver environment:
Win XP Professional SP2
Apache 2.0.54 Win32
PHP 5.0.4 OR PHP 4.4.2
MySQL 5.0.16-nt

Tried TYPO3 versions:
DummyPackage 3.8.1
QuickStart 3.8.1

Installation ended within that it was unpossible to login into the BE 
using the default admin username (admin) and password (password) 
although this data are within the db table be_users (checked by using 
the MySQL client).

Searches within forums and the internet has shown, that ther must be a 
problem using MySQL 5.

THIS SHOULD BE WRITEN ON THE SYSTEM REQUIREMENTS LIST UNDER 
http://typo3.org/1275.0.html!!!

=======================================
da anche un bel file con la patch :)

all'interno di questo file ci sono istruzioni:




Index: t3lib/class.t3lib_db.php
===================================================================
RCS file: /cvsroot/typo3/TYPO3core/t3lib/class.t3lib_db.php,v
retrieving revision 1.19.2.6
diff -u -r1.19.2.6 class.t3lib_db.php
--- t3lib/class.t3lib_db.php	19 Jan 2006 17:07:43 -0000	1.19.2.6
+++ t3lib/class.t3lib_db.php	19 Jan 2006 19:46:37 -0000
@@ -881,6 +881,10 @@

  		if (!$this->link) {
  			t3lib_div::sysLog('Could not connect to Mysql server 
'.$TYPO3_db_host.' with user '.$TYPO3_db_username.'.','Core',4);
+		} else {
+			foreach($GLOBALS['TYPO3_CONF_VARS']['SYS']['setDBinit'] as $v) {
+				mysql_query($v, $this->link);
+			}
  		}
  		return $this->link;
  	}
Index: t3lib/config_default.php
===================================================================
RCS file: /cvsroot/typo3/TYPO3core/t3lib/config_default.php,v
retrieving revision 1.86.2.4
diff -u -r1.86.2.4 config_default.php
--- t3lib/config_default.php	19 Jan 2006 18:43:46 -0000	1.86.2.4
+++ t3lib/config_default.php	19 Jan 2006 19:46:38 -0000
@@ -77,6 +77,7 @@
  		't3lib_cs_utils' => '',					// String (values: "iconv" - PHP 5.0 
only!, "mbstring", default is homemade PHP-code). Defines which of these 
PHP-features to use for various Charset processing functions in 
t3lib_cs. Will speed up charset functions radically.
  		'no_pconnect' => 0,						// Boolean: If true, "connect" is used 
instead of "pconnect" when connecting to the database!
  		'multiplyDBfieldSize' => 1,				// Double: 1-5: Amount used to 
multiply the DB field size when the install tool is evaluating the 
database size (eg. "2.5"). This is useful if you want to expand the size 
of fields for utf-8 etc. For western european sites using utf-8 the need 
should not be for more than twice the normal single-byte size (2) and 
for chinese / asian languages 3 should suffice.
+		'setDBinit' => array(),					// Array, commands to send to database 
right after connecting. Ignored by the DBAL extension!
  		'setMemoryLimit' => 0,					// Integer, memory_limit in MB: If more 
than 16, TYPO3 will try to use ini_set() to set the memory limit of PHP 
to the value. This works only if the function ini_set() is not disabled 
by your sysadmin.
  		'forceReturnPath' => 0,					// Boolean: Force return path to be 
applied in mail() calls. If this is set, all calls to mail() done by 
t3lib_htmlmail will be called with '-f<return_path> as the 5th 
parameter. This will make the return path correct on almost all Unix 
systems. There is a known problem with Postfix below version 2: Mails 
are not sent if this option is set and Postfix is used. On Windows 
platforms, the return path is set via a call to ini_set. This has no 
effect if safe_mode in PHP is on.
  		'displayErrors' => -1,					// Integer, -1,0,1,2. 0=Do not display 
any PHP error messages. 1=Display error messages. 2=Display only if 
client matches TYPO3_CONF_VARS[SYS][devIPmask]. -1=Default setting. With 
this option, you can override the PHP setting "display_errors". It is 
suggested that you set this to "0" and enable the "error_log" option in 
php.ini instead.













in pratica dice che c'è da modificare 2 file


t3lib/config_default.php
t3lib/class.t3lib_db.php

il primo è semplice capire dove c'è da inserire la modifica e non 
presenta problemi, il secondo non mi convince molto, la parte di codice 
precedente a quello che dice di inserire non è presente in questo file.....

non saprei, ora faccio un po di prove.








jh wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Ciao,
> che sistema stai usanto tu?
> Hai fatto l'importo del dati nel database?
> 
> Ciao
> jan
> 
> Am 24.01.2006 um 13:27 schrieb Fabio:
> 
>>
>> Ciao a tutti sono un nuovo utente di typo3 questo cms mi incuriosisce
>> molto e vorrei saperne di più. per adesso ho deciso di fare una  piccola
>> macchina di test in ufficio per lo sviluppo e testare le varie  versioni
>> e fare le mie prove.
>>
>> ho installato php5 mysql 5 e apache 2 configurato il tutto  correttamente
>> da manuale ho provato ad installarci alcuni cms che già conoscevo
>> (es:xaraya) e nessun problema, provo ad installare la release  quickstart
>> di typo3 e l'installazione va a buon termine senza errori, quando alla
>> fine mi si presenta la serie di link vai al fornt end e vai al  backend,
>> voglio vedere l'amministrazione e vado al backend, ma quando inserisco
>> user: admin e password: password mi dice che la login non è valida,  nel
>> pdf allegato e nelle varie info trovate sul sito uff mi sembra sia
>> quello il profilo per l'ingresso (il primo) nell'amministrazione, ho
>> provato ad installare anche la dummy e la testsite, stesso  problema, non
>> so se manca qualche configurazione nel webserver a sto punto.
>>
>> nessuno di voi ha mai riscontrato questo problema?
>>
>> grazie in anticipo per l'eventuale aiuto.
>>
>> Fabio
>> _______________________________________________
>> Typo3-ug-italy mailing list
>> Typo3-ug-italy at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-italy
> 
> 
> 
> 
> - -----------------------------------------------------
> jh at venetowebdesign.it
> http://www.venetowebdesign.com
>     
> FRESH:  http://meineAdria.com
> 
> VENETOWEBDESIGN.COM
> Jan Holzmann
> Via Boccaccio,1
> 30026 Portogruaro
> 
> T +39.0421.280044
> F +39.0421.280044
> 
> 
> 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (Darwin)
> 
> iD4DBQFD1iWD4EmUIiX5qTARAomWAJUSH54f3MYTBhrv0zOFSh8D1kOkAKDL66Ei
> 2IvYQ6sRqprrNCFxUEYYBw==
> =3k/Y
> -----END PGP SIGNATURE-----



More information about the TYPO3-UG-italy mailing list