Hi,

> we have been running a website since 2003 with midgard 1.4.4. It's time
> to upgrade it. I have successfully installed a 8.09.3 on a new server.

> I was a little lost, but managed to re-import the 1428 topics and 12585
> articles with a custom xml-parser running on an old repligard dump and using
> midgard_replicator::import_from_xml on it. The parser already
> exists and I couldn't figure out how to do it quickly with existing tools.

Here is how I would try it:
- take a mysql-dump of your old database to
your new server
- run datagard from command line and update your DB, this "should" convert your 
data as
good as possible (it's quite a huge step from 1.4.4 to 8.09.3), should
deal with the guid-thing and add a lot of fields to your tables
- datagard also gives you the option to create a virtual host for your
site plus it will install all necessary pear modules for newer
midgard-features


> I also wanted to keep the guids and discovered theire size were
> upgraded, the db contains now small(old) and new(big) guids, I don't
> know if that can cause troubles but it seems to work pretty well.
> We want to keep the current navigation which is mostly specific and
> use both non_active/active pages.

> I know that most of the old 1.4 functions have disappeared

nope, they should all still be there, the old API is still supported
with 8.09. You can even go on using Asgard, SpiderAdmin or Aegir if
you like (make sure you enable register_globals and
register_long_arrays for PHP)
Only a few things have changed, mostly I noticed $midgard behaving
sometimes different than $_MIDGARD - use $_MIDGARD whenever
possible...

>   - http://www.midgard-project.org/documentation/
>     midgardquerybuilder/#3129f8cddd89f4ff17b53a09db5ce905
>   the example give me 
>     Fatal error: Class 'MidgardQueryBuilder' not found in
>     /var/cache/midgard/midgard/2-3-5-0.php on line 43

You could set apache's and midgard's log-level to debug to see whats
going on, but probably your setup is not complete (does your vhost
have a symlink to some midcom-static directory?) datagard "should" do it
all for you, usually...

Greets,

Alex

_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to