Important

Major updates are in progress. Some pages and languages may not be available.

Updating Tiki Preferences

Like most everything else, your Tiki site preferences (such as which features you have enabled and the configuration settings for each feature) are stored in the database. You can configure and tweak all preferences simply by accessing the database.
{TIP()}This is especially helpful if your site ever "crashes" or you find yourself "locked out" of your Tiki.{TIP}

Changing Preferences

Nearly all of the settings and preferences that control your Tiki site are defined in the tiki_preferences table in the database.

phpmyadmin
The tiki_preferences table.

By simply changing the a setting from y to n (or vice-versa), you can usually undo any inadvertent damage and regain control of your site.
For example, if you accidentally enable the Use HTTPS login option on a site without SSL, you'll find yourself unable to log in (even as the Admin, since Tiki would be looking for a non-resistant HTTPS port. To "reset" the HTTPS option to disabled you can edit the https_login in the tiki_preferences table:

Admin: Login
The relationship between the Admin option and the database field.

In this example, you would change the field to disabled in order to "turn off" the Use HTTPS login option.
Other common options, that if inappropriately enabled, could "lock" your Tiki include:

  • Authentication method (auth_method)
  • SSL options
  • Intertiki options
  • Invalid syntax in custom code
  • Invalid syntax in custom modules


Fixing Modules

When creating a custom user module, Tiki allows you to include custom code, including PHP and Smarty syntax. In some instances, if you add invalid code (such as an improperly formed Smarty expression) your Tiki may display a blank screen.

In this case, you can edit your database (as explained previously) to temporarily deactivate the offending module. This will allow you access your Tiki and edit or correct the code in the module.

  1. Access the tiki_modules database table.
    phpMyAdmin
    The tiki_modules table.
  2. phpMyAdmin lists the currently active modules. Simply click Remove (Remove ) for the module to deactivate.
    phpMyAdmin
    Deactivating a module.

    {TIP()}This does not delete the module — Tiki simply deactivates it.{TIP}
  3. Reload your Tiki website.
  4. On the Admin: Modules page, edit the user module to correct the custom code.
    Admin: Modules
    Editng a user module.



Editing Custom Code

The Admin: Look and Feel page includes several areas in which you can add custom code, including PHP and Smarty synta). In some instances, if you add invalid code (such as an improperly formed Smarty expression) your Tiki may display a blank screen.

In this case, you can edit your database (as explained previously) to remove or correct the offending code. The following table identifies the appropriate database field in the tiki_preferences table for each custom code area on the Look and Feel page:

Look and Feel field tiki_preferences field
Custom HTML Content feature_custom_html_head_content
Secondary site menu custom code feature_secondary_sitemenu_custom_code
Custom Site Header sitemycode
Top Bar, Custom code feature_topbar_custom_code
Custom Center Column Header feature_custom_center_column_header
Custom Site Footer bot_logo_code
Custom End of Code feature_endbody_code

Advertising