Re: Pear Problem

From: Date: Tue, 19 Sep 2006 08:06:44 +0000
Subject: Re: Pear Problem
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25167@lists.php.net to get a copy of this message
Christoph Lᅵtjen - webEdition Software GmbH wrote:
Hi,
your script could not open a template file, because there's no such file.
[PHP Error 20060226230305]Error: "fopen(/usr/httpdocs/wda2- winestore/templates/winestore.tpl): failed to open stream: No such file or
directory" (error #2).
The app seems to search for its templates in the wrong directory. The path should start with something like this (Search for SCRIPT_FILENAME in phpinfo.php):
/var/www/vhosts/xentek.co.uk/httpdocs/wda2-winestore
Chris
-----Ursprᅵngliche Nachricht----- Von: Vanessa Kay [mailto:vanessa.kay@wd01.co.uk] Gesendet: Sonntag, 26. Februar 2006 23:33 An: pear-general@lists.php.net Betreff: [PEAR] Pear Problem
I am having a small problem using Pear.
I am trying to install a web application which uses pear, unfortunately I am
getting some errors.
You can visit the page here to see the error: http://www.xentek.co.uk/wda2-winestore/
My phpInfo(); results can be viewed here: http://www.xentek.co.uk/wda2-winestore/phpinfo.php
I am using a Linux VPS server which I access remotely.
From the root of the server pear is located at:
/usr/share/pear
Similarly, from the root of the server my site is hosted at: /var/www/vhosts/xentek.co.uk/httpdocs
I hope someone will be able to help me out, as I have pulled a lot of hair out over this one!
Regards, Russell Hunter
If you open up the winestore.inc and change the define("D_INSTALL_PATH", "/your~path/"); to your path it should work. They left that out in the install instructions in the book.

« previous php.pear.general (#25167) next »