cant get in my dashboard after moving site to new url

Permalink
I had bluehost help me transfer all my site info to new urlhttp://www.mediumalain.com and it was working at first but then got huge error updater

define ('BASE_URL = "http://mediumalain.com") define ('BASE_URL = "http://mediumalain.com")
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home1/keepusin/public_html/mediumalain/config/site.php:23) in /home1/keepusin/public_html/mediumalain/updates/concrete5.6.2.1_updater/concrete/startup/session.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home1/keepusin/public_html/mediumalain/config/site.php:23) in /home1/keepusin/public_html/mediumalain/updates/concrete5.6.2.1_updater/concrete/core/libraries/controller.php on line 418



what can i do to correct this

Thanks

 
mesuva replied on at Permalink Reply
mesuva
That seems like there is some whitespace at the bottom of your /config/site.php file.

Either trim any white space after the closing ?> or don't actually having a closing tag (so the last character in the file will be a semicolon).
Themagicianinmind replied on at Permalink Reply
Thanks mesuva so just before I brake anything since i am green at this, this is what it looks like now

define('URL_REWRITING_ALL', true);
?>
<?php ?><?php define('DIRNAME_APP_UPDATED', 'concrete5.6.2.1_updater');?>

define ('BASE_URL = "http://mediumalain.com")

and you are suggesting that it look like this:
define('URL_REWRITING_ALL', true);
?><?php ?><?php define('DIRNAME_APP_UPDATED', 'concrete5.6.2.1_updater');?>
define ('BASE_URL = "http://mediumalain.com")

or like this

define('URL_REWRITING_ALL', true);
?><?php ?><?php define('DIRNAME_APP_UPDATED', 'concrete5.6.2.1_updater');?>;

thank you
mesuva replied on at Permalink Reply
mesuva
Paste the whole file here, but XXXX out your database username and password. I reckon it's all over the place.
Themagicianinmind replied on at Permalink Reply
<?php
/*
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'xxxxx');
define('DB_PASSWORD', 'xxxxx');
define('DB_DATABASE', '992_c5');
define('PASSWORD_SALT', 'LL6taRPeaaIZP9QWY1JgucjNK4mGnJkl8uI0pDEstwMCbJ2zQ07EnUQg8rNwybOR');
define('URL_REWRITING_ALL', true);
*/


define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'xxxxxxxxxx');
define('DB_PASSWORD', 'xxxxxxxxxx');
define('DB_DATABASE', 'keepusin_mediumm');
define('PASSWORD_SALT', 'LL6taRPeaaIZP9QWY1JgucjNK4mGnJkl8uI0pDEstwMCbJ2zQ07EnUQg8rNwybOR');
define('URL_REWRITING_ALL', true);
?>
<?php ?><?php define('DIRNAME_APP_UPDATED', 'concrete5.6.2.1_updater');?>

define ('BASE_URL = "http://mediumalain.com")


ok i hope i did that right thanks
mesuva replied on at Permalink Best Answer Reply
mesuva
Make it look like this I reckon:

<?php
/*
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'xxxxx');
define('DB_PASSWORD', 'xxxxx');
define('DB_DATABASE', '992_c5');
define('PASSWORD_SALT', 'LL6taRPeaaIZP9QWY1JgucjNK4mGnJkl8uI0pDEstwMCbJ2zQ07EnUQg8rNwybOR');
define('URL_REWRITING_ALL', true);
*/

define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'xxxxxxxxxx');
define('DB_PASSWORD', 'xxxxxxxxxx');
define('DB_DATABASE', 'keepusin_mediumm');
define('PASSWORD_SALT', 'LL6taRPeaaIZP9QWY1JgucjNK4mGnJkl8uI0pDEstwMCbJ2zQ07EnUQg8rNwybOR');
define('URL_REWRITING_ALL', true);
define ('BASE_URL = "http://mediumalain.com");
?>
<?php define('DIRNAME_APP_UPDATED', 'concrete5.6.2.1_updater');?>
mesuva replied on at Permalink Reply
mesuva
you can get rid of the commented out stuff too, I'm assuming that's the old db
Themagicianinmind replied on at Permalink Reply
thank you mesuva it seems to work or do something different but now the page is all white am I missing something? all the errors are gone thought
mesuva replied on at Permalink Reply
mesuva
Pretty hard to tell what is wrong from a white screen - you may have to check the server's error logs or look for other clues.
Themagicianinmind replied on at Permalink Reply
thank you its weird now when i put it back the way it was it says these errors instead

define ('BASE_URL = "http://mediumalain.com") define ('BASE_URL = "http://mediumalain.com")
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home1/keepusin/public_html/mediumalain/config/site.php:21) in /home1/keepusin/public_html/mediumalain/updates/concrete5.6.2.1_updater/concrete/startup/session.php on line 36

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home1/keepusin/public_html/mediumalain/config/site.php:21) in /home1/keepusin/public_html/mediumalain/updates/concrete5.6.2.1_updater/concrete/startup/session.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home1/keepusin/public_html/mediumalain/config/site.php:21) in /home1/keepusin/public_html/mediumalain/packages/multilingual/helpers/default_language.php on line 18

sorry i had put the updater as _old and now changed it back so this is what is says with your improvements does that help more

thank you for your time also
mesuva replied on at Permalink Reply
mesuva
This error message is still very much like the original one.

Basically the define('BASE_URL= "http://medi.... line is not actually being treated as code and it's being output directly - that is the cause of the Warning: session_start() errors.

You could simply try remove that line, you might not even need it, but the code I posted should have addressed that anyway.
Themagicianinmind replied on at Permalink Reply
there is another file inside the config its called site_theme_paths.php could that have anything do it with it ?

I saw that you do programming to address stuff like that do you do subcontracting work to fix things like this more in debt
Themagicianinmind replied on at Permalink Reply
IT WORKS WOWOWOWO

great work and very powerful from all the way from Australia thank you mate!
Themagicianinmind replied on at Permalink Reply
Is there a way to add you ad as friend or anything on this in case you ever need anything i can help you with (maybe not programmnig thought lol)

Look at my site and if ever you need any help let me know I truly appreciate this you have no idea!

Thanks
mesuva replied on at Permalink Reply
mesuva
Perhaps just mark my initial answer as the Best Answer, gives me a bit of karma and points others in the right direction.

Didn't know I was going to meet a medium today.
Themagicianinmind replied on at Permalink Reply
lol Ok how I marked the best answer but how do i give karma or badgets and stuff

thanks
mesuva replied on at Permalink Reply
mesuva
That's all automatic, marking something as a best answer gives a bit of karma.
Themagicianinmind replied on at Permalink Reply
Perfect you deserve it :)

Have a great one


Alain
enlil replied on at Permalink Reply
enlil
check site.php for any empty spaces before or after any php tags on the line specified in the error. "site.php:23" for example. I've tun across this before and it was due to these extra spaces...
Themagicianinmind replied on at Permalink Reply
thanks enlil great to see so many people trying tho help here. This is truly life changing to see the power of a community.

Issue solved

Alain