Page 1 of 1

[SOLVED] Problem with installing cmsms on a Windows server

Posted: Thu Dec 20, 2007 5:35 pm
by arcam
Greetings,
I'm trying to set up a cmsms installation on a Windows NT server for a client. Now, I read that cmsms isn't supposed to work on Windows NT, but the trouble is that my client already paid for the webhosting with the company, and the website has already been created using cmsms. All there is to do is migrate the existing installation on the hosting server... :s

I have some troubles setting it up, seems like a problem with smarty on Windows NT (templates don't compile when smarty is loaded, the tmp directories stay empty). Yes, I have checked the rights on those directories, and they're set to 777.

I wanted to ask if someone already had this problem, and if there is a patch I could apply/make to make it work?

Thanks a lot!

Re: Problem with installing cmsms on a Windows server

Posted: Thu Dec 20, 2007 5:43 pm
by arcam
Here is the error I get (repeatedly):
C:\...\httpdocs\tmp\templates_c\%%C4^C43^C43F3191%%installer_start.tpl.php
Warning: fetch(C:\...\httpdocs\tmp\templates_c\%%C4^C43^C43F3191%%installer_start.tpl.php): failed to open stream: No such file or directory in C:\...\httpdocs\lib\smarty\Smarty.class.php on line 1260
Which is normal, considering that templates_c is empty but for an index.html file.

Same kind of message when I try the debug mode.

Re: Problem with installing cmsms on a Windows server

Posted: Fri Dec 21, 2007 3:17 pm
by Ted
This came up the other day with someone else on IRC.  I believe it ended up being related to permissions on the tmp directory and it's children.  When it doubt, give "Everyone" read and write permission on the tmp directoy and start locking it back down after you see that it's working...

Re: Problem with installing cmsms on a Windows server

Posted: Fri Dec 21, 2007 5:25 pm
by wilfried
Try this:

open Smarty.class.php  and change line (by me it is 1760) to this:

$_return .= '__' . $_crc32 . '__' . $_filename;

Re: Problem with installing cmsms on a Windows server

Posted: Sat Dec 22, 2007 2:43 pm
by arcam
Thanks for the help. :)
I was due to persmissions on the tmp/ directory. I thought of that the the beginning, and tried to fix it manually, but the only access I had was with Plesk and it didn't work. I finally got a response from the hosting company admin, and now it's working.