Midcom admin on 8.09 after upgrade
-
Martin Gottlieb
Midcom admin on 8.09 after upgrade
Wed May 19 2010 22:25:06 UTCHi,
I am attempting to upgrade another server from 1.8.6 to 8.09 on Redhat
5. The installation
and upgrade seemed to go just fine. I ran:
datagard -a dbupdate
datagard -a pear
datagard -a vhost
and it looks like my database has been upgraded and all of the ragnaroek
pear modules appear to
be installed.
However, when I try to log in to the Midcom admin tool at
/midcom-login-, I get the following error:
"DB Class Loader: Classes from file
/usr/share/pear/midcom/lib/net/nehmer/static/config/midcom_dba_classes.inc
couldn't be registered."
which I have traced to line 351 in
/usr/share/pear/midcom/lib/midcom/services/dbclassloader.php:
if (! class_exists($definition['mgdschema_class_name']))
The class in question is: net_nehmer_static_link.
So my question is, where is this class defined? Did I miss something in
the install/upgrade process?
Thanks.
Martin
PS. Here's what I have installed:
# rpm -qa | grep -i mid
mod_midgard-8.09.8.1-2.2
midgard-core-devel-8.09.8.2-3.1
midgard-core-8.09.8.2-3.1
php-midgard-8.09.8-2.3
midgard-core-8.09.8.2-3.1
midgard-core-devel-8.09.8.2-3.1
midgard-data-8.09.8-2.3
(Not sure why midgard-core* are in the list twice.)
# pear list -c ragnaroek
Installed packages, channel ragnaroek.pear.midgard-project.org:
===============================================================
Package Version State
Role_Mgdschema 8.09.8 stable
Role_Midgardelement 8.09.8 stable
Role_Midgardsql 1.0.2 stable
de_bitfolge_feedcreator 8.09.8 stable
de_linkm_sitemap 8.09.8 stable
fi_protie_navigation 8.09.8 stable
midcom 8.09.8.1 stable
midcom_admin_folder 8.09.8.1 stable
midcom_admin_help 8.09.8 stable
midcom_admin_settings 8.09.8 stable
midcom_admin_user 8.09.8 stable
midcom_helper_activitystream 8.09.8.1 stable
midcom_helper_datamanager2 8.09.8 stable
midcom_helper_imagepopup 8.09.8 stable
midcom_helper_reflector 8.09.8 stable
midcom_helper_xml 8.09.8 stable
midcom_helper_xsspreventer 8.09.8 stable
midgard_admin_asgard 8.09.8.2 stable
midgard_admin_wizards 8.09.8 stable
net_nehmer_blog 8.09.8 stable
net_nehmer_comments 8.09.8 stable
net_nehmer_markdown 8.09.8 stable
net_nehmer_static 8.09.8 stable
net_nemein_calendar 8.09.8 stable
net_nemein_redirector 8.09.8 stable
net_nemein_rss 8.09.8 stable
net_nemein_tag 8.09.8.1 stable
no_bergfald_rcs 8.09.8 stable
org_openpsa_calendarwidget 8.09.8 stable
org_openpsa_httplib 8.09.8 stable
org_openpsa_mail 8.09.8 stable
org_openpsa_notifications 8.09.8 stable
org_openpsa_qbpager 8.09.8 stable
org_routamc_gallery 8.09.8 stable
org_routamc_photostream 8.09.8 stable
org_routamc_positioning 8.09.8.1 stable
template_Midgard 1.0.2 stable
template_SimpleGray 1.0.4 stable
_______________________________________________
user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user -
Re: [midgard-user] Midcom admin on 8.09 after upgrade
Thu May 20 2010 08:35:04 UTCW dniu 19.05.2010 23:21, Martin Gottlieb pisze:
>
> Hi,
Hi!
> However, when I try to log in to the Midcom admin tool at
> /midcom-login-, I get the following error:
>
> "DB Class Loader: Classes from file
> /usr/share/pear/midcom/lib/net/nehmer/static/config/midcom_dba_classes.inc
> couldn't be registered."
>
> which I have traced to line 351 in
> /usr/share/pear/midcom/lib/midcom/services/dbclassloader.php:
>
> if (! class_exists($definition['mgdschema_class_name']))
>
> The class in question is: net_nehmer_static_link.
>
> So my question is, where is this class defined? Did I miss something in
> the install/upgrade process?
n.n.static.link is defined in MgdSchema file (/usr/share/midgard/schema).
Did you clean midcom's cache?
rm -rf /var/cache/midgard/midcom/*
stop apache, start apache
Piotras
_______________________________________________
user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user -
Re: [midgard-user] Midcom admin on 8.09 after upgrade
Thu May 20 2010 12:55:04 UTCHi Piotras,
Thanks so much for the response. Clearing the cache did not help, but
you got me pointed
in the right direction by mentioning the schema dir. I compared it to
the same dir on a working
system and found that I was missing all of the .xml files except
midcom_dbobjects.xml. I copied
them over and it now appears to be working.
Now I just have to figure out why my logins are failing...
Thanks again.
Martin
On 5/20/2010 4:23 AM, Piotr Pokora wrote:
> W dniu 19.05.2010 23:21, Martin Gottlieb pisze:
>
>> Hi,
>>
> Hi!
>
>
>> However, when I try to log in to the Midcom admin tool at
>> /midcom-login-, I get the following error:
>>
>> "DB Class Loader: Classes from file
>> /usr/share/pear/midcom/lib/net/nehmer/static/config/midcom_dba_classes.inc
>> couldn't be registered."
>>
>> which I have traced to line 351 in
>> /usr/share/pear/midcom/lib/midcom/services/dbclassloader.php:
>>
>> if (! class_exists($definition['mgdschema_class_name']))
>>
>> The class in question is: net_nehmer_static_link.
>>
>> So my question is, where is this class defined? Did I miss something in
>> the install/upgrade process?
>>
> n.n.static.link is defined in MgdSchema file (/usr/share/midgard/schema).
> Did you clean midcom's cache?
>
> rm -rf /var/cache/midgard/midcom/*
> stop apache, start apache
>
> Piotras
> _______________________________________________
> user mailing list
> user@lists.midgard-project.org
> http://lists.midgard-project.org/mailman/listinfo/user
>
_______________________________________________
user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user
