WinNT Install Probs [message #517] |
Fri, 15 February 2002 22:35  |
jkrische2
 Messages: 32 Registered: February 2002 Location: Topeka, KS
Karma: 0
|
Member |
|
|
Hi All...
Kudos for a great looking and acting forum. Like it enough to try it!
Trying to set this thing up on an NT4/IIS4 box and getting some undefined variable errors in install.php when viewed in-browser via http. I press on an enter data anyway, but by the time I get to step 3 I'm getting a bunch of "cannot create file" errors, which I'm guessing is tied to the undefined variable problem. All of these undefined var's are path related, and I've no idea how to fix it for an NT box (could do it in any Linux in a snap, but such is not available at this client). I've set the server's doc root in php.ini to, well, the server's wwwroot folder (same folder IIS itself considers "root"), and am using full paths, not relative.
Anybody have any thoughts? Specific undefined vars in install.php are: "section", "DOCUMENT_ROOT", "WWW_ROOT" and "FORUM_WWW_ROOT".
|
|
|
Re: WinNT Install Probs [message #518 is a reply to message #517] |
Fri, 15 February 2002 22:38   |
Ilia
 Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
jkrische2 wrote on Fri, 15 February 2002 5:35 PM | Hi All...
Kudos for a great looking and acting forum. Like it enough to try it!
Trying to set this thing up on an NT4/IIS4 box and getting some undefined variable errors in install.php when viewed in-browser via http. I press on an enter data anyway, but by the time I get to step 3 I'm getting a bunch of "cannot create file" errors, which I'm guessing is tied to the undefined variable problem. All of these undefined var's are path related, and I've no idea how to fix it for an NT box (could do it in any Linux in a snap, but such is not available at this client). I've set the server's doc root in php.ini to, well, the server's wwwroot folder (same folder IIS itself considers "root"), and am using full paths, not relative.
Anybody have any thoughts? Specific undefined vars in install.php are: "section", "DOCUMENT_ROOT", "WWW_ROOT" and "FORUM_WWW_ROOT".
|
Question? Which release did you try? 1.1.1? 1.1.1 is not easy to install on windows, if you are interested in a windows' install you should try the latest development release dev-20020215 also available on the download page.
FUDforum Core Developer
[Updated on: Fri, 15 February 2002 22:38] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Re: WinNT Install Probs [message #531 is a reply to message #530] |
Sat, 16 February 2002 02:54   |
Ilia
 Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
When you try to re-install the forum, be sure the use the install script I've attached in the previous message.
P.S. i've looked at the phpinfo, and indeed IIS does not seem to export the DOCUMENT_ROOT variable, hopefuly the hack I've added in the attached install script will solve this.
FUDforum Core Developer
[Updated on: Sat, 16 February 2002 02:55] Report message to a moderator
|
|
|
|
|
Re: WinNT Install Probs [message #534 is a reply to message #517] |
Sat, 16 February 2002 03:36   |
jkrische2
 Messages: 32 Registered: February 2002 Location: Topeka, KS
Karma: 0
|
Member |
|
|
Oops, spoke too soon...
now getting a mysql error. This is under devel release plus your install sanpshot:
Failed to import default data (INSERT INTO fud_forum VALUES (1,1,'TestForum',NULL,'N',NULL,'Y','N','N','N','Y','N','N',NULL,'ML',0,0,0, 0,1,'N','Y','Y','Y',1024,1,'Y',NULL)) into table def_forum, SQL Reason: Column count doesn't match value count at row 1
Ok, there's a missing value or values - but which one(s)?
|
|
|
Re: WinNT Install Probs [message #535 is a reply to message #534] |
Sat, 16 February 2002 03:37   |
Ilia
 Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
jkrische2 wrote on Fri, 15 February 2002 10:36 PM | Oops, spoke too soon...
now getting a mysql error. This is under devel release plus your install sanpshot:
Failed to import default data (INSERT INTO fud_forum VALUES (1,1,'TestForum',NULL,'N',NULL,'Y','N','N','N','Y','N','N',NULL,'ML',0,0,0, 0,1,'N','Y','Y','Y',1024,1,'Y',NULL)) into table def_forum, SQL Reason: Column count doesn't match value count at row 1
Ok, there's a missing value or values - but which one(s)?
|
Give me a moment, I'll prep a fix. I beleive we modified the fud_forum table structure and this query doesn't correspond anymore.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: WinNT Install Probs [message #574 is a reply to message #572] |
Mon, 18 February 2002 17:06   |
Ilia
 Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
jkrische2 wrote on Mon, 18 February 2002 12:03 PM |
prottoss wrote on Mon, 18 February 2002 10:37 AM | There appears to be a problem with file attachments.
I've attached tried to attach a file to my message, however due to an error that file was not saved it would seem.
Could you please tell me what do you have inside your FILE_STORE variable of GLOBALS.php?
|
Looks like there were some bad slashes in there, here is what I have now (& please retry an attachment):
$INCLUDE = "D:\Inetpub\wwwroot\forums_HOTC_com\include\"; $WWW_ROOT = "http://forums.sysop.com/"; $ERROR_PATH = "D:\Inetpub\wwwroot\forums_HOTC_com\errors\"; $MSG_STORE_DIR = "D:\Inetpub\wwwroot\forums_HOTC_com\messages\"; $TMP = "D:\Inetpub\wwwroot\forums_HOTC_com\tmp\"; $FILE_STORE = "D:\Inetpub\wwwroot\forums_HOTC_com\files\";
|
I see the problem...
In windows when using php you MUST enter paths like this:
D:\\mypath\\fdsfa\\fsadfsadf\etc\\
Otherwise the path will not be parsed correctly 
Everywhere you have \ in the path you need to change it to \\ otherwise you'll have problems. Because \ is normally an escape character, by using \\ you make it escape itself and thus use \ when it actually needs to use the path.
FUDforum Core Developer
[Updated on: Mon, 18 February 2002 17:07] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|