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

Kim Rasmussen kim at minerva13.com
Fri Apr 2 23:09:59 CEST 2010


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

Am 02.04.2010, 10:55 Uhr, schrieb Kim Rasmussen <kim at minerva13.com>:

> I've tried to get typo3 running at one.com's server


> Parse error: syntax error, unexpected T_STRING in  
> typo3/sysext/install/mod/class.tx_install.php on line 4838

It's a *syntax* error. It's very unlikely that this is caused by your  
hoster. Did you make some changes to this file?
Please have a look at line 4838. I'm quite sure theres a quotation error  
or similar. Maybe you could post the line here.

Or just get the file again from typo3.org

Steffen
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list