17452 Posts in 4473 Topics by 1971 members
Page: 1 2
|Go to End||Next >|
17 April 2008 at 12:08am
Hi! I'm absolutely newbie here ,,..and I need some help to upload my ready website on the web server. I completed my website on my computer , and now im trying to upload it to my web server. I created database, and copied all files into folder.
I also changed my database name and other options which were different on the live server in _config.php
but now when I'm trying to connect with my website I'm getting this message:
Parse error: syntax error, unexpected T_GLOBAL in /home/naszemiasto/ftp/polishculturalweek3/mysite/_config.php on line 7
please help my site must be online today .. :///
17 April 2008 at 12:32am
What does you config file look like ?
And no , don't post your DB password.. ;-)
17 April 2008 at 12:47am
$project = 'mysite';
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "sql.naszemiasto.nazwa.pl",
"username" => "naszemiasto",
"password" => "",
"database" => "naszemiasto",
// Sites running on the following servers will be
// run in development mode. See
// for a description of what dev mode does.
// This line set's the current theme. More themes can be
// downloaded from http://www.silverstripe.com/cms-themes-and-skin
17 April 2008 at 1:01am
needs a ;
17 April 2008 at 1:10am
thanks, problem sorted
but now I've got another ones..
http://www.naszemiasto.nazwa.pl/polishculturalweek3/ just check there if you dare
17 April 2008 at 1:12am
You forgot to do a db/build
I did that for you , now it seems to run...
17 April 2008 at 1:14am
you just saved my job
17 April 2008 at 1:14am Last edited: 17 April 2008 1:15am
Good to hear ! ;-)
Oh.. by the way, do not forget to change the development environment on your live site...
Page: 1 2
|Go to Top||Next >|