Wed 27 Nov 2002 04:02:50 PM UTC, comment #4:
I'm getting the same error as None and dsavage on a fresh install of PHPGW 0.9.14 (also happened with the previous stable release). I downloaded the TGZ file, unpacked it into /usr/local/apache2/htdocs/, created a vhost so that http://group.mydomain uses /usr/local/apache2/htdocs/phpgroupware as its document root, did the initial MySQL setup as detailed in the install documentation.
When I go to http://group.mydomain, I get:
Notice: Undefined index: template_set in /usr/local/apache2/htdocs/phpgroupware/phpgwapi/inc/class.Template.inc.php on line 380
Template Error: filename: file ../setup/templates/default/head.tpl does not exist.
Halted.
Fatal error: Call to a member function on a non-object in /usr/local/apache2/htdocs/phpgroupware/phpgwapi/inc/class.Template.inc.php on line 440
I searched around the mailing lists and found that I'm not the only one with this error. Someone on the lists suggested that I make sure everything is world-readable. I was pretty sure that was already the case, but I used find to give all regular files a+r permissions and all directories a+rx. I still get the exact same error.
I should note that I had a similar problem with Squirrelmail being unable to read files that began with "../", and I was able to work around this by changing Squirrelmail's configuration to use fully qualified paths instead of relatives. Unfortunately, I don't know that there is a central file in PHPGW that would allow me to easily do the same?
My operating environment:
Solaris 8 on a UltraSparc Ultra 1 Creator
128MB RAM
Apache 2.0.43 with --enable-module=so
PHP 4.2.3 '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-calendar' '--enable-safe-mode' '--enable-versioning' '--enable-track-vars' '--enable-inline-optimization' '--with-mysql=/usr/local/mysql'
MySQL 3.23.53 binary from sunfreeware.com
|