Re: [cowiki-dev] My Migration
"Daniel T. Gorski" <[email protected]> Wed, 21 Sep 2005 00:57:49 +0200
| Newsgroups | gmane.comp.php.cowiki.devel |
|---|---|
| Message-ID | <20050920225749.GC12122@bantha> |
On 20 Sep 23:42, Vish Vishvanath wrote:
> I'm migrating my old 3.3 - 4.0 - 3.4 cowiki on boredskaters.com to
> the newest version, but am having a few problems.
>
> It looks as though I'm missing some tables or some columns - I
> thought the installer took care of these issues - The DB is now all
> INNODB which is nice, but whenever I try to edit a page, it tells me
> the changelog is missing.
>
> Anyone suggest how to update the database or the install?
Then enter the changelog :) (which is the revision remark).
Now, well, seriously, your changed template theme do not have the Change-log
field, hence the "change log" is not posted and this error occurs.
Solution: go to the default template directory and take a look at this file:
tpl/default/plugin.front.doc.edit.tpl
in about line 100 you'll see a markup block like this:
{ifdefined %TPL_EDITING_EXISTING_DOCUMENT%}
{* Separator *}
{include inc.window.tr.separator.tuborg.tpl}
<tr>
<td style="padding: 0px 5px 0px 5px;">
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td nowrap>{%I18N_DOC_CHANGE_LOG%}:</td>
<td width="100%">{%TPL_ITEM_CHANGELOG%}</td>
</tr>
</table>
</td>
</tr>
{/ifdefined}
Copy that block to your template directory to your plugin.front.doc.edit.tpl
file at the right place.
HTH dtg