Recent Topics

1 Nov 09, 2008 10:26    

My b2evolution Version: 2.x

Hello,

As a new blogger I decided to use b2evolution because through my host, HostGator, I could run a script and it would do the installation & configuration of my blog for me, allowing me to jump right in and start blogging.

Aside from a few setup problems (as you can see from my various help! questions here) I think I am getting the hang of it, but I have some concerns as I get more into this.

First, the b2evolution version that was installed was 2.4.2. I wanted to upgrade to version 2.4.5, so being inexperienced in how to do this I made a backup copy of all the files on my site (by simply downloading them through FTP...I have no idea if there is a better way to do it) and then ran the upgrade. My plan, which may have been silly, was to then try and copy the relevant blog files back onto the server, though I had no idea how to go about that without breaking my installation.

To make a long story short, not having the database user password and other things I would have if I installed the blog software from scratch meant I just ended up breaking my installation rather than upgrading it.

So I assume that in order to upgrade I will have to wait for HostGator to provide me with an upgrade script? Or is there some better way to do this?

I also have some concerns about security based on the "Check system & security" administrative task. The following were settings identified as a problem:

PHP register_globals On
PHP allow_url_include On
PHP allow_url_fopen On
PHP Magic Quotes On (magic_quotes_gpc)
PHP upload_max_filesize and PHP post_max_size both set to 64M

Without having access to the PHP installation, what is the best way to address these issues? Are they things I need to be concerned about?

Thank you very much!

~Nix

http://www.nixiepixel.com

(Edit: Will be creating two new separate posts since this one seems to be too long to get further responses)

2 Nov 09, 2008 23:56

Short version :

make sure you have a backup
repeat from 1

delete all files off server from your normal /b2evo/ folder ( often it's /public_html )
hope you have a backup
upload all files from your shiny new version of b2evo ( just the files in /shiny_new_version/blogs/ )
this is one place you'll need that backup ... you took a backup right?
copy /my_backup_folder/conf/_basic.config.php to /conf/ folder on your server
copy /my_backup_folder/media/ to /media/
hit http://mydomain.com
wet yourself with fear when it tells you that your db version is wrong and you can only hit one of two links .... both of which it's guessed at

hit either link
select upgrade
hit go

... if it all goes tits up, restore your backup and hope that somebody more sensible comes along ;)

¥

3 Nov 10, 2008 00:58

So if I am reading you right, if for some reason this process crashes my install, the parts of my blog that I need to have are here:

copy /my_backup_folder/conf/_basic.config.php to /conf/ folder on your server
copy /my_backup_folder/media/ to /media/

These are the only things I truly need to back up, the rest are system files? So if my blog gets trashed, instead of using Fantastico to reinstall it I can run the install from scratch, and then copy those folders above?

Voila! Restored blog, just as it was?

Thanks!

~Nix

4 Nov 10, 2008 08:38

Ok, so reading through the docs I understand that I have to make a database backup as well. I'll try to figure out how to do that, unless you have an easy way for me to do that?

Also, does version 2.4.5 differ from 2.4.2 in its database structure?

Thanks again!

~Nix

5 Nov 10, 2008 09:26

The easiest way to tack a backup of your database is to use something called PhpMyAdmin ( usually found in your control panel somewhere ).

I'm pretty sure that there are no database changes, but it's always better to have a backup ;)

The conf/_basic.config.php file holds your database connection details
The /media/ folder holds any / all files that you've uploaded ( you can just leave a copy of this folder on the server and then just ignore it when uploading all the new files / folders )

¥

¥

6 Nov 11, 2008 04:25

Thanks again for all your help, and I apologize for all the noobish questions.

I would love to educate myself on how to do these things. I -think- I know how to create a database backup, but I don't know how to restore one. From what you are writing, I understand that the folders you are detailing hold certain information, but I don't know how to use that information.

I am not sure of what steps I need to take, exactly, to get from my current blog, to a restored blog, and I don't want to move forward until I am sure that I know how to restore it, otherwise I will be taking my blog down and it will be down for however long it takes me to figure out what file I missed, or which configuration needs to be adjusted, and so on.

Is there any detailed, in-depth tutorial to be found anywhere on how to do these things? I assume I can't just wipe out my installation, copy two folders over, and be able to start it back up again. If it is in fact that easy, I apologize for the invalid assumption. But, when you say something like "make a backup," where do I go to find out -exactly- what I need to do in order to make a backup? And -exactly- what I need to to in order to restore it?

Remember, I am a first-time b2evolution user, and I don't know the first thing about the database or anything else.

Thanks again,

~Nix


Form is loading...