I am trying to install the O'reilly Winestore from webdatabasebook.com/ with no success. Here is my error when I try to access "/wda2-winestore/index.php":
Quote:
[PHP Error 20060807204708]WARNING on line 913 in /usr/share/pear/HTML/Template/IT.php.
[PHP Error 20060807204708]Error: "fopen(/usr/local/apache2/htdocs/wda2-winestore/templates/winestore.tpl): failed to open stream: No such file or directory" (error #2).
[PHP Error 20060807204708]Backtrace:
[PHP Error 20060807204708] 0: fopen (line 913 in /usr/share/pear/HTML/Template/IT.php)
[PHP Error 20060807204708] 1: getfile (line 779 in /usr/share/pear/HTML/Template/IT.php)
[PHP Error 20060807204708] 2: loadtemplatefile (line 36 in /home/www/web12/web/wda2-winestore/includes/template.inc)
[PHP Error 20060807204708] 3: winestoretemplate (line 82 in /home/www/web12/web/wda2-winestore/index.php)
[PHP Error 20060807204708]Variables in fopen ():
[PHP Error 20060807204708] this is Object
[PHP Error 20060807204708] filename is /usr/local/apache2/htdocs/wda2-winestore/templates/winestore.tpl
[PHP Error 20060807204708]Client IP: ************
[PHP Error 20060807204708]WARNING on line 913 in /usr/share/pear/HTML/Template/IT.php.
[PHP Error 20060807204708]Error: "fopen(/usr/local/apache2/htdocs/wda2-winestore/templates/index.tpl): failed to open stream: No such file or directory" (error #2).
[PHP Error 20060807204708]Backtrace:
[PHP Error 20060807204708] 0: fopen (line 913 in /usr/share/pear/HTML/Template/IT.php)
[PHP Error 20060807204708] 1: getfile (line 333 in /usr/share/pear/HTML/Template/ITX.php)
[PHP Error 20060807204708] 2: addblockfile (line 38 in /home/www/web12/web/wda2-winestore/includes/template.inc)
[PHP Error 20060807204708] 3: winestoretemplate (line 82 in /home/www/web12/web/wda2-winestore/index.php)
[PHP Error 20060807204708]Variables in fopen ():
[PHP Error 20060807204708] this is Object
[PHP Error 20060807204708] filename is /usr/local/apache2/htdocs/wda2-winestore/templates/index.tpl
[PHP Error 20060807204708]Client IP: ***********
|
I do know that there is no file in "/usr/local/apache2/htdocs/wda2-winestore/templates/". I don't have "/usr/local/apache2/". It is in "/Path~to~my~web~directory/wda2-winestore/templates/". It must be a problem with pear.
This is what I get when I run the command:
Quote:
# pear upgrade PEAR
downloading PEAR-1.4.10.tgz ...
Starting to download PEAR-1.4.10.tgz (284,880 bytes)
..........................................................done: 284,880 bytes
requires package `PEAR' >= 1.3.3
requires package `Archive_Tar' >= 1.3.1
PEAR: Dependencies failed
|
If that is related?