1

Topic: Couple questions about migrating

Hello hello,

I am about to migrate from FrogCMS to WolfCMS as Frog seems all about dead and Wolf seems to have more promise.

Anyway, I have a few technical questions about the migration as I've never done anything like this before and I certainly don't want to ruin my current clients site that I've recently designed and almost completed. So i want to keep everything as is... the current content in layouts, snippets and pages etc... So far i think this is possible from reading your wiki.

Anyway, in regards to the first step:

"First

Make a backup of your entire database.
Make a backup of your entire Frog installation's directory."

How do i go about each part here? If possible put in Laymans terms so I don't go cocking anything up.

thanks for any help
Sly

Thumbs up

2

Re: Couple questions about migrating

http://www.wolfcms.org/wiki/making_backups

This should be sufficient. If you migrate to Wolf 0.5.5, there really are no differences between Frog and Wolf though. After that, there are fairly large differences.

Wolf CMS founder and lead developer
Please always check the Support forums and Wiki before asking. (My Ohloh account.)
Like Wolf CMS? Consider making a financial contribution or see our financial report first.

3

Re: Couple questions about migrating

SlyOne wrote:

...Make a backup of your entire database.
Make a backup of your entire Frog installation's directory."

How do i go about each part here? If possible put in Laymans terms so I don't go cocking anything up.

Hi again, Sly -

Much here depends on your hosting arrangements. You probably have access to phpMyAdmin, and you can use this for the db backup. You'll see it has a "export" tab when looking at your Frog db. Click that, and you get a load of options; there are a number of guides out there (you could try this one) to that will give you step-by-step help.

As for backup of the install directory, that even more host-dependent. "CPanel" arrangements usually give you the option to compress/archive a directory/file structure, though, so look for something like that.

Edit - Martijn got in with the needful while I was typing my weighty tome! Hope that all helps...

Last edited by David (2009-12-14 13:11)

Using Wolf CMS professionally and for profit? Please consider supporting Wolf financially. Thanks!

4

Re: Couple questions about migrating

Hi again guys,

currently doing the whole migration over, doing everything arse about face at the moment... still working on the frogCMS (need to keep the client happy, so have to show some progress and not a blank page for a week!).

Anyway, i've backed up everything and now i'm wanting to turn all the plugins off, but I seem to have done something at some point that prevents me from accessing the full administration page, it kind of cuts out halfway and I can't see or edit the plugin settings... here i'll show you the code, you'll notice that the code just quits after <tbody>

!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "[url]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/url]"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
  <head> 
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> 
    <title>PS Web Designs - Setting</title> 
    
    <base href="http://pswebdesigns.co.uk/frogCMS/admin/" /> 
 
    <link rel="favourites icon" href="http://pswebdesigns.co.uk/frogCMS/favicon.ico"> 
    <link href="stylesheets/admin.css" media="screen" rel="Stylesheet" type="text/css" /> 
    <link href="stylesheets/toolbar.css" media="screen" rel="Stylesheet" type="text/css" /> 
    <link href="themes/default/styles.css" id="css_theme" media="screen" rel="Stylesheet" type="text/css" /> 
 
    <!-- IE6 PNG support fix --> 
    <!--[if lt IE 7]>
        <script type="text/javascript" charset="utf-8" src="javascripts/unitpngfix.js"></script>
    <![endif]--> 
    <script type="text/javascript" charset="utf-8" src="javascripts/prototype.js"></script> 
    <script type="text/javascript" charset="utf-8" src="javascripts/effects.js"></script> 
    <script type="text/javascript" charset="utf-8" src="javascripts/dragdrop.js"></script> 
    <script type="text/javascript" charset="utf-8" src="javascripts/cp-datepicker.js"></script> 
    <script type="text/javascript" charset="utf-8" src="javascripts/frog.js"></script> 
    <script type="text/javascript" charset="utf-8" src="javascripts/control.textarea.js"></script> 
    
    <script type="text/javascript" charset="utf-8" src="../frog/plugins/textile/textile.js"></script> 
    <script type="text/javascript" charset="utf-8" src="../frog/plugins/markdown/markdown.js"></script> 
    <script type="text/javascript" charset="utf-8" src="../frog/plugins/file_manager/file_manager.js"></script> 
    <script type="text/javascript" charset="utf-8" src="../frog/plugins/tinymce/tinymce.js"></script> 
    <script type="text/javascript" charset="utf-8" src="../frog/plugins/tinymce/tinymce/jscripts/tiny_mce/tiny_mce.js"></script> 
    <script type="text/javascript" charset="utf-8" src="../frog/plugins/tinymce/tiny_init.php"></script> 
 
  </head> 
  <body id="body_setting_index"> 
    <div id="header"> 
      <div id="site-title"><a href="http://pswebdesigns.co.uk/frogCMS/admin/?/">PS Web Designs</a></div> 
      <div id="mainTabs"> 
        <ul> 
          <li><a href="http://pswebdesigns.co.uk/frogCMS/admin/?/page">Pages</a></li> 
          <li><a href="http://pswebdesigns.co.uk/frogCMS/admin/?/snippet">Snippets</a></li> 
          <li><a href="http://pswebdesigns.co.uk/frogCMS/admin/?/layout">Layouts</a></li> 
 
                    <li class="plugin"><a href="http://pswebdesigns.co.uk/frogCMS/admin/?/plugin/file_manager">Files</a></li> 
                        <li class="plugin"><a href="http://pswebdesigns.co.uk/frogCMS/admin/?/plugin/fancy_image_gallery">Fancy Image Gallery</a></li> 
    
 
          <li class="right"><a href="http://pswebdesigns.co.uk/frogCMS/admin/?/setting" class="current">Administration</a></li> 
          <li class="right"><a href="http://pswebdesigns.co.uk/frogCMS/admin/?/user">Users</a></li> 
        </ul> 
      </div> 
    </div> 
    <div id="main"> 
      <div id="content-wrapper"><div id="content"> 
        <!-- content --> 
        <h1>Administration</h1> 
 
