Andreas Flack wrote:
Martin Gottlieb schrieb:

Well, I can go to /midgard, where I initially get "Site Initialization missing". I click on Proceed to Initialization and that seems to go just fine. Then I click on "Back to Site Administration", which brings me to the "MidCOM CMS Site Administration" screen. It is when I click on the "Content Authoring and Site Administration" link (/midgard/midcom-admin/ais/) that I see the error in my log about midcom.admin.content.

But if you see AIS, you're most definitely on 2.4, this doesn't exist in later versions. Have you tried outputting the value of the MIDCOM_ROOT constant? It should point to the location of your pear install. You can define it in the code-init page element:

if(!defined('MIDCOM_ROOT')) {
    define('MIDCOM_ROOT','/usr/share/php/midcom/lib');
}


BTW: You mentioned that you upgraded from 2.4 originally. Did you run the upgrade script (called migrate_26.php in the support folder)? I remember it took me something like three weeks to figure all the details out, so I'm kind of surprised (and jealous :-) to hear the conversion went so smoothly for you (underlying theory: Is the site maybe still running 2.4 without telling you for some reason? Do you see the version number somewhere in the rendered output, like f.x. in the meta tag generator in html head?).
I did not explicitly run midgard_26.php. Would that have been called when I ran the update option in datagard ?

Yes, datagard doesn't really care about the installed midcom version. there's an article here that mentions most of the things that need to be done to get to 2.6:

http://www.midgard-project.org/documentation/upgrading-midcom-from-2-4-to-2-6/
ok, I ran migrate_26.php and I think it finished successfully.

once you've achieved that, here's the continuation (also not entirely complete):

http://www.midgard-project.org/documentation/upgrading_midcom_from_2-6_to_2-8/
I'm hitting a wall on the first step:

/midcom-exec-midcom/convert_legacy_topics.php is returning 404s

I found the script itself in :/usr/share/pear/midcom/lib/midcom/exec. So now the question is, what maps the URL "/midcom-exec-midcom" to this directory. Am I missing a host record ? And if so, what root and style should it point to ? I have a root called template_midcom (#727),
but I'm guessing this is the remnants of my 2.4 version.


But for this, you have to be able to access the migration exec methods, so you have to use the correct midcom.php before starting.
I did find /usr/share/pear/midcom/lib/midcom.php which I assume is the correct version.

Thanks.

Martin


Bye,

Andreas

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

Reply via email to