Binary package hint: tikiwiki
In short, some paths seems to be wrong in the package (tikiwiki 1.9.7+dfsg-2ubuntu1.1, Ubuntu 7.10).
Installation has been done using mysql as the DB backend.
The symptoms are you only get blank pages when trying to access tikiwiki, although mysql logs show tikiwiki can access the DB.
I managed to make it work by changing the paths as in the following diff file.
There are a few more details on http://www.tronche.com/wiki/tiki-view_blog_post.php?blogId=1&postId=1
Regards, Ch. Tronche
diff -urN tikiwiki.orig/lib/smarty_tiki/function.phplayers.php tikiwiki/lib/smarty_tiki/function.phplayers.php --- tikiwiki.orig/lib/smarty_tiki/function.phplayers.php 2008-02-03 15:04:07.000000000 +0100 +++ tikiwiki/lib/smarty_tiki/function.phplayers.php 2008-02-03 15:04:07.000000000 +0100 @@ -58,8 +58,8 @@ $phplayers = new $class(); $phplayers->setDirrootCommon("/usr/share/php/libphp-phplayersmenu"); $phplayers->setLibjsdir("/usr/share/php/libphp-phplayersmenu/libjs/"); - $phplayers->setImgdir("/usr/share/php/libphp-phplayersmenu/images/"); - $phplayers->setImgwww("/usr/share/php/libphp-phplayersmenu/images/"); + $phplayers->setImgdir("/usr/share/php/libphp-phplayersmenu/menuimages/"); + $phplayers->setImgwww("/usr/share/php/libphp-phplayersmenu/menuimages/"); $phplayers->setTpldirCommon("/usr/share/php/libphp-phplayersmenu/templates/");
if (!empty($id)) { diff -urN tikiwiki.orig/setup_smarty.php tikiwiki/setup_smarty.php --- tikiwiki.orig/setup_smarty.php 2008-01-30 15:39:09.000000000 +0100 +++ tikiwiki/setup_smarty.php 2008-01-31 15:23:09.000000000 +0100 @@ -29,7 +29,8 @@ $this->caching = 0; $this->assign('app_name', 'TikiWiki'); $this->plugins_dir = array( // the directory order must be like this to overload a plugin - dirname(dirname(SMARTY_DIR))."/smarty_tiki", +# dirname(dirname(SMARTY_DIR))."/smarty_tiki", + '/usr/share/tikiwiki/lib/smarty_tiki', SMARTY_DIR."plugins" ); // we cannot use subdirs in safe mode diff -urN tikiwiki.orig/tiki-browse_categories.php tikiwiki/tiki-browse_categories.php --- tikiwiki.orig/tiki-browse_categories.php 2007-12-04 00:21:36.000000000 +0100 +++ tikiwiki/tiki-browse_categories.php 2008-01-31 21:19:19.000000000 +0100 @@ -126,8 +126,8 @@ $phplayers = new TreeMenu(); $phplayers->setDirrootCommon("/usr/share/php/libphp-phplayersmenu"); $phplayers->setLibjsdir("/usr/share/php/libphp-phplayersmenu/libjs/"); - $phplayers->setImgdir("/usr/share/php/libphp-phplayersmenu/images/"); - $phplayers->setImgwww("/usr/share/php/libphp-phplayersmenu/images/"); + $phplayers->setImgdir("/usr/share/php/libphp-phplayersmenu/menuimages/"); + $phplayers->setImgwww("/usr/share/php/libphp-phplayersmenu/menuimages/"); $phplayers->setTpldirCommon("/usr/share/php/libphp-phplayersmenu/templates/"); if ($itall) { $phplayers->setMenuStructureString($itall);
Binary package hint: tikiwiki
In short, some paths seems to be wrong in the package (tikiwiki 1.9.7+dfsg- 2ubuntu1. 1, Ubuntu 7.10).
Installation has been done using mysql as the DB backend.
The symptoms are you only get blank pages when trying to access tikiwiki, although mysql logs show tikiwiki can access the DB.
I managed to make it work by changing the paths as in the following diff file.
There are a few more details on http:// www.tronche. com/wiki/ tiki-view_ blog_post. php?blogId= 1&postId= 1
Regards,
Ch. Tronche
diff -urN tikiwiki. orig/lib/ smarty_ tiki/function. phplayers. php tikiwiki/ lib/smarty_ tiki/function. phplayers. php orig/lib/ smarty_ tiki/function. phplayers. php 2008-02-03 15:04:07.000000000 +0100 lib/smarty_ tiki/function. phplayers. php 2008-02-03 15:04:07.000000000 +0100
$phplayers- >setDirrootComm on("/usr/ share/php/ libphp- phplayersmenu" );
$phplayers- >setLibjsdir( "/usr/share/ php/libphp- phplayersmenu/ libjs/" ); >setImgdir( "/usr/share/ php/libphp- phplayersmenu/ images/ "); >setImgwww( "/usr/share/ php/libphp- phplayersmenu/ images/ "); >setImgdir( "/usr/share/ php/libphp- phplayersmenu/ menuimages/ "); >setImgwww( "/usr/share/ php/libphp- phplayersmenu/ menuimages/ ");
$phplayers- >setTpldirCommo n("/usr/ share/php/ libphp- phplayersmenu/ templates/ ");
--- tikiwiki.
+++ tikiwiki/
@@ -58,8 +58,8 @@
$phplayers = new $class();
- $phplayers-
- $phplayers-
+ $phplayers-
+ $phplayers-
if (!empty($id)) { orig/setup_ smarty. php tikiwiki/ setup_smarty. php orig/setup_ smarty. php 2008-01-30 15:39:09.000000000 +0100 setup_smarty. php 2008-01-31 15:23:09.000000000 +0100
$this- >caching = 0;
$this- >assign( 'app_name' , 'TikiWiki');
$this- >plugins_ dir = array( // the directory order must be like this to overload a plugin dirname( SMARTY_ DIR))." /smarty_ tiki", dirname( SMARTY_ DIR))." /smarty_ tiki", tikiwiki/ lib/smarty_ tiki',
SMARTY_ DIR."plugins" orig/tiki- browse_ categories. php tikiwiki/ tiki-browse_ categories. php orig/tiki- browse_ categories. php 2007-12-04 00:21:36.000000000 +0100 tiki-browse_ categories. php 2008-01-31 21:19:19.000000000 +0100
$phplayers- >setDirrootComm on("/usr/ share/php/ libphp- phplayersmenu" );
$phplayers- >setLibjsdir( "/usr/share/ php/libphp- phplayersmenu/ libjs/" ); >setImgdir( "/usr/share/ php/libphp- phplayersmenu/ images/ "); >setImgwww( "/usr/share/ php/libphp- phplayersmenu/ images/ "); >setImgdir( "/usr/share/ php/libphp- phplayersmenu/ menuimages/ "); >setImgwww( "/usr/share/ php/libphp- phplayersmenu/ menuimages/ ");
$phplayers- >setTpldirCommo n("/usr/ share/php/ libphp- phplayersmenu/ templates/ ");
$phplayers- >setMenuStructu reString( $itall) ;
diff -urN tikiwiki.
--- tikiwiki.
+++ tikiwiki/
@@ -29,7 +29,8 @@
- dirname(
+# dirname(
+ '/usr/share/
);
// we cannot use subdirs in safe mode
diff -urN tikiwiki.
--- tikiwiki.
+++ tikiwiki/
@@ -126,8 +126,8 @@
$phplayers = new TreeMenu();
- $phplayers-
- $phplayers-
+ $phplayers-
+ $phplayers-
if ($itall) {