<div class="form-area"> 
<div id="tab-control-admin" class="tab_control"> 
    <div id="tabs-admin" class="tabs"> 
        <div id="tab-admin-toolbar" class="tab_toolbar">&nbsp;</div> 
    </div> 
    <div id="admin-pages" class="pages"> 
 
        <div id="plugin-page" class="page"> 
 
<table id="plugins" class="index" cellpadding="0" cellspacing="0" border="0"> 
  <thead> 
    <tr> 
      <th class="plugin">Plugin</th> 
      <th class="pluginSettings">Settings</th> 
      <th class="website">Website</th> 
      <th class="version">Version</th> 
      <th class="latest">Latest</th> 
      <th class="enabled">Enabled</th> 
    </tr> 
  </thead> 
  <tbody> 


Any ideas why this may be happening? sorry for being a pain, but i appreciate the help

Last edited by SlyOne (2009-12-17 16:22)

Thumbs up

5

Re: Couple questions about migrating

SlyOne wrote:

Any ideas why this may be happening? sorry for being a pain, but i appreciate the help

Hi Sly -

The next thing after "tbody" should be the plugins listing. My hunch is that you've got some rogue or nasty code in one of them. I think I remember this happening to me once when I was testing a contact form plugin.

My suggestion would be to remove out of the wolf/plugin directory anything except the core plugins, and see if that gets you access to your admin settings page. If it does, then you can try adding them back one by one.

Unless you haven't got any additional plugins! smile In which case maybe one of them got corrupted on upload?

Using Wolf CMS professionally and for profit? Please consider supporting Wolf financially. Thanks!

6

Re: Couple questions about migrating

Good hunch David! Removed about 5 additional plugins and I can now access the page. cheers!

RIGHT! I'm on step 2 now, when it says delete the frog installation... do I delete it from the "frogCMS" folder that contains absolutely everything?!

Thumbs up

7

Re: Couple questions about migrating

I feel that maybe the documentation on migrating over from frog to wolf needs to be a little more descriptive. I say this because i'm obviously having my own troubles, but if other frog users come here and see documentation that is a little ambiguous, they may just not bother... and we lose a possible wolf community member.

Thumbs up

8

Re: Couple questions about migrating

Hi Sly - Sent you a "forum email" -- I wonder if you got it?

Another thought: are you putting the Wolf install on the same server as the Frog install? If so, you should (should) be able "simply" to:

  • put a fresh 0.5.5 Wolf install in a subdir,

  • set up the appropriate/identical plugins,

  • copy the /public dir from Frog to the Wolf install,

  • and point its config.php to the Frog db.

I have done that in the past ... a little eerie the first time I tried it! wink Then, you start using the Wolf front end, and if all is well, you can simply delete the Frog

We can probably give you a hand with this if you're getting stuck though...

And a good suggestion about the docs; we could probably add some narrative in there to make the process a little less anxiety inducing.

Using Wolf CMS professionally and for profit? Please consider supporting Wolf financially. Thanks!

