Re-connect site

Permalink
Developed the site at new.(sitename.com and launce was athttp://www.(sitename).com. This required me to change the site.php to the www. base url. Now the site is disconnected and won't reconnect to my account.

The error message I get "You must login with a username that is an owner or editor of this project."

 
mkly replied on at Permalink Reply
mkly
There is a file named /config/site.php

There is a line

define('BASE_URL', 'http://www.example.com');


You should change this to

defined('BASE_URL', 'http://example.com');


Once you do that(if it wasn't already) goto
http://example.com/index.php/dashboard


If it asked you login go ahead. After the login you may have to go back to the above page

Once in the dashboard go to
Dashboard->Sitewide Settings->Speed Settings
Click "Clear Cache"

Above that you will see a section "Linking" with "Enable Pretty URLs" Uncheck that box and click save.

Go back to
Dashboard->Sitewide Settings->Speed Settings
Click "Clear Cache"

If you are now able to access you site then go back to the dashboard and reenable pretty URLs.
Articulon replied on at Permalink Reply
Followed the steps. WHen I click to re-connect tocommunity I still get the same error. Any other thoughts?
newsomphoto replied on at Permalink Reply
I installed Concrete5 on my server but have yet to point DNS. Therefore, my path is currently using the IP address /~username. I used an installer via Cpanel and it assumed the site was live and used the actual domain name rather than the cpanel IP path.

I cannot log in this way as it tries to resolve where the old site is currently hosted (without Concrete5). I've spent hours reading threads about define('BASE_URL' in the site.php file. However, when I downloaded the entire installation and opened site.php, my file does not have a define('BASE_URL' line to alter. Does anyone have any suggestions on how I can get this resolved? I want my client to be able to populate the site before I point DNS. Any help would really be appreciated.

Thanks!
nteaviation replied on at Permalink Reply
nteaviation
You will need this in your config/site.php
define('BASE_URL', 'http://xxx.xxx.xxx.xxx/~username');

C5 must be using the installer default settings which are obviously incorrect.
nteaviation replied on at Permalink Reply
nteaviation
Just an afterthought. Going forward, you may want to start a new thread. This thread is 8 months old. :)