Be sure to review the Tiki FAQs for answers to frequently asked questions.
...and I can't go to profiles to enable Debug Mode
Try:
Or
tiki_preferences
.
mysql -h localhost -udbusername -p*********** dbname -e "UPDATE tiki_preferences SET value = '2047' WHERE name = 'error_reporting_level'"
You should also empty the Tiki cache or manually delete all *.tpl files in the ../templates_c/ directory.
Please note that some server configurations will prevent Tiki from overriding the error reporting of PHP. Make sure your server has error reporting and/or logging properly setup.
If your Tiki is in a subdirectory and you use HTTPS, this forum thread may be some help.
This could be because of ModSecurity, which you should turn off temporarily.
The most common cause of a blank screen in which Tiki shows no error message and no content is insufficient PHP script execution memory. Tiki requires a minimum of 64MB (the default value of PHP 5.3 is 128 Megs and ideally, it should be at this value). (which you can change in php.ini or httpd.conf. If you are using OPcache, APC or XCache, make sure they also have enough memory.
Also, make sure to activate your error messages. You can do this be re-running the installer at tiki-install.php (Step #7 Configure the General Settings)
Review your tiki-phpinfo.php page or contact your server admin to make sure your site meets this requirement. See Requirements for details.
Another case of getting WSOD (or a "blank page") can happen when you insert some custom JS or CSS code containing curly brackets in the Look & Feel admin panel or custom module textareas and forgot to surround them with literal Smarty block:
{literal}...{/literal}
Let's assume, that you cut and pasted some code containing curly brackets in the Custom HTML Head textarea.
Now you hit the Apply button and suddenly. Eeek! You are "locked out" in the WSOD! But Do not panic™! There is a solution 😉
Actually, you have two options how to fix or reset it back:
This can happen because of incorrect File and Folder permissions.
If you have lost or forgotten your Tiki admin password, see
Lost admin password.
Your Tiki may have trouble writing HTTP sessions to the disk. Instead, try storing in the database. In your lib/prefs/session.php file (you can see an example here, find the session_storage preference and change the 'default' from 'default' to 'db'.
If you customized a Tiki theme and now have problems, see Template Tricks on Tiki Themes.
If you created or edited a module and included invalid or poorly formatted syntax, Tiki may display errors. Access your database (for example, by using Adminer or phpMyAdmin) and remove the offending module from the tiki_modules table. Please note that you can easily re-instate via the admin panel after, as it is not deleted but just unassigned.
If you are getting weird error messages that no one else seems to be getting, it could that your upload didn't complete properly. So you are missing some files or they are corrupt. The solution is simple: reupload the files. Check file integrity
Ensure that there is no problem with the re-indexing. Check file indexing
This can be because there is no .htaccess, or it's there but the server doesn't support it somehow.
Solution: Turn off Search Engine Friendly URLs.
This happened to me on an upgrade from Tiki 12.x to 18.x on a really old site with a lot of legacy data, specifically there were over 3 million rows in tiki_stats
and feature_stats
was enabled.
Each page load was taking a minute or so, and eventually i tracked it down to the index being missing on tiki_stats
bacuse there was a duplicate value in the table that shouldn't have been there. So the process to find and fix it was:
/* to find the duplicate */ SELECT `object`, `type`, `day`, COUNT(*) AS anyVariableName FROM `tiki_stats` GROUP BY `object`,`type`,`day` HAVING COUNT(*) > 1; /* then assuming there is only one duplicate */ /* combine the two stats */ UPDATE `tiki_stats` SET `hits` = '2' WHERE `object` = 'Your Wiki Page Name' AND `type` = 'wiki' AND `day` = '1576627200' AND `hits` = '1' LIMIT 1; /* delete the second one */ DELETE FROM `tiki_stats` WHERE `object` = 'Your Wiki Page Name' AND `type` = 'wiki' AND `day` = '1576627200' AND `hits` = '1' LIMIT 1; /* add back in the missing index - note, this is for Tiki 18, 19+ should use `object`(157) due to utf8_mb4 */ ALTER TABLE `tiki_stats` ADD PRIMARY KEY (`object`(200),`type`,`day`);