9

Re: Couple questions about migrating

Hi David,

No, I haven't checked my email yet, will do so in a mo. Anyway, I did as you said above and created a new database and uploaded wolfcms. Everything installed fine, but when i'm prompted to login with my username and wolf generated password, it keeps saying my login details are correct...i've checked over and over again and the details are fine.

Is it possible that the old passwords for frogcms could somehow be confusing wolfcms? Both frog and wolf are in same directory: httpdocs. But surely that should'nt make any difference considering their folder names aren't the same...

i know...i'm a headache and a half, but I need to learn this stuff as I do enjoy this CMS.



*EDIT*
Just answered my own question, used my old frog login details for logging into the wolf cms and it worked! hmmm.... odd! When I delete the frog installation and db, I assume it would then revert to the wolf auto generated password and my username I set at the start of installation...?

Last edited by SlyOne (2009-12-17 21:30)

Thumbs up

10

Re: Couple questions about migrating

SlyOne wrote:

*EDIT*
Just answered my own question, used my old frog login details for logging into the wolf cms and it worked! hmmm.... odd! When I delete the frog installation and db, I assume it would then revert to the wolf auto generated password and my username I set at the start of installation...?

DON'T delete the db! If you did what I suggested above, Wolf is now using that very database! Which is also why your Frog details worked for Wolf: your user details are the ones originally stored there.

For the moment, just leave Frog where it is. When you're satisfied that Wolf is running flawlessly, then might be time to removed the FrogCMS directory -- but NOT the database!

Things are a bit busy for all the Wolf dev types (and dev wannabes -- that would be me wink ), so if responses are a bit slow, I hope you will understand and be patient! big_smile

Using Wolf CMS professionally and for profit? Please consider supporting Wolf financially. Thanks!

11

Re: Couple questions about migrating

http://www.wolfcms.org/wiki/migrating_f … o_wolf_cms

Deleting the DB is not necessary.

SlyOne wrote:

I feel that maybe the documentation on migrating over from frog to wolf needs to be a little more descriptive. I say this because i'm obviously having my own troubles, but if other frog users come here and see documentation that is a little ambiguous, they may just not bother... and we lose a possible wolf community member.

What's wrong with the 8-step procedure in the above wiki page? smile

Anyway, when we say to delete something (for example) we assume you to know how to do that for one simple reason: it differs wildly in various installations, so we can't tell you.

So our choice is to just say "delete xyz" or give general delete instructions for various platforms which would yield unwieldy documentation. (I think at least)

Then again, it IS a wiki so you're very welcome (nay, encouraged) to change the wording or improve the document. big_smile

Wolf CMS founder and lead developer
Please always check the Support forums and Wiki before asking. (My Ohloh account.)
Like Wolf CMS? Consider making a financial contribution or see our financial report first.

12

Re: Couple questions about migrating

David wrote:
SlyOne wrote:

*EDIT*
Just answered my own question, used my old frog login details for logging into the wolf cms and it worked! hmmm.... odd! When I delete the frog installation and db, I assume it would then revert to the wolf auto generated password and my username I set at the start of installation...?

DON'T delete the db! If you did what I suggested above, Wolf is now using that very database! Which is also why your Frog details worked for Wolf: your user details are the ones originally stored there.

For the moment, just leave Frog where it is. When you're satisfied that Wolf is running flawlessly, then might be time to removed the FrogCMS directory -- but NOT the database!

Things are a bit busy for all the Wolf dev types (and dev wannabes -- that would be me wink ), so if responses are a bit slow, I hope you will understand and be patient! big_smile


hello again, sorry for the lack of reply. I had a bit of a xmas warm-up weekend!

So, back to business... I guess there was no need for me to create an extra database then? I only create a new database for entirely different sites....?

And David, the response times and general support so far have been fantastic, keep up the good work!


*EDIT @mvdkleijn : I'll have a go at the documentation when I have a free moment, i'll send you guys a copy before I change it, bearing in mind i'm learning still...

Last edited by SlyOne (2009-12-21 11:41)

Thumbs up

13

Re: Couple questions about migrating

So i want to keep everything as is... the current content in layouts, snippets and pages etc... So far i think this is possible from reading your wiki.ข่าวสารประเทศ America. Anyway,ท่องเที่ยวเกาหลี i've backed up everything and now i'm wanting to turn all the plugins off, but I seem to have done something at some point that prevents me from accessing the full administration page, it kind of cuts out halfway and I can't see or edit the plugin settings...

Thumbs up