phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [Bug #1153] Template Error


From: nobody
Subject: [Phpgroupware-tracker] [Bug #1153] Template Error
Date: Thu, 12 Dec 2002 21:41:10 -0500

=================== BUG #1153: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1153&group_id=509

Changes by: Nielz Wijk <address@hidden>
Date: 2002-Dec-13 02:41 (GMT)

------------------ Additional Follow-up Comments ----------------------------
This is a PHP 4.2.3 problem. More information can be found here: 

http://bugs.php.net/bug.php?id=19323 http://bugs.php.net/bug.php?id=19287 
http://bugs.php.net/bug.php?id=19732




=================== BUG #1153: FULL BUG SNAPSHOT ===================


Submitted by: None                      Project: phpGroupWare                   
Submitted on: 2002-Sep-08 09:33
Category:  API - Setup                  Bug Group:  0.9.14 release              
Severity:  5 - Major                    Priority:  High                         
Resolution:  None                       Assigned to:  None                      
Status:  Open                           Component Version:  None                
Platform Version:  Linux - Mandrake     Reproducibility:  None                  

Summary:  Template Error

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


Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Dec-13 02:41             By: nielz
This is a PHP 4.2.3 problem. More information can be found here: 

http://bugs.php.net/bug.php?id=19323 http://bugs.php.net/bug.php?id=19287 
http://bugs.php.net/bug.php?id=19732


-------------------------------------------------------
Date: 2002-Nov-27 16:02             By: None
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

-------------------------------------------------------
Date: 2002-Nov-21 05:49             By: dsavage
I am getting the same error:
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 

When trying to initially setup phpGroupware.
My system configuration:
SunOS 5.8 Sun4u sparc SunBlade-100
1024M real 706M free 125M swap in use 1666M swap free
MySQL v 3.23.52
(./configure --prefix=/usr/local/mysql)

PHP v 4.2.3
(./configure --withapxs2=/usr/local/apache/bin/apxs 
--with-mysql=/usr/local/mysql)
edited /usr/local/lib/php.ini file to have the max_execution_time=60;

Apache v 2.0.43
(./configure --prefix=/usr/local/apache --enable-module=so)
edited the httpd.conf file to have DocumentRoot=/export/home/xxx/www

Installed the phpGroupware in the /export/home/xxx/www filesystem.

When I check for the file it seems to be where it is pointing to, and the 
permissions are wide open now, (777.) But I still get this error. 

On a side-note, I also have PHPBB installed in the /export/home/xxx/www/ 
filesystem and it is up and working fine. (Hopefully this doesn't conflict with 
phpGroupware.)

Hope this brings us closer to a resolution. 
-D



-------------------------------------------------------
Date: 2002-Oct-10 06:36             By: None
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



-------------------------------------------------------
Date: 2002-Sep-08 18:28             By: None
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


-------------------------------------------------------
Date: 2002-Sep-08 09:39             By: None
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


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1153&group_id=509



reply via email to

[Prev in Thread] Current Thread [Next in Thread]