RE: MidCOM 2.3.4 Update

tarjei-y/[email protected]
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
On Fri, 2005-06-03 at 22:54 -0700, Alan wrote:
> OK. I use phpMyAdmin. Renamed midgard.snippetdir to midgard.snippetdir_old
This is wrong. Rename it back again. You should never have to rename 
one table.
> From /usr/local/share/midgard/midcom/midcom-template: Re-ran repligard -a -i
> midcom-template.xml

> Saw one line response that it imported the xml file.
>
> No new snippetdir in midgard database.
Yep, you "removed" it :/

> Now I get a Fatal error: call to undefined function auth_by_cookies() on
> every page.
>
> Rename midgard database's snippetdir_old to snippetdir and I'm back to
> MidCOM 1.4.0

What you have to do is not to remove the old midcom, but to make your
installation find the new midcom. Take a look at the page that starts
loading midcom on your host. Most probably it is using an old
midcom-template that is lying around outside the one midcom-template
upgrades. If so, change the root page to the one in the new template.

That might solve it - or at least get you going in the right direction
(this might break something I haven't thought about).

Hint: the point here is that somewhere in your page (most probably in
code-global) the old /midcom/midcom snippet is loaded instead of an
include midcom.php.
Hope this helps
Tarjei
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.