FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31555&th=6494#msg_31555
Install.php script fails after step one- After clicking ‘next’, page pauses for a minute or two, I then get the general IE error “The page cannot be displayed... Cannot find server or DNS Error” but no useful information.
Originally I tried to install v2.7.4, but got the WWW_ROOT_CHECK error. I uncommented that line to bypass that check, then it looked like it was working or something was happening at least, but then it failed as described above.
I then tried to install version 2.7.3. This one didn’t fail the WWW_ROOT_CHCEK test, but the same failure happened.
This is being run on Windows 2003 server, php 5.1.2, iis 6.
I’ve seen mentions of making sure the install script was downloaded as binary, not ascii. How would I verify this? From the download site, I did ‘save as’ and saved to the desktop; from there I used winzip to unzip it. Was that the correct way?
I’m logging all php error messages, and getting none.
For a while I thought it might be a permissions issue, as I had to give ‘network service’ permission to read php_mysql.dll to even get to step 1, and I think I’ve set all the permissions I have to. I guess it still could be this, but I doubt it.
I’ve gone through php.ini to make sure everything is set correctly, and I think it is, but I could have missed something.
Any suggestions would be greatly appreciated.
Thanks
Tim
]]>tstevens2006-05-06T21:22:14-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31556&th=6494#msg_31556
Ilia2006-05-06T21:33:56-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31557&th=6494#msg_31557
That definitely helped, I’m a little closer but am at a different error message.
This version initially failed the www_root_check test as the previous versions did, so I did the workaround. A caveat to that- just uncommenting that line didn’t do the trick, so in addition to that I changed the line "if (fud_ini_get('allow_url_fopen'))" to "if (0)". From what I can tell, this is an equivalent workaround. Let me know if I’m mistaken.
Anyway, the current error message I’m getting is the “Archive did not pass checksum test, CORRUPT ARCHIVE” message.
I’m downloading this to my desktop (got the same result with zlib compression and without), then using winzip to extract it, then dragging it to the correct location. Is this the correct way to do it, or does winzip corrupt it somehow? Since I'm installing if from the same machine I downloaded it from, should this even be an issue?
I did some debugging, and I noticed this: In install.php, when I changed the return value for ‘decompress_archive’ to display the values md5($data) and $checksum, I saw two things of interest: 1) a value did not display at all for $checksum, and 2) each time I changed something in install.php, md5($data) was something different. This makes sense, but would this cause a problem because of the previous hack (bypassing www_root_check)?
If there’s any more information you’d need, or any additional debugging I could do, please let me know.
Thanks
]]>tstevens2006-05-06T23:07:55-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31561&th=6494#msg_31561
There are two possible solutions:
1) Into the install directory put .htaccess file that says php_flag allow_url_fopen 0
2) Tell your editor to not convert line endings, most editors have such an option.]]>Ilia2006-05-07T16:44:12-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31562&th=6494#msg_31562
Since I’m sure the line ending thing isn’t an issue (because of hexedit), could I bypass that check, or will that cause issues later in the install?
]]>tstevens2006-05-08T02:31:39-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31573&th=6494#msg_31573
Ilia2006-05-08T14:21:36-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31579&th=6494#msg_31579
Correct me if I'm wrong about this, but I don't think I'm using an FTP client. I save the zip to the desktop, extract the files, and run the install file from the same windows machine I downloaded it to in the first place.
I hope I don't sound like an idiot about this, but my knowledge of FTP/compression/anything above layer 3 of the osi model is fairly limited.
]]>tstevens2006-05-08T20:45:10-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31600&th=6494#msg_31600
Ilia2006-05-09T22:08:25-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31612&th=6494#msg_31612
I'm still getting that compression error, but the odd part is that now, with that flag set to 0, I don't have to comment out that line in the install file to get to where it tells me there's a compression error.
So, I'm still getting the compression error, after not editing the install file at all.
]]>tstevens2006-05-10T01:14:47-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31626&th=6494#msg_31626
Ilia2006-05-10T13:01:50-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31630&th=6494#msg_31630
I did a diff with the .tar and the .zip versions, and they are identical.
I'll echo Stoffel's question, is there a way to get the uncompressed version so this isn't an issue?
]]>tstevens2006-05-10T17:38:46-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31682&th=6494#msg_31682
Ilia2006-05-11T21:18:09-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31755&th=6494#msg_31755
when I go throught the Step 1, I have got the HTTP 500 ERROR.
PS: Windows2003 IIS 6.0 + PHP 5.14]]>CcChen2006-05-16T16:31:06-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31764&th=6494#msg_31764
I tried veersion 2.7.4 and 2.7.5RC1, the problem still take place! How to resolve it?
Windows XP + Apache 1.3.34 / PHP 5.1.2 (as apache module)]]>user_062006-05-17T10:00:37-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31765&th=6494#msg_31765
ggray2006-05-17T10:07:29-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31766&th=6494#msg_31766
user_062006-05-17T10:55:04-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31767&th=6494#msg_31767
All of the issues I was seeing before seem to go away; the installation completes, and I can log on to the forum.
Thanks much to Ilia for all the help with this process, and to whichever developers released RC2.
]]>tstevens2006-05-17T11:49:54-00:00Re: Install script fails after step 1
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31768&th=6494#msg_31768
tstevens wrote on Wed, 17 May 2006 07:49
2.7.5RC2 works.
confirmed!
but, for the first time i've run the install.php, the error described above has occuren.
Later, ALL OK!!!]]>user_062006-05-17T12:09:02-00:00