PDA

View Full Version : Upgrade ??


werehere
Tue 2nd May '00, 12:12am
Since there was no mention of shutting the forum down to upgrade, I am wondering if I have to?

And then I jsut run the upgrade script and it will do the rest?

And I am sure you have this built in there somewhere, but I have to ask. This will not override any of my templates if I dont want it to right?

Thanks.

John
Tue 2nd May '00, 4:30am
More detailed upgrade instructions have now been put on the members page.

John

werehere
Tue 2nd May '00, 5:10am
Damn that was easy, and no errors or problems with the upgrade at all. The forum is completely VB now, and I love it:)

Unfortunetely the escaping of the "'" is still there, only difference is that it only has one "/" instead of 2,4,6 or more:)


Any thoughts on how to fix that?

Great upgrade script though, fully automated.

werehere
Tue 2nd May '00, 5:13am
What about listing my site with the others that are on the vb page now that it is up and running?:)

John
Tue 2nd May '00, 5:52am
Email James if you want to be listed on the home page. I'm sure he would be happy to add you.

james@vbulletin.com

John

werehere
Tue 2nd May '00, 5:58am
Thank you, and I will:)

Any idea on the escaping problem listed above? Or should I move this to bugs?

John
Tue 2nd May '00, 6:14am
Oh I missed that error...

And there was me sitting there happy thinking that I had got that buggie. :(

OK, open options.php in the admin directory and look for this code (line 540). Replace it with this:


// ###################### Start set options #######################
if ($action=="dooptions") {

while (list($key,$val)=each($newoption)) {
if (get_magic_quotes_gpc()==1) {
$val=stripslashes($val);
}
$val=str_replace("\$","\\\$",$val);
$val=str_replace("\"","\\\"",$val);
$opttemp.="\$$key = \"$val\";\n";
}


This should not affect many people - it will only be a problem if you have a single quote ' in use in the general settings control panel, and you have magic_quotes_gpc setting in PHP turned on.

Thanks,
John

werehere
Tue 2nd May '00, 6:33am
TTHHAANNKK YYOOUU SSOO MMUUCCHH!!

It worked.