Quote:
|
Originally Posted by fasteddie I uploaded ALL the files from the PhotoPost 5.12 zip file, and I went to upgrade.php but when I click on 4.85/4.86 to upgrade, it just refreshes the same page and I never get to any new new steps to complete the upgrade. I did a search and didn't find this problem in the forums here.
I'm running vB 3.0.7 and PhotoPost PHP 4.86 vB3 Enhanced right now. I'd really like to upgrade to 5.12 as soon as possible! Thanks! |
This has to do with the upgrade.php not receiving any parameters like "upgrade=29" for me with reviewpost upgrade. I am having this problem also and I've also had this problem in the past with your upgrade scripts. There must be some PHP setting that is different in the upgrade script compared to all the other scripts that is preventing the parameters from being passed into the script. Maybe something in this block of code?:
$magic = get_magic_quotes_gpc();
// Register the global variables
if (is_array($HTTP_GET_VARS)) {
while(list($key,$value) = each($HTTP_GET_VARS)) {
if ($magic) {
$value = stripslashes($value);
}
${$key} = $value;
}
}
Note that my php.ini has:
; You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
register_globals = Off
Might I need to turn them on for this upgrade script?