Smarty error - Failed to open stream error for "templat

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
rizza
TestLink user
Posts: 2
Joined: Fri May 05, 2006 9:31 am

Smarty error - Failed to open stream error for "templat

Post by rizza »

Hi,

Set-up Info:

OS - Win2003
PHP ver. 4.2.2
IIS Webserver
MySQL 5.0
Testlink v. 1.6.2


1. During automatic installation, Testlink prompts us to create a /config_db.inc.php using the data displayed in the installation.

Note that prior to step 1, we have already created a new testlink DB login name/password.

However, on the next step. we received the ff. error message:

\"Warning:
fetch(c:\\inetpub\\wwwroot\\testlink-1.6.2\\gui\\templates_c\\\\%%6A^6A5^6A537DD8%%login.tpl.php): failed to open stream: No such file or directory in c:\\inetpub\\wwwroot\\testlink-1.6.2\\third_party\\smarty\\Smarty.class.php on line 1247

Warning: fetch(): Failed opening \'c:\\inetpub\\wwwroot\\testlink-1.6.2\\gui\\templates_c\\\\%%6A^6A5^6A537DD8%%login.tpl.php\' for inclusion (include_path=\'.;c:\\php4\\pear;c:\\inetpub\\wwwroot\\testlink-1.6.2\\lib\\functions\\;\') in c:\\inetpub\\wwwroot\\testlink-1.6.2\\third_party\\smarty\\Smarty.class.php on line 1247\"

can you help me what seems to be the problem? When i looked at the manual, changing the permission of \"templates_c\" is for Unix/Linux users only but i\'m encountering it using Win2003.

Thanks so much in advance!!!
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

You need to be sure the directories exist (ok seems a silly suggestion),
then need to adjust permissions for the template_c if need.
Try to test with an unsecure setting giving full control to everyone.
Talk to your sysadmin guys

Anyway I\'ve never tested TL with IIS, but allways with APACHE (on Windows XP)
Carlos
TestLink user
Posts: 4
Joined: Tue May 16, 2006 12:12 pm

Re: Smarty error - Failed to open stream error for "tem

Post by Carlos »

Hi,

today I have experienced the same problem. I am also using IIS. Did you get it running on your server? I have checked the permissions on the folder and of course the folder does exist.

Thank you for any information.
zeus
TestLink user
Posts: 9
Joined: Wed Jan 17, 2007 12:06 am

Smarty error on login

Post by zeus »

I am experiencing a similar issue.

TestLink 1.6.2
Windows XP Pro
PHP 5
MySql 5.0
IIS

Error:
Warning: Smarty::include(C:\Inetpub\wwwroot\TestLink\gui\templates_c\\%%6A^6A5^6A537DD8%%login.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory in C:\Inetpub\wwwroot\TestLink\third_party\smarty\Smarty.class.php on line 1247

Warning: Smarty::include() [function.include]: Failed opening 'C:\Inetpub\wwwroot\TestLink\gui\templates_c\\%%6A^6A5^6A537DD8%%login.tpl.php' for inclusion (include_path='.;C:\php5\pear;C:\Inetpub\wwwroot\TestLink\lib\functions\;') in C:\Inetpub\wwwroot\TestLink\third_party\smarty\Smarty.class.php on line 1247

I noted that the other two users had multiple slashes in their paths, I do not.

Also, my path for mySQL is c:\php, not php5. Where is that set?

All of the directories exist and the webserver has full control permissions to them.

Thanks!
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

More slashes is a bug of this forum. Is it a clean new installation. The most often problem is permissions. Try to verify it once again. However if it's not case it could be some experiencing change in config.
zeus
TestLink user
Posts: 9
Joined: Wed Jan 17, 2007 12:06 am

smarty error on login

Post by zeus »

My permissions are corrrect, as I said.

Where is the include path set that's in this error message?

Warning: Smarty::include() [function.include]: Failed opening 'C:\Inetpub\wwwroot\TestLink\gui\templates_c\\%%6A^6A5^6A537DD8%%login.tpl.php' for inclusion (include_path='.;C:\php5\pear;C:\Inetpub\wwwroot\TestLink\lib\functions\;') in C:\Inetpub\wwwroot\TestLink\third_party\smarty\Smarty.class.php on line 1247

It is incorrect, it should be c:\php

Thanks.
Post Reply