Re: rc3 upgrade from postnuke

Brook Humphrey <[email protected]>
Newsgroups gmane.comp.web.envolution.devel
Organization Mobile PC Medic
Message-ID <[email protected]>
On Friday 23 August 2002 07:49 am, Brook Humphrey wrote:
> When I get to the part asking what I want to upgrade from and click
> postnuke it just puts me back at the beging of the install asking for the
> language.

Found the problem the install.php reads this:

    case "PostNuke .7":
         $dbconn = dbconnect($dbhost, $dbuname, $dbpass, $dbname, $dbtype);
         do_upgrade7($dbhost, $dbuname, $dbpass, $dbname, $prefix, $dbtype);
         print_success();
         break;


and the gui php reads this:

function print_upgrade() {

   echo   "
<font class=\"pn-title\">"._UPGRADE_1."</font><font 
class=\"pn-normal\">"._UPGRADE_2."<br /><br />
<form action=\"install.php\" method=\"post\"><table width=\"50%\"><tr 
align=\"center\"><td>";

   print_form_hidden();

   echo   "
<input type=\"submit\" name=\"op\" value=\"PostNuke\"></td><td>
</table></form></center></font>
<center>
<b>Warning</b><p>".
_UPGRADETAKESALONGTIME
. "</center>
";
}




this line 
<input type=\"submit\" name=\"op\" value=\"PostNuke\"></td><td>

should read this 

<input type=\"submit\" name=\"op\" value=\"PostNuke .7\"></td><td>


or else the install php will never find the case.


-- 
 -~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-
                                      Brook Humphrey           
        Mobile PC Medic, 420 1st, Cheney, WA 99004, 509-235-9107        
http://www.webmedic.net, [email protected], [email protected]   
                                 Holiness unto the Lord
 -~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.