我准备从2.5升级到3.3,按照官网要求的步骤做,在升级时遇到以下错误提示,请朋友们帮助解决。
ray('tagname'=>$tagname, 'nums'=>$nums)); return UC_CONNECT == 'mysql' ? $return : uc_unserialize($return); } function uc_avatar($uid, $type = 'virtual', $returnhtml = 1) { $uid = intval($uid); $uc_input = uc_api_input("uid=$uid"); $uc_avatarflash = UC_API.'/images/camera.swf?inajax=1&appid='.UC_APPID.'&input='.$uc_input.'&agent='.md5($_SERVER['HTTP_USER_AGENT']).'&ucapi='.urlencode(str_replace('http://', '', UC_API)).'&avatartype='.$type.'&uploadSize=2048'; if($returnhtml) { return ' '; } else { return array( 'width', '450', 'height', '253', 'scale', 'exactfit', 'src', $uc_avatarflash, 'id', 'mycamera', 'name', 'mycamera', 'quality','high', 'bgcolor','#ffffff', 'menu', 'false', 'swLiveConnect', 'true', 'allowScriptAccess', 'always' ); } } function uc_mail_queue($uids, $emails, $subject, $message, $frommail = '', $charset = 'gbk', $htmlon = FALSE, $level = 1) { return call_user_func(UC_API_FUNC, 'mail', 'add', array('uids' => $uids, 'emails' => $emails, 'subject' => $subject, 'message' => $message, 'frommail' => $frommail, 'charset' => $charset, 'htmlon' => $htmlon, 'level' => $level)); } function uc_check_avatar($uid, $size = 'middle', $type = 'virtual') { $url = UC_API."/avatar.php?uid=$uid&size=$size&type=$type&check_file_exists=1"; $res = uc_fopen2($url, 500000, '', '', TRUE, UC_IP, 20); if($res == 1) { return 1; } else { return 0; } } function uc_check_version() { $return = uc_api_post('version', 'check', array()); $data = uc_unserialize($return); return is_array($data) ? $data : $return; } ?>); if($this->stack) { $this->document = &$this->stack[count($this->stack)-1]; } } } ?>
|