Menu

#437 using cache causes errors; can't disable it completely

Database
closed
Postgresql (18)
5
2012-10-11
2005-04-03
No

When accesing wiki page:

UPDATE page SET cached_html='xڍ�Oo�0 ��|

+�i��c���v��e��Դ!��

I used
USECACHE = false
but it still tries to writes some caches.

AllUsers
Fatal Error:

lib/WikiDB/backend/PearDB.php:1014: Error:
wikidb_backend_peardb_pgsql: fatal database error

* DB Error: unknown error
* (UPDATE page SET cached_html='xڍ�Oo�0��|
* +�i��c���v��e��Դ!��

Discussion

  • Reini Urban

    Reini Urban - 2005-04-06

    Logged In: YES
    user_id=13755

    Oops, I did a wrong fix caused by a wrong bugreport.

    USECACHE:
    Store DB query results in memory to avoid duplicate queries.
    Disable only for old php's with low memory or
    memory_limit=8MB.
    which is independent if _cached_html storage in SQL.

    You need to set WIKIDB_NOCACHE_MARKUP to true to disable
    _cached_html storage.

    I reverted the wrong fix.

     

Log in to post a comment.