templates_c odd filenames
templates_c odd filenames
All the files being created in here have the file extension .tmp therefore the CMS is not looking in the right place.
Any ideas?
Any ideas?
Re: templates_c odd filenames
Strange, in this folder smarty has own files and should be .inc and .php and not .tmpcb2004 wrote: All the files being created in here have the file extension .tmp therefore the CMS is not looking in the right place.
Alby
Re: templates_c odd filenames
I know. Windows server.
Any ideas?
Any ideas?
Re: templates_c odd filenames
Check content of these files and check phpinfo() for settings in this folder (upload folder, save session, ...)cb2004 wrote: Any ideas?
Alby
Re: templates_c odd filenames
The contents seem absolutely fine. Its just the filenames and file extensions which are screwy.
What deails do you need from the phpinfo();?
What deails do you need from the phpinfo();?
Re: templates_c odd filenames
then what's inside?cb2004 wrote: The contents seem absolutely fine. Its just the filenames and file extensions which are screwy.
search for templates_c in this pagecb2004 wrote: What deails do you need from the phpinfo();?
Alby
Re: templates_c odd filenames
This is inside one of the files:
As you see whats inside is fine. Its just not creating the correct filename or file extension. I have my phpinfo(); screen up which is placed in templates_c. What shall I be looking for?
I think if we fix this we will fix loads of problems with other peoples Windows problems. I see no end of errors when I search for fetch. I have been using the template files from a Unix server and I am just copying over the template files. Maybe Calguy or Ted would be interested in this post?
Code: Select all
<?php /* Smarty version 2.6.18, created on 2008-09-17 13:32:07
compiled from header.tpl */
$this->_cache_serials['MYSERVER\tmp\templates_c\%%F7^F7F^F7F34188%%header.tpl.inc'] = '7d428e5bfe7a93eb0c52c1a9d021a8a0';
?><?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'lang_install', 'header.tpl', 5, false),)), $this); ?>
<?php
function _smarty_tplfunc_7d428e5bfe7a93eb0c52c1a9d021a8a0_0(&$this)
{
$_cache_attrs =& $this->_smarty_cache_attrs('7d428e5bfe7a93eb0c52c1a9d021a8a0','0');echo smarty_lang(array('a' => 'install_title','1' => $this->_tpl_vars['current_page']), $this);
}
function _smarty_tplfunc_7d428e5bfe7a93eb0c52c1a9d021a8a0_1(&$this)
{
$_cache_attrs =& $this->_smarty_cache_attrs('7d428e5bfe7a93eb0c52c1a9d021a8a0','1');echo smarty_lang(array('a' => 'install_system'), $this);
}
function _smarty_tplfunc_7d428e5bfe7a93eb0c52c1a9d021a8a0_2(&$this)
{
$_cache_attrs =& $this->_smarty_cache_attrs('7d428e5bfe7a93eb0c52c1a9d021a8a0','2');echo smarty_lang(array('a' => 'install_thanks'), $this);
}
?>
I think if we fix this we will fix loads of problems with other peoples Windows problems. I see no end of errors when I search for fetch. I have been using the template files from a Unix server and I am just copying over the template files. Maybe Calguy or Ted would be interested in this post?
Re: templates_c odd filenames
Mmm, nice and weird, I think having a look at the PHP info is the next step. Does this only happen on Windows Web Servers?
Re: templates_c odd filenames
Yeah only on a Windows server I am installing on.
What shall I look for in the PHP info?
The files are names like wrtFC.tmp and so on.
What shall I look for in the PHP info?
The files are names like wrtFC.tmp and so on.
Re: templates_c odd filenames
As Alby said
"phpinfo() for settings in this folder (upload folder, save session, ...)" and "search for templates_c in this page"
What PHP you on, CMS Version, Apache Server or other wbe server? Windows OS/Version?
"phpinfo() for settings in this folder (upload folder, save session, ...)" and "search for templates_c in this page"
What PHP you on, CMS Version, Apache Server or other wbe server? Windows OS/Version?
Re: templates_c odd filenames
PHP: 4.3.10
CMSMS: 1.4.1
Server: IIS 6
CMSMS: 1.4.1
Server: IIS 6
Re: templates_c odd filenames
smarty use tempnam php functioncb2004 wrote: Yeah only on a Windows server I am installing on.
What shall I look for in the PHP info?
The files are names like wrtFC.tmp and so on.
Windows could overwrite behavior of this function and write another filename
I do not think to "abnormal" behavior but a "strange" behavior of Windows (IIS in particulary) ::)
Alby
Re: templates_c odd filenames
Is there anything I could do or get the server admin to do?
Re: templates_c odd filenames
You should make a test with the code of the file: lib/smarty/internals/core.write_file.phpcb2004 wrote: Is there anything I could do or get the server admin to do?
Alby
Re: templates_c odd filenames
I found this:
http://www.phpinsider.com/smarty-forum/ ... php?t=7183
The posts towards the bottom are interesting.
http://www.phpinsider.com/smarty-forum/ ... php?t=7183
The posts towards the bottom are interesting.