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)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting