[TYPO3-english] Pproblems getting typo3 running at one.com's server

Peter Russ peter.russ at 4many.net
Sat Apr 3 00:17:26 CEST 2010


--- Original Nachricht ---
Absender:   Kim Rasmussen
Datum:       02.04.2010 23:09:
> Hallo again 
> 
> I've uploaded typo3 to my host's server twice, and because I could not
> connect to the database their support told me to change the lines as I wrote
> in my first mail. Afterwards I got the syntax error. 
> When I open the file /class.tx_install.php with a program called Stones
> Webwriter line 4838 look like this: <meta name="Generator" content="Stone's
> WebWriter 4"> and as I can see it hasn't anything to do with the problem. 
> 
> The lines I've changes something in is 2351 - 2357 as in the following:
> 
> Transcript from the chat with their support.
> 
> the look for the codes:
> function getDatabaseList() {  
>       $dbArr=array("minerva13_com");  
>           if ($result = $GLOBALS['TYPO3_DB']->sql_pconnect(TYPO3_db_host,
> TYPO3_db_username, TYPO3_db_password)) {  
>           $dbArr = $GLOBALS['TYPO3_DB']->admin_get_dbs();  
>           }  
>         return $dbArr;  
>         }  
> Camille: then change it to:
> 
> function getDatabaseList() {
>  $dbArr=array("minerva13_com");
> //if ($result = $GLOBALS['TYPO3_DB']->sql_pconnect(TYPO3_db_host,
> TYPO3_db_username, TYPO3_db_password)) {
> //$dbArr = $GLOBALS['TYPO3_DB']->admin_get_dbs();
> //}
> return $dbArr;
> }  
> 
> The lines look like this in the actual file on the server:
> 
> function getDatabaseList() {
> 	 $dbArr=array("minerva13_com");
>          if ($result = $GLOBALS['TYPO3_DB']->sql_pconnect(TYPO3_db_host,
> TYPO3_db_username, TYPO3_db_password)) {
>          $dbArr = $GLOBALS['TYPO3_DB']->admin_get_dbs();
>          }
>        return $dbArr;
>        }
> 
> Kind regards
> Kim Rasmussen
> -----Oprindelig meddelelse-----
> Fra: typo3-english-bounces at lists.typo3.org
> [mailto:typo3-english-bounces at lists.typo3.org] På vegne af Steffen Gebert
> Sendt: 2. april 2010 11:09
> Til: typo3-english at lists.typo3.org
> Emne: Re: [TYPO3-english] Pproblems getting typo3 running at one.com's
> server
> 

As told on a post before the advise of the support is totally WRONG. If 
you install TYPO3 it detects if the database is set. If NOT it starts 
the install mode. There you provide username, url, password, database 
etc. So hacking the install code manually is definetly the wrong advise!

So copy a clean version of class.tx_install.php to your server and check 
  typo3conf/localconf.php!

Peter.


-- 
docendo discimus

_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ


More information about the TYPO3-english mailing list