I tried to move/upgrade b2e with a different domain, but it fails and error links point to the old domain. I copied all the source files, changed the information in conf/_basic_config.php for database and domain information, and did an install-Upgrade. Obviously something is not being changed, or I need to update other files. Trying to use admin just goes to the old domain.
What if I install b2e fresh on the new domain (possibly latest version), then make these changes, then replace the database with the old one? It seems like that should work, or is something in the database pointing to the old domain?
@dbell154 wrote earlier:
You must make sure that your Domain Name System (DNS) settings -- usually at your domain name provider -- is pointing at the proper IP abc,def.xyz,stu for your b2evolution resource; also you must allow at least 24 hours after the update/modification/change to propagate.Make sure this file
b2evolution/conf/_basic_config.php
references same domain your DNS is pointing at:
$baseurl = 'http://localhost/b2evolution/blogs/';
If you still are having issues comment the above directive as:
/*
$baseurl = 'http://localhost/b2evolution/blogs/';
**/
AND ucomment the subsequent section by removing characters / and /
// Use the following if you want to use the current domain:
/ <==remove this
if( isset($_SERVER['HTTP_HOST']) )
{ // This only works if HOST is provided by webserver (i-e DOES NOT WORK IN PHP CLI MODE)
$baseurl = ( (isset($_SERVER['HTTPS']) && ( $_SERVER['HTTPS'] != 'off' ) ) ?'https://':'http://')
.$_SERVER['HTTP_HOST'].'/';
}
and remove this other ==>/
To allow b2evolution to automatically detect your domain.
Good luck!