Loading...
 

Debugging Tiki Code

Where does this error message come from?

Questions

Answers

Question: I always get a SQL error in tikidblib line ~125, but I can't find the location of the query.
Answer:  Yes, all DB queries must go by there. Use text search tools like grep or better: Install XDebug, edit your php.ini like described in XDebug's installation manual, restart your webserver and you'll see a stack trace every time a error occurs.
Question: Warning: Smarty error: unable to read resource: "error.tpl" in /var/www/html/HEAD/lib/smarty/Smarty.class.php on line 1144
Answer:  Should be solved by clearing tiki/templates_c/
Question: Allowed memory size of xxx bytes exhausted (tried to allocate...
Answer:  Tiki needs lots of memory. 8MB is the minimum, 12MB should be enough for starting and 16MB should be comfortable during a good time. This site runs with 24MB. In php.ini just change the value of memory_limit (and restart Apache).
Question: Warning: ob_start(): output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter' in ...
Answer:  Disable Use gzipped output from Admin General. This happens because Apache already compresses the output due to your php.ini settings. Use one or the other.

Upcoming Events

1) 
Tiki birthday
2)  19 Oct 2023 14:00 GMT-0000
Tiki Roundtable Meeting - October
3)  16 Nov 2023 14:00 GMT-0000
Tiki Roundtable Meeting - November
4)  21 Dec 2023 14:00 GMT-0000
Tiki Roundtable Meeting - December
5)  18 Jan 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  15 Feb 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  21 Mar 2024 14:00 GMT-0000
Tiki Roundtable Meeting
8)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting