Smarty Errors on install

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Lector
Forum Members
Forum Members
Posts: 65
Joined: Tue Aug 16, 2005 2:04 pm

Re: Smarty Errors on install

Post 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  :-\
cyberman

Re: Smarty Errors on install

Post 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  :-\.
dcross

Re: Smarty Errors on install

Post 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.
Piratos

Re: Smarty Errors on install

Post 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;
dcross

Re: Smarty Errors on install

Post 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.
Piratos

Re: Smarty Errors on install

Post 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.
dcross

Re: Smarty Errors on install

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Smarty Errors on install

Post by Dr.CSS »

goto  Site Admin » Global Settings little button says CLEAR....

  mark
Locked

Return to “[locked] Installation, Setup and Upgrade”