FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Update problems from 2.0.2 to 2.2
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Update problems from 2.0.2 to 2.2 [message #3721 is a reply to message #3720] Thu, 04 July 2002 19:07 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
Okie, I think somewhere during this process the upgrade script 'gained' \r. Windows tends to add that to what it thinks are text files. We do have a handler for that, which involved having some binary data at the top of the file, which tricks programs into thinking it is a binary file and not adding \r to the file.
However, it would appear that either Power Archiver or your FTP client ignored this directive and added \r.

You can check who it at fault, by getting an MD5 of the decompressed upgrade.php before uploading it. If the MD5 is not 82f110acd47c8656c385d4c7f8844649, it is 'Power Archiver' who it at fault.

The solution to your problem is to remove the \r, which are found inside the upgrade.php. You can do it with the following script:

<?php
$fp = fopen("file_name", "rb");
$file_data = fread($fp, filesize("file_name"));
fclose($fp);

$file_data = str_replace("\r", "", $file_data);

$fp = fopen("file_name", "wb");
fwrite($fp, $file_data);
fclose($fp);


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: error
Next Topic: step 2 on instalation
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 09:24:05 GMT 2024

Total time taken to generate the page: 0.04434 seconds