Installing tikiwiki under Ubuntu 7.10

I naively tried to install tikiwiki (1.9.7+dfsg-2ubuntu1.1) on an Ubuntu box with synaptic. After install, tikiwiki wasn't working. I got only blank pages on tikiwiki. After searching the web and tracing the code (you know, those echo "here I am" 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's what I found: * in file setup_smarty.php at line 32, the original code reads as:

I naively tried to install tikiwiki (1.9.7+dfsg-2ubuntu1.1) on an Ubuntu box with synaptic. After install, tikiwiki wasn't working. I got only blank pages on tikiwiki. After searching the web and tracing the code (you know, those echo "here I am" 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's what I found: * in file setup_smarty.php at line 32, the original code reads as:

dirname(dirname(SMARTY_DIR))."/smarty_tiki",

This part defines an include path for smarty (tikiwiki template engine) with SMARTY_DIR defined as '/usr/share/php/smarty/' while the tikiwiki part really is in '/usr/share/tikiwiki/lib/smarty_tiki', so I replaced dirname(dirname(SMARTY_DIR))."/smarty_tiki" with '/usr/share/tikiwiki/lib/smarty_tiki' * In tiki-browse_categories.php, around line 129, replace '/usr/share/php/libphp-phplayersmenu/images/' with ' /usr/share/php/libphp-phplayersmenu/menuimages/' * 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't working. I got only blank pages on tikiwiki. After searching the web and tracing the code (you know, those echo "here I am" 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's what I found: * in file setup_smarty.php at line 32, the original code reads as:

dirname(dirname(SMARTY_DIR))."/smarty_tiki",

This part defines an include path for smarty (tikiwiki template engine) with SMARTY_DIR defined as '/usr/share/php/smarty/' while the tikiwiki part really is in '/usr/share/tikiwiki/lib/smarty_tiki', so I replaced dirname(dirname(SMARTY_DIR))."/smarty_tiki" with '/usr/share/tikiwiki/lib/smarty_tiki' * In tiki-browse_categories.php, around line 129, replace '/usr/share/php/libphp-phplayersmenu/images/' with ' /usr/share/php/libphp-phplayersmenu/menuimages/' * Same thing in /usr/share/tikiwiki/lib/smarty_tiki/function.phplayers.php ! You can download the diff at the end of this page. That's it, Enjoy tikiwiki.