Getting Ready To Start Over

I'm just before giving up and starting over, so I thought I would give this a try.


I had lots of problems installing the wiki. I have it up and running now, but several things aren't working.


The recovery password. I followed the instructions and created the hash. I added it to config.php. I tired it again. And again. It insists that the value is not set. I finally just commented out the whole check (I've done some PHP development). Not as secure, but the problem is non-obvious. The page is password protected and the login works. If nothing happens here, I might try to track it down later.


Themes. Themes don't work. I've tried every possible combination of settings and they simply don't work. The theme I want (nifty) shows up in the Admin Panel. The cached config says the theme is nifty. The database says the theme is nifty. The theme is not nifty. The theme is default.


Any help is appreciated. Thanks for your time.

Comments

  1. Re: Getting Ready To Start Over

    I assume you use the latest version of WackoWiki, which is now 6.0.12. If the documentation is not clear or simply missing information, please help to improve it. As longtime user you see things which are not obvious to others.

    Recovery password
    Did you delete the _cache/config/config.php file after setting the recovery_password in the config/config.php file? You can do this manually or via the {{admincache}} action. When the old config cache is not cleared, it still takes the old data despite you've set a new value.

    action admincache

    The config cache contains the data from the primary and secondary config. Usually the cache gets updated as soon as a new value is set in the application, setting the recovery_password manually is the exception.

    1. config/config.php
    2. _cache/config/config.php

    Adding a new theme
    WackoWiki 6.0 supports currently only the default theme, other themes from previous versions must be ported to the new version, which uses Unicode and the new template engine. If you want modify or port a theme I can help out regarding using the new template engine and other details, but maintaining other themes is up to the authors and users. Porting all these themes is simply not feasible. Nonetheless it is planned to bring some popular themes back.


    Switching to another theme
    Themes are set in the secondary config (config table) for guests or as default for new users.
    appearance settings module

    As registered user you can chose your own theme if available and allowed. The used theme is set with user session.
    WackoWiki General User Settings


    Debug
    To see what values are actually used in the current session, please set the debug mode to 3.
    Admin panel -> Preferences -> System -> Debug mode

    theme -> [ guest | user ] -> session

    possible error sources
    • uses still the same guest session
    • uses as guest the old page cache (server/browser)

    The theme is set in the run() function of the Wacko class.

    Please test your settings again. One way is to copy the default theme for instance as default_red, change the background color in this theme to red and try to switch the theme. It should work with the default settings out of the box. I hope this will help to narrow down the error source.
    • WikiAdmin
    • 27.11.2020 09:38 edited
Log in or create an account to post a comment.