Recent Topics

1 Nov 11, 2005 12:28    

How do I upgrade from 0.9.0.12 to 0.9.1b?

thanks!

2 Nov 11, 2005 13:24

  • Save your conf/_config.php file, your conf/hacks.php file if you have one, and your skin if you customized it. You should also save any files you hacked. BTW your hacks might not directly apply to the .9.1 version. Aw heck save everything just in case the upgrade doesn't work for some reason.

  • Delete ALL the b2evolution files and folders from your server. Do NOT delete your database! It is where all the posts and comments and settings are stored.

  • Unzip the .9.1 package on your local computer and edit the new conf/_config.php file. Also open the old one, and transfer the important data from the old one to the new one. I've pasted in the important lines at the bottom of this post.

  • This would be a good time to edit conf/_stats.php too. Around line 45 you can add your own domain name so you don't show up as a referer to your own web, but it's not critical to get the upgrade done. An example is down below.

  • Upload the new files and folders and run the installer. It'll be at http://yourdomain/path_to_your_blog/install For people with b2evolution in the root directory it is simply http://yourdomain/install Maybe it's got the www thing in there? I don't, but your way is your way. The installer will ask you what type of installation you are doing, so check the box for upgrading from a prior version.

  • Delete the install folder from your server!!! Leaving it there is bad bad bad, not that I know why. I just say that because they say that.

  • Verify everything is working groovy, then see about uploading your preferred skin again. Note that publicly displayed stats have gone byebye, so don't be surprised if you used to have them and now you don't.[/list:u]

  • The important stuff in conf/_config:
    define( 'DB_USER', 'demouser' );      // your MySQL username
    define( 'DB_PASSWORD', 'demopass' );  // ...and password
    define( 'DB_NAME', 'b2evolution' );   // the name of the database
    define( 'DB_HOST', 'localhost' );     // mySQL Server (typically 'localhost')
    
    
    $baseurl = 'http://localhost/b2evolution/blogs';		// IMPORTANT: NO ENDING SLASH !!!
    
    
    $admin_email = 'postmaster@localhost';
    
    
    $config_is_done = 0;
    
    The optional bit in conf/_stats.php:
    	// redirectors
    	'googlealert.com/',
    	// add your own...
    	'yourdomain.com/', // added for an example
    
    This is how I do it. Maybe there's an easier quicker smarter method, but what works for me is what works for me ;)


Form is loading...