This topic is locked

Smarty Error

9/7/2006 5:23:12 AM
PHPRunner General questions
T
TerryB author

Hi,
I got the following error when trying to test from another machine:
Error type 2

Error description Smarty::include(templates_c\%%6C.....login.htm.php[function.include]: failed to open stream: No such file or directory

URL: companyweb/login.php?

Error file: c:\Inetpub\wwwroot\libs\Smarty.class5.php

Error line 1258
I find this odd. I have not changed any settings since using phprunner 3.0 and, when building the project using that, I could connect and test from those machines.
Any ideas please?

J
Jane 9/7/2006

Terry,
usally this error means that the file path is incorrect.
Try to check that all folder names for upload files or images are exist and correct.

T
TerryB author 9/7/2006

Hi Jane,
Nothing has changed so far as the installation between 3.0 and 3.1 goes. No new versions of php have been installed and the working directories are identical. It uses the same path structure as the previous working version of 3.0 does. What's more confusing is that it works on one of three test machines that I tried it on - I have no idea why that would be though.

Sergey Kornilov admin 9/7/2006

Terry,
when you move generated files to the web server make sure you also copy templates_c folder. This folder is required for temporary Smarty files. Also make sure this folder on the server is writable by web server user.

T
TerryB author 9/8/2006

Hi Sergey,
Tried that but still no success. I'm really stuck now.