#401 XHTML DUMP doesn´t work / relation rating is missing

Database
closed
Postgresql (18)
5
2012-10-11
2004-11-19
No

Hi,
I am using phpwiki quite a while now. After doing several testing
I want ot report the follwing bug:

XHTML-DUMP doesn´t work, neither to disc, nor to zip.

I am using wiki Version 1.3.10 May, 13 2004
On SUSE 9.1 - apache2 / postgresql

Whenever I try to do a XTHML DUMP / or snapshot I get the
following result after writing the first file:
"lib/WikiDB/backend/PearDB.php (In template 'browse') (In
template 'body') (In template 'htmldump'):778: Fatal[256]:
wikidb_backend_pgsql: fatal database error

DB Error: unknown error

(LOCK TABLE rating [nativecode=FEHLER: Relation ÂťratingÂŤ
existiert nicht

])

"
I have looked in the schemas, and in the psqlscheme the
rating-table is missing. The mysqlscheme contains this table. As
far as I have read in the FAQ the rating table is only needed in
the wikilens-theme. I use the standardtheme.

The question is: how can I create a workign table rating in psql
for an existing (nonempty) wiki, or how do I shut off the rating?

I don´t use the rating, so shutting it off would be fine for me.

Discussion

  • Reini Urban

    Reini Urban - 2004-11-28

    Logged In: YES
    user_id=13755

    Remove the page RateIt as interim fix.

     
  • Daniel Bloemer

    Daniel Bloemer - 2004-11-28

    Logged In: YES
    user_id=59649

    I removed the page RateIt.

    The dump (to disc) now starts, but I get another error (follows). I
    have no clue how to track this one down, since as far as I can tell
    Line 606 of main.php was exectued several times succesful before
    this error comes.

    Regard Daniel

    Error Message:
    UpLoad ... saved as UpLoad.html ... 55127 bytes written

    Related Changes

    lib/WikiDB.php (In template 'browse') (In template 'body') (In template
    'htmldump') (In template 'htmldump') (In template 'htmldump') (In
    template 'htmldump') (In template 'htmldump') (In template 'body') (In
    template 'htmldump') (In template 'browse') (In template 'body') (In
    template 'htmldump') (In template 'htmldump') (In template
    'htmldump') (In template 'browse') (In template 'body') (In template
    'htmldump') (In template 'browse') (In template 'body') (In template
    'htmldump') (In template 'browse') (In template 'body') (In template
    'htmldump') (In template 'htmldump') (In template 'htmldump') (In
    template 'htmldump') (In template 'htmldump') (In template
    'htmldump') (In template 'browse') (In template 'body') (In template
    'htmldump') (In template 'htmldump') (In template 'htmldump') (In
    template 'htmldump') (In template 'htmldump') (In template
    'htmldump') (In template 'htmldump') (In template 'htmldump') (In
    template 'htmldump') (In template 'htmldump') (In template
    'htmldump') (In template 'htmldump') (In template 'htmldump') (In
    template 'htmldump') (In template 'htmldump') (In template
    'htmldump') (In template 'htmldump') (In template 'htmldump') (In
    template 'htmldump') (In template 'htmldump') (In template
    'htmldump') (In template 'htmldump') (In template 'htmldump') (In
    template 'htmldump') (In template 'htmldump') (In template
    'htmldump') (In template 'htmldump') (In template 'htmldump') (In
    template 'htmldump') (In template 'htmldump') (In template
    'htmldump') (In template 'htmldump') (In template 'htmldump') (In
    template 'htmldump') (In template 'htmldump') (In template
    'htmldump') (In template 'htmldump') (In template 'htmldump') (In
    template 'htmldump') (In template 'htmldump') (In template 'body') (In
    template 'htmldump') (In template 'htmldump') (In template 'browse')
    (In template 'body') (In template 'htmldump') (In template 'browse')
    (In template 'body') (In template 'htmldump') (In template 'browse')
    (In template 'body') (In template 'htmldump'):174: Warning[512]:
    empty pagename

    Fatal error: Call to a member function on a non-object
    in /srv/www/phpwiki/lib/main.php on line 606

     
  • Reini Urban

    Reini Urban - 2005-01-24

    Logged In: YES
    user_id=13755

    xhtml dumps or zipdumps
    are a good measurement on any errors on any of your pages.

    If a dump of any page fails, fix that page.

    E.g. If the RateIt page exists then it requires the rating
    settings,
    similar for FoafPlugin, Ploticus, WikiBrowser, VisualWiki
    and so on.

    If fixing doesn't help, remove the page in question (now
    RelatedChanges)

     
  • Reini Urban

    Reini Urban - 2005-01-25

    Logged In: YES
    user_id=13755

    I also added a fix to action=upgrade, to add this table if
    RateIt is present.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks