bugphpGroupWare - Bugs: bug #1153, Template Error

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #1153: Template Error

Submitted by:  None
Submitted on:  Sun 08 Sep 2002 09:33:50 AM UTC  
 
Item Group: 0.9.14 releaseCategory: API - Setup
Severity: 3 - NormalPriority: 5 - Normal
Status: Wont FixPrivacy: Public
Assigned to: Dave Hall <skwashd>Open/Closed: Closed
Component Version: NoneOperating System: GNU/Linux - Mandrake
Reproducibility: NonePlanned Release: None
Fixed Release: 

Sun 15 Dec 2002 09:49:32 PM UTC, comment #5:

As this is a bug in php4.2.3, that has now been fixed in their cvs please apply the patch. We decided that it would involve a lot of work to fix, what is essentially a bug in one version of another program, and could not justify allocating so many resources to something that can be fixed with a vendor supplied patch.

Cheers

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
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

Anonymous
Thu 10 Oct 2002 06:36:42 AM UTC, comment #3:

Iam getting kinda same msg when I point my browser to http://"mydomain"/phpgroupware/setup/

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 /var/www/html/phpgroupware/phpgwapi/inc/class.Template.inc.php on line 440

My System is
GNU/Linux REDHAT 8
Apache 2.0 {./configure --prefix=/var/www }
PHP Version 4.2.3 {./configure' '--with-mysql' '--with-apxs2'}
MYSQL ver 11.18 distrib 3.23.52

Anonymous
Sun 08 Sep 2002 06:28:34 PM UTC, comment #2:

on the configuration of the header file.
i point my browser to http://localhost/phpgroupware/setup/
i set the password for the header.inc.php and the db.
I click on write config.
and the error show.

the only change were the change on the header.inc.php DB password.

Thanks
None

Anonymous
Sun 08 Sep 2002 09:39:36 AM UTC, comment #1:

Hi None,

Can you please provide some more information about this problem. Such as:

What stage of the setup process this problem occurred.
Was there any output, before/after the error was displayed?

Cheers

skwashd
Dave Hall

Anonymous
Sun 08 Sep 2002 09:33:50 AM UTC, original submission:

Template Error: filename: file ..//header.inc.php.template does not exist.
Halted.
Fatal error: Call to a member function on a non-object in /var/www/html/phpgroupware/phpgroupware/phpgwapi/inc/class.Template.inc.php on line 440

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 15 Dec 2002 09:49:32 PM UTCskwashdStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
Sat 14 Dec 2002 07:36:18 AM UTCskwashdAssigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1