Concrete 5.3.3.1 - Moved install... Help!

Permalink
Hi there, i recently moved a site from another location and changed my site.php to reflect it's new location e.g.

<?php 
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'xxxxxxxxxxxx');
define('DB_PASSWORD', 'xxxxxxxxxx');
define('DB_DATABASE', 'xxxxxxxxxxx');
define('BASE_URL', 'www.lifesolution.org.au');
define('DIR_REL','');
define('PASSWORD_SALT', 'xxxxxxxxxxxxxx');
   ?>


the problem is now... i can't get into dashboard and I get these errors on top of the page

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home1/kelvinsi/public_html/lifesolutionorg/config/site.php:1) in /home1/kelvinsi/public_html/lifesolutionorg/concrete/startup/session.php on line 18
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home1/kelvinsi/public_html/lifesolutionorg/config/site.php:1) in /home1/kelvinsi/public_html/lifesolutionorg/concrete/startup/session.php on line 18
Warning: Cannot modify header information - headers already sent by (output started at /home1/kelvinsi/public_html/lifesolutionorg/config/site.php:1) in /home1/kelvinsi/public_html/lifesolutionorg/concrete/libraries/view.php on line 734


Many Thanks

 
ideasponge replied on at Permalink Reply
ideasponge
The forum is messing up that code. It should read:

<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'xxxxxxxxxxxx');
define('DB_PASSWORD', 'xxxxxxxxxx');
define('DB_DATABASE', 'xxxxxxxxxxx');
define('REDIRECT_TO_BASE_URL', false);
define('DIR_REL','');
define('PASSWORD_SALT', 'xxxxxxxxxxxxxx');
?>

This way you can use whatever URL you want.
ideasponge replied on at Permalink Reply
ideasponge
If you want to force a specific URL you will need to turn Debug Level to Production.

Get to your dashboard by going tohttp://www.lifesolution.org.au/index.php/login/...
chronosoft replied on at Permalink Reply
i can't access the dashboard at all. e.g. i try logging in via that URL and I get some error

Hope that helps
ryan replied on at Permalink Reply
ryan
It doesn't look like concrete5 is even installed at this url:
http://www.lifesolution.org.au/index.php...
Are you sure you're pointing to the right place?
chronosoft replied on at Permalink Reply
Heya :P i knew someone would ask that, it was... but :\ i had to restore the old site (a site coded in HTML) so yea the concrete5 website is back in it's old location (which is currently down too -_-;;)
ryan replied on at Permalink Reply
ryan
Where's that at?

The initial errors were because site.php was outputting whitespace or characters where it shouldn't have. It's a tiny file so that should be real easy to debug.
chronosoft replied on at Permalink Reply
hey there guys, atm i've restored the site to it's old location via a backup. I'll try moving the site again and report back if i encounter any problems. ;) thanks all.
chronosoft replied on at Permalink Reply
Hey guys :) i tried moving the site again from the restored backup and it worked flawlessly! I think what happened XD i transferred the files over to the new site BEFORE i disabled the cache + cleared cache.

anyways ^^;; thanks guys