Top Troubleshooting Tips

Here is list of common problems, and how to fix them.

I added a new module, and now I get a "Fatal Smarty error" and I only see a blank page.

Most likely, you added invalid Smarty code to the module. To remove the offending module you will need to access your Tiki database directly.

  1. Using your database tool (such as phpAdmin), log into your Tiki database.

     Note

    This is the same database that you created when you installed Tiki. If you installed Tiki automatically, via a cPanel application, the database was listed on the final installer screen.
  2. Display the tiki_modules table.
    Select the tiki_modules database table.
  3. Click Browse to display all of the currently active modules.
    Browse the list of modules, then delete the offending module.
  4. Click Delete to remove the module that you added previously (that caused the problem).

Now, as the admin, log into your Tiki.

 Tip

When creating custom modules, you should always preview the module first, before assigning it.

 Note

The problem may also occur if you edit a template (TPL) file and add invalid code.

Refer to the Smarty documentation for complete information on valid Smarty syntax.

I added Custom Code on the Look and Feel page, and now I get a "Fatal Smarty error" and I only see a blank page.

Most likely, you added invalid Smarty code to the Custom Codes on the Customization tab. To remove the offending module you will need to access your Tiki database directly.

  1. Using your database tool (such as phpAdmin), log into your Tiki database.

     Note

    This is the same database that you created when you installed Tiki. If you installed Tiki automatically, via a cPanel application, the database was listed on the final installer screen.
  2. Display the tiki_preferences table.
    Select the tiki_preferences database table.
  3. Click Browse to display all of the current Tiki settings and preferences.
    Browse the list of Tiki preferences and find the custom code rows
  4. Click Edit to edit the appropriate custom code preference.
  5. Delete the code that you added from the Administration: Site Identity page.
    Database tables
    Edit the custom code.


     Note

    Do not delete the database row — only the custom code.

Now, as the admin, log into your Tiki.

Refer to the Smarty documentation for complete information on valid Smarty syntax.

I enabled a specific feature, but none of my users can see it or use it.

Most likely, you enabled the feature but did not give users permission to actually use the feature. Remember, Tiki's permission control is very fine-grained — you can explicitly specify which users can use which functions. To grant permission to a specific feature, just add the permission to the necessary group.

Refer to Configuring Group Permissions for more information.

I created a module and assigned it to a specific group, but everyone can see it; or
I created a module and assigned it to Anonymous, but now my other groups cannot see it.

Tiki has special features that can override the group-specific settings when adding modules.

  • Always display modules to all groups: If selected, everyone (all groups) will see all modules — regardless of the module's specific Group setting.
  • Hide anonymous-only modules from registered users: If selected, modules that are assigned to only the Anonymous group will be visible only to Anonymous users. Other users (even if they inherit the Anonymous group) will not see the module.
  • Hide anonymous-only modules from Admins: If selected, modules that are assigned to only the Anonymous group will be not be visible to users in the Admin group.

Administration: Modules
Defining the visibility of modules.


Use the Administration: Module page to specify these settings.

I keep receiving Forbidden errors when I try to access specific pages, perform specific functions, or install Tiki.

The exact message may be similar to
Forbidden
You don't have permission to access /tiki-xxxxxxxx.php on this server.

Your server's security setting are not allowing Tiki to execute specific scripts and files. Have your server administrator modify the mod-security settings. You may also need to "whitelist" the Tiki application files.

I keep receiving "Memory Exhausted" errors and blank screen when I try to access specific pages

The exact message may be similar to
Fatal error:
Allowed memory size of XXXXXXX bytes exhausted.

You server has not allocated enough PHP memory to your site. Tiki requires a minimum of 32MB PHP memory; 64MB (at least) is recommended. Use the Admin > phpinfo option to display the memory_limit value for your webserver.
The memory_limit value

Depending on your webhost configuration, you may be able to increase your PHP memory by adding the following line to your php.ini file:

memory_limit = 128M

See the Tiki documentation for details.

I keep receiving "Cannot Write File" errors when I upload a file or attachment

The exact message may be similar to:

Cannot write to this file %%% 4385974hf9e832318879


You enabled the Store in directory option, but Tiki could not save the file or attachment. Make sure that:

  • The path is correct.
  • The directory's permissions allow Tiki to read, write, and update files.

<HR>

Copyright

This guide is based on content originally published by KeyContent.org.

This guide is Copyright (C) 2007-2013, 2019 by Rick Sapir and others under a Creative Commons Attribution-Share Alike 4.0 License. Some rights reserved.

Essentially, you are are free:

Image

to Share — to copy, distribute and transmit the work
Image

to Remix — to adapt the work


Under the following conditions:

Image
Attribution. You must attribute the work to me, as the original licencor, but not in any way that suggests that I endorse you or your use of the work.
Fair attribution includes a return link to http://tikiforsmarties.com (for online use) and mention of primary author (Rick Sapir) and original publisher (KeyContent.org).
Image

Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license.


Please read http://creativecommons.org/licenses/by-sa/3.0/legalcode for the full license.

Tiki®, TikiWiki® and the Tiki logo are registered trademarks of the Tiki Software Community Association, used with permission.