Loading...
 

 Data Recovery

On 2017-04-04 we had a rather major disk malfunction that caused data loss. The data on this site was originally restored from a 2016-11-05 backup, but with wiki pages changes since then recreated from the search index.

Note that files and images uploaded since November are still missing and will need to be re-uploaded and reattached to the pages by hand.

Please let us know if you find anything else missing or broken due to this outage. We thank you for your patience.

tiki-check.php



Overview

tiki-check.php is a standalone script for server environment settings diagnostics before installing Tiki, or for an existing Tiki installation. While it was designed for Tiki, and it's bundled in recent version of Tiki, it is very useful for any PHP app, as it checks over 50 different things and provides contextual feedback.

Use cases

  • Someone else is setting up the server and you want to avoid the back & forth of tweaking the server configs. Just send the file and they can can set everything.
  • You want to make sure server is adequate before subscribing to a provider.

How to use

  1. Download tiki-check.php from SourceForge.net
  2. Upload to the web accessible directory of your server (ex.: /www/html/tiki-check.php)
  3. Visit tiki-check.php with your browser
  4. Since this file discloses server info, it becomes password protected once you install Tiki. If you end up not installing Tiki, you should remove the file.

Details

This feature was introduced in Tiki10 and backported to Tiki 9.2
The standalone version will work with any version of Tiki, or even without Tiki.

Demo

Here is an example: http://demo.tiki.org/showcases_and_experiments/tiki-check.php

Screenshots

Click to expand
Click to expand


Click to expand
Click to expand


Section descriptions

Setting Description
Fieldset or section
MySQL Database Properties Is MySQL suitable for Tiki?
MySQL crashed Tables Is MySQL running smoothly?
Test sending e-mails Can the system send emails?
Server Information Operating system, web server, etc.
Server Properties Available disk space
PHP scripting language properties With tips about how to configure
Apache properties With tips about how to configure
PHP security properties With tips about how to configure
MySQL Variable Information Outputs information about MySQL's configuration
PHP Info Outputs information about PHP's configuration (full list)


Icons

Image Good Will provide a smooth experience
Image Ugly Not ideal but you'll likely be OK. If you notice issues, you should revisit.
Image Bad Known to cause issues
Image Info This is typically for a setting that can be good in some cases, but bad in others.


Other ways to get Tiki Check

Part of Tiki download

If you have a recent version of Tiki, just visit tiki-check.php

Via the command line

How to get tiki-check via shell access
wget --output-document=tiki-check.php https://svn.code.sf.net/p/tikiwiki/code/trunk/tiki-check.php


If you can use the file, make sure permissions are OK. Too few or too many permissions can cause issues.

Known issues

If you enter incorrect DB-credentials, the script will fail with an ugly error message. We can't make this a nice error message, because we can't catch the exception, continue with the script and show the rest of the checks because we want to be PHP 4 compatible (and PHP 4 doesn't know exceptions which are the only way of error handling that PDO allows at connection time). So we fall back to the solution of setting the error_reporting all the way up and showing the error in this ugly way.

Background information

Tiki has been deployed in many scenarios over the years, and has a multitude of checks throughout the code (mostly in tiki-install.php and tiki-admin.php) to indicate to the admin if there is a problem with the server (ex.: memory_limit too low)

They are typically in the admin panel next to the relevant feature/setting. This is useful but without a central checklist of all of them when deploying on a new server (especially a server which has never been configured for web hosting), there can be a lot of back & forth to tweak all the settings. You are also forced to install Tiki to see what could be problematic. Instead, in a single file upload (tiki-check.php), we should have a clear report on everything that should be tweaked.

This is useful for fresh installs or if you are moving a Tiki instance from one server to another. This will also help when people report bugs (you can copy-paste this info in the bug tracker).

Before making this, existing solutions were researched and nothing came close to this. Thus, as far as we know, as of 2013, this is the most complete such solution.

Future work

For additional information, see Server Check.

  • phpSysInfo" is a "customizable PHP script that parses various files in /proc and displays them. It will display information about system facts like Uptime, CPU, Memory, SCSI, IDE, PCI, Ethernet, Floppy, and Video.
  • Requirements
  • Installation


Alias names for this page:
ServerCheck | Check | Tiki Check | TikiCheck

doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki