{"id":328,"date":"2008-02-02T13:33:38","date_gmt":"2008-02-02T12:33:38","guid":{"rendered":"http:\/\/tronche.com\/blog\/less-technical\/uncategorized\/2008\/02\/installing-tikiwiki-under-ubuntu-7-10\/"},"modified":"2008-02-02T13:33:38","modified_gmt":"2008-02-02T12:33:38","slug":"installing-tikiwiki-under-ubuntu-7-10","status":"publish","type":"post","link":"https:\/\/tronche.com\/blog\/2008\/02\/installing-tikiwiki-under-ubuntu-7-10\/","title":{"rendered":"Installing tikiwiki under Ubuntu 7.10"},"content":{"rendered":"<p>I naively tried to install tikiwiki (1.9.7+dfsg-2ubuntu1.1) on an Ubuntu box with synaptic. After install, tikiwiki wasn&#39;t working. I got only blank pages on tikiwiki. After searching the web and tracing the code (you know, those echo &quot;here I am&quot; in the PHP code), it appears there are small discrepancies between the path installed by the tikiwiki package and the actual position of the files. Here&#39;s what I found: * in file setup_smarty.php at line 32, the original code reads as:<\/p>\n<p><!--more--><\/p>\n<p>I naively tried to install tikiwiki (1.9.7+dfsg-2ubuntu1.1) on an Ubuntu box with synaptic. After install, tikiwiki wasn&#39;t working. I got only blank pages on tikiwiki. After searching the web and tracing the code (you know, those echo &quot;here I am&quot; in the PHP code), it appears there are small discrepancies between the path installed by the tikiwiki package and the actual position of the files. Here&#39;s what I found: * in file setup_smarty.php at line 32, the original code reads as:<\/p>\n<pre>\r\ndirname(dirname(SMARTY_DIR)).&quot;\/smarty_tiki&quot;,\r\n<\/pre>\n<p>This part defines an include path for smarty (tikiwiki template engine) with SMARTY_DIR defined as &#39;\/usr\/share\/php\/smarty\/&#39; while the tikiwiki part really is in &#39;\/usr\/share\/tikiwiki\/lib\/smarty_tiki&#39;, so I replaced dirname(dirname(SMARTY_DIR)).&quot;\/smarty_tiki&quot; with &#39;\/usr\/share\/tikiwiki\/lib\/smarty_tiki&#39; * In tiki-browse_categories.php, around line 129, replace &#39;\/usr\/share\/php\/libphp-phplayersmenu\/images\/&#39; with &#39; \/usr\/share\/php\/libphp-phplayersmenu\/menuimages\/&#39; * Same thing in \/usr\/share\/tikiwiki\/lib\/smarty_tiki\/function.phplayers.php ! You can download the diff [I naively tried to install tikiwiki (1.9.7+dfsg-2ubuntu1.1) on an Ubuntu box with synaptic. After install, tikiwiki wasn&#39;t working. I got only blank pages on tikiwiki. After searching the web and tracing the code (you know, those echo &quot;here I am&quot; in the PHP code), it appears there are small discrepancies between the path installed by the tikiwiki package and the actual position of the files. Here&#39;s what I found: * in file setup_smarty.php at line 32, the original code reads as:<\/p>\n<pre>\r\ndirname(dirname(SMARTY_DIR)).&quot;\/smarty_tiki&quot;,\r\n<\/pre>\n<p>This part defines an include path for smarty (tikiwiki template engine) with SMARTY_DIR defined as &#39;\/usr\/share\/php\/smarty\/&#39; while the tikiwiki part really is in &#39;\/usr\/share\/tikiwiki\/lib\/smarty_tiki&#39;, so I replaced dirname(dirname(SMARTY_DIR)).&quot;\/smarty_tiki&quot; with &#39;\/usr\/share\/tikiwiki\/lib\/smarty_tiki&#39; * In tiki-browse_categories.php, around line 129, replace &#39;\/usr\/share\/php\/libphp-phplayersmenu\/images\/&#39; with &#39; \/usr\/share\/php\/libphp-phplayersmenu\/menuimages\/&#39; * Same thing in \/usr\/share\/tikiwiki\/lib\/smarty_tiki\/function.phplayers.php ! You can download the diff at the end of this page. That&#39;s it, Enjoy tikiwiki.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>I naively tried to install tikiwiki (1.9.7+dfsg-2ubuntu1.1) on an Ubuntu box with synaptic. After install, tikiwiki wasn&#39;t working. I got only blank pages on tikiwiki. <a class=\"mh-excerpt-more\" href=\"https:\/\/tronche.com\/blog\/2008\/02\/installing-tikiwiki-under-ubuntu-7-10\/\" title=\"Installing tikiwiki under Ubuntu 7.10\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-328","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts\/328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/comments?post=328"}],"version-history":[{"count":0,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/posts\/328\/revisions"}],"wp:attachment":[{"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/media?parent=328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/categories?post=328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tronche.com\/blog\/wp-json\/wp\/v2\/tags?post=328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}