Git head 19.10.2011 and template inclusion problems

Please report bugs here, please be very detailed in your bug reports. If you've come up with some code to fix the bug, please post it here.
Post Reply
Depili
Greenhorn
Posts: 32
Joined: Wed May 05, 2010 11:16

Git head 19.10.2011 and template inclusion problems

Post by Depili »

For some reason our KB at http://www.eve-co2.org/ is having problems with the latest git head. Everything works fine using out-of-game browser but IGB returns template inclusion errors like:

Code: Select all

ARNING [2] file_exists(): open_basedir restriction in effect. File(/usr/share/pear/./themes/magez_co2_theme/templates/summarytable.tpl) is not within the allowed path(s): (/var/www/virtual/eve-co2.org/:/usr/share/php/)
Error on line 36 in file /var/www/virtual/eve-co2.org/htdocs/common/smarty/sysplugins/smarty_internal_get_include_path.php
PHP 5.2.6-1+lenny13 (Linux), EDK 3.3beta (Incursion)
File: /var/www/virtual/eve-co2.org/htdocs/common/smarty/sysplugins/smarty_internal_get_include_path.php, line: 36, function: file_exists
File: /var/www/virtual/eve-co2.org/htdocs/common/smarty/sysplugins/smarty_internal_template.php, line: 620, class: Smarty_Internal_Get_Include_Path, function: getIncludePath
File: /var/www/virtual/eve-co2.org/htdocs/common/smarty/sysplugins/smarty_internal_resource_file.php, line: 51, class: Smarty_Internal_Template, function: buildTemplateFilepath
File: /var/www/virtual/eve-co2.org/htdocs/common/smarty/sysplugins/smarty_internal_template.php, line: 115, class: Smarty_Internal_Resource_File, function: getTemplateFilepath
File: /var/www/virtual/eve-co2.org/htdocs/common/smarty/sysplugins/smarty_internal_resource_file.php, line: 36, class: Smarty_Internal_Template, function: getTemplateFilepath
File: /var/www/virtual/eve-co2.org/htdocs/common/smarty/sysplugins/smarty_internal_template.php, line: 160, class: Smarty_Internal_Resource_File, function: isExisting
File: /var/www/virtual/eve-co2.org/htdocs/common/smarty/sysplugins/smarty_internal_template.php, line: 552, class: Smarty_Internal_Template, function: isExisting
File: /var/www/virtual/eve-co2.org/htdocs/common/smarty/Smarty.class.php, line: 338, class: Smarty_Internal_Template, function: getRenderedTemplate
File: /var/www/virtual/eve-co2.org/htdocs/common/includes/class.killsummarytable.php, line: 643, class: Smarty, function: fetch
File: /var/www/virtual/eve-co2.org/htdocs/common/home.php, line: 121, class: KillSummaryTable, function: generate
File: /var/www/virtual/eve-co2.org/htdocs/common/includes/class.pageassembly.php, line: 63, function: call_user_func_array
File: /var/www/virtual/eve-co2.org/htdocs/common/includes/class.pageassembly.php, line: 32, class: pageAssembly, function: call
File: /var/www/virtual/eve-co2.org/htdocs/common/home.php, line: 637, class: pageAssembly, function: assemble
File: /var/www/virtual/eve-co2.org/htdocs/common/index.php, line: 286, function: include
File: /var/www/virtual/eve-co2.org/htdocs/index.php, line: 27, function: include

Kovell
Veteran
Posts: 1036
Joined: Wed Nov 26, 2008 13:35

Re: Git head 19.10.2011 and template inclusion problems

Post by Kovell »

I can't duplicate the problem. Does clearing the template cache help?

ETA: The safemode errors confused things a bit. I made some changes that may fix your problem. See if the latest version helps.

Depili
Greenhorn
Posts: 32
Joined: Wed May 05, 2010 11:16

Re: Git head 19.10.2011 and template inclusion problems

Post by Depili »

Updated to new git revision and error is gone.

Post Reply