Page 2 of 2

Re: Smarty Errors on install

Posted: Tue May 23, 2006 1:28 pm
by Lector
tsw wrote: Have you checked that fileloc.php is there? if not upload it again.

which version are you using?
Yes, I have checked that fileloc.php is there  :)

I am using verison 0.13 or at least I wanted to use it  ;)

But as you can see from some postings above there was already an error message appearing right from the start. This first problem could be solved with Ted's help, but now another error message appears when trying to open the menu.

@ cyberman: I have read the thread you linked to  ;D But I thought the information I have already given in this thread would be enough. Sorry, if I should have opened a new thread. But for me it seemed linked to the other problem I had  :-\

Re: Smarty Errors on install

Posted: Tue May 23, 2006 2:40 pm
by cyberman
Lector wrote: But I thought the information I have already given in this thread would be enough.
Sometimes it could be helpful to add a little bit more informations like server, php and mysql versions to reproduce your error.

In the past I had a similar problem - there comes a problem from vhost configuration  :-\.

Re: Smarty Errors on install

Posted: Sun May 28, 2006 2:39 pm
by dcross
Well now I have a website that doesn't work.

I have changed the lib/content.functions.php as detailed and fileloc.php does exist.  I still get this error:

string(78) "Smarty error: problem creating directory 'c:/domains/dmcsupportservices.co.uk'" string(78) "Smarty error: problem creating directory 'c:/domains/dmcsupportservices.co.uk'" Warning: fetch(c:\domains\dmcsupportservices.co.uk\wwwroot/tmp/templates_c\%%BC\BCC\BCC1E1F7%%template%3A16.php): failed to open stream: No such file or directory in c:\domains\dmcsupportservices.co.uk\wwwroot\lib\smarty\Smarty.class.php on line 1265 Warning: fetch(): Failed opening 'c:\domains\dmcsupportservices.co.uk\wwwroot/tmp/templates_c\%%BC\BCC\BCC1E1F7%%template%3A16.php' for inclusion (include_path='.;C:\php\pear;c:\php\includes') in c:\domains\dmcsupportservices.co.uk\wwwroot\lib\smarty\Smarty.class.php on line 1265

Running Win2k3, PHP 4.3.4.  The Admin side of CMSMS works fine.

What do I do now?

Regards.

Re: Smarty Errors on install

Posted: Sun May 28, 2006 3:33 pm
by Piratos
You have rights problems to create dirs.

Take content.functions.php  line 53

//use_sub_dirs doesn't work in safe mode
if (ini_get("safe_mode") != "1")
$this->use_sub_dirs = true;

add

$this->use_sub_dirs = false;

Re: Smarty Errors on install

Posted: Sun May 28, 2006 4:05 pm
by dcross
Piratos wrote: Take content.functions.php   line 53

//use_sub_dirs doesn't work in safe mode
if (ini_get("safe_mode") != "1")
$this->use_sub_dirs = true;
add
$this->use_sub_dirs = false;
I had already made this change and it still failed.  However, I modified the permissions on the PHP temp folder to allow the IIS web user account modify control over that folder.

I did not have to do this before this upgrade so why do we have to do it now?

The problem appears to have been solved but I do not approve of the solution.

Re: Smarty Errors on install

Posted: Sun May 28, 2006 4:13 pm
by Piratos
it still failed
if you change something with the smarty configuration you must delete the cache, because smarty use the old cache files.

With $this->use_sub_dirs = false;  Smarty never makes dirs and there is no need for such a permission.

Re: Smarty Errors on install

Posted: Sun May 28, 2006 7:15 pm
by dcross
Piratos wrote:
if you change something with the smarty configuration you must delete the cache
Ok.  Can you tell me where this cache is located so it can be cleared.

Regards.

Re: Smarty Errors on install

Posted: Sun May 28, 2006 8:25 pm
by Dr.CSS
goto  Site Admin » Global Settings little button says CLEAR....

  mark