青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

Benjamin

靜以修身,儉以養德,非澹薄無以明志,非寧靜無以致遠。
隨筆 - 398, 文章 - 0, 評論 - 196, 引用 - 0
數據加載中……

bugfree在win7(64位)平臺的搭建

BugFree是借鑒微軟的研發流程和Bug管理理念,使用PHP+MySQL獨立寫出的一個Bug管理 系統。簡單實用、免費并且開放源代碼(遵循GNU GPL)。
Bugfree的安裝:引用文檔http://www.cnblogs.com/emilyzhang68/archive/2011/08/24/2152433.html ,下面是對該文檔的補充說明:
以管理員身份安裝xampp,安裝到尾聲的時候會詢問是否設置為服務(方便每次開機自動運行),選擇Yes。
接著,xampp的設置腳本會啟動,完成后提示是否成功。最后提示是否現在啟動xampp control panel。點擊Yes,出現下圖:

我使用的是xampp-win32-1.8.2-3-VC9-installer,如果apache為啟動,如果是80端口被占用,直接改端口,鼠標點擊上面的config按鈕,打開相應的conf文件修改其他端口,然后重啟服務。
如果已經安裝過mysql、php等,請不要勾選,否則會出現問題。 Openssl也不是必須安裝的,如果使用https,必須要安裝openssl,openssl的64位要自己編譯,采用vs的64位命令行工具,首先要下載ActivePerl,可到http://www.activestate.com/ActivePerl,再下載openssl;用vs的64位命令行工具,切換到openssl的目錄下,執行下面的命令:perl Configure VC-WIN64A  ms\do_win64a nmake -f ms\ntdll.mak,切記要使用vs64位命令行工具。如下圖所示:

安裝xampp后,將bugfree的安裝包解壓到xampp的htdocs目錄下,完整的目錄是 C:\xampp\htdocs\bugfree,將bugfree目錄下的Config.inc.Sample.php復制一份,改名為Config.inc,其中,25行以下這幾行是關于數據庫的設置,如果安裝過mysql,在這里設置一下數據庫連接的密碼、用戶名等 /* 3. Define the username and password of the BugFree database. */ $_CFG['DB']['User'] = 'root'; $_CFG['DB']['Password'] = '1234'; $_CFG['DB']['Host'] = 'localhost'; $_CFG['DB']['Database'] = 'bugfree2'; $_CFG['DB']['TablePrefix'] = 'bf_'; $_CFG['DBCharset'] = 'UTF8';
如果安裝過mysql,出現上面的mysql數據庫未激活,不用理會,但是上面的數據庫連接設置參數一定要設置,否則無法安裝bugfree。


訪問https://localhost/xampp/bugfree,如果報以下錯誤:Fatal error: Call-time pass-by-reference has been removed in,意思是調用時引用傳參已經被移除了,
就是不能通過function(&$a)這種方式傳參調用函數. 以前的php代碼在升級到5.4版本的php可能會出現這種錯誤:改正方法,調用時直接傳參就行了: foo($var) .這個錯誤出現的文件名:include下的class目錄的XmlParse.classphp,一下是我修改過的php文件。
  1 <?php
  2 error_reporting(E_ERROR | E_PARSE); 
  3 
  4 function & XML_unserialize(&$xml){    
  5     $xml_parser = new XML();    
  6     $data = &$xml_parser->parse($xml);    
  7     $xml_parser->destruct();    
  8     return $data;    
  9 }    
 10 
 11 function & XML_serialize(&$data$level = 0, $prior_key = NULL){    
 12     if($level == 0){ ob_start(); echo '<?xml version="1.0" ?>',"\n"; }    
 13     while(list($key$value) = each($data))    
 14         if(!strpos($key, ' attr')) #if it's not an attribute   
 15             #we don't treat attributes by themselves, so for an emptyempty element    
 16             # that has attributes you still need to set the element to NULL    
 17   
 18             if(is_array($value) and array_key_exists(0, $value)){    
 19                 XML_serialize($value$level$key);    
 20             }else{    
 21                 $tag = $prior_key ? $prior_key : $key;    
 22                 echo str_repeat("\t", $level),'<',$tag;    
 23                 if(array_key_exists("$key attr", $data)){ #if there's an attribute for this element   
 24                     while(list($attr_name$attr_value) = each($data["$key attr"]))   
 25                         echo ' ',$attr_name,'="',htmlspecialchars($attr_value),'"';   
 26                     reset($data["$key attr"]);   
 27                 }   
 28  
 29                 if(is_null($value)) echo " />\n";   
 30                 elseif(!is_array($value)) echo '>',htmlspecialchars($value),"</$tag>\n";   
 31                 else echo ">\n",XML_serialize($value$level+1),str_repeat("\t", $level),"</$tag>\n";   
 32             }   
 33     reset($data);   
 34     if($level == 0){ $str = &ob_get_contents(); ob_end_clean(); return $str; }   
 35 }   
 36 
 37 class XML{    
 38     var $parser;   #a reference to the XML parser    
 39     var $document#the entire XML structure built up so far    
 40     var $parent;   #a pointer to the current parent - the parent will be an array    
 41     var $stack;    #a stack of the most recent parent at each nesting level    
 42     var $last_opened_tag#keeps track of the last tag opened.    
 43   
 44     function XML(){    
 45          $this->parser = &xml_parser_create();    
 46         xml_parser_set_option($this->parser, XML_OPTION_CASE_FOLDING, false);    
 47         xml_set_object($this->parser, $this);    
 48         xml_set_element_handler($this->parser, 'open','close');    
 49         xml_set_character_data_handler($this->parser, 'data');    
 50     }    
 51     function destruct(){ xml_parser_free($this->parser); }    
 52     function & parse(&$data){    
 53         $this->document = array();    
 54         $this->stack    = array();    
 55         $this->parent   = &$this->document;    
 56         return xml_parse($this->parser, $datatrue) ? $this->document : NULL;    
 57     }    
 58     function open(&$parser$tag$attributes){    
 59         $this->data = ''; #stores temporary cdata    
 60         $this->last_opened_tag = $tag;    
 61         if(is_array($this->parent) and array_key_exists($tag,$this->parent)){ #if you've seen this tag before   
 62             if(is_array($this->parent[$tag]) and array_key_exists(0,$this->parent[$tag])){ #if the keys are numeric   
 63                 #this is the third or later instance of $tag we've come across    
 64                 $key = count_numeric_items($this->parent[$tag]);    
 65             }else{    
 66                 #this is the second instance of $tag that we've seen. shift around   
 67                 if(array_key_exists("$tag attr",$this->parent)){   
 68                     $arr = array('0 attr'=>&$this->parent["$tag attr"], &$this->parent[$tag]);   
 69                     unset($this->parent["$tag attr"]);   
 70                 }else{   
 71                     $arr = array(&$this->parent[$tag]);   
 72                 }   
 73                 $this->parent[$tag] = &$arr;   
 74                 $key = 1;   
 75             }   
 76             $this->parent = &$this->parent[$tag];   
 77         }else{   
 78             $key = $tag;   
 79         }   
 80         if($attributes$this->parent["$key attr"] = $attributes;   
 81         $this->parent  = &$this->parent[$key];   
 82         $this->stack[] = &$this->parent;   
 83     }   
 84     function data(&$parser$data){   
 85         if($this->last_opened_tag != NULL#you don't need to store whitespace in between tags    
 86             $this->data .= $data;    
 87     }    
 88     function close(&$parser$tag){    
 89         if($this->last_opened_tag == $tag){    
 90             $this->parent = $this->data;    
 91             $this->last_opened_tag = NULL;    
 92         }    
 93         array_pop($this->stack);    
 94         if($this->stack) $this->parent = &$this->stack[count($this->stack)-1];    
 95     }    
 96 }    
 97 function count_numeric_items(&$array){    
 98     return is_array($array) ? count(array_filter(array_keys($array), 'is_numeric')) : 0;    
 99 } 
100 
101 ?>
102 
錯誤:php Only variables should be passed by reference in,參數是引用傳遞的,5.3以上默認只能傳遞具體的變量,而不能通過函數返回值 原來代碼:$ProjectInfo = array_pop(testGetProjectList("ProjectID = '{$ProjectID}'")); 改正后的------ FuncModel.inc.php 46行 $Result = testGetProjectList("ProjectID = '{$ProjectID}'"); $ProjectInfo = array_pop($Result);
 

posted on 2013-12-21 23:11 Benjamin 閱讀(2235) 評論(0)  編輯 收藏 引用 所屬分類: 雜談

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            午夜综合激情| 国产亚洲精品bt天堂精选| 欧美一区午夜精品| 亚洲精品欧美一区二区三区| 久久久国产精品一区| 亚洲视频在线免费观看| 亚洲国产精品成人一区二区| 国产欧美日韩一级| 欧美日韩午夜视频在线观看| 免费成人黄色| 久久精品亚洲热| 欧美一二三视频| 中国av一区| 99re视频这里只有精品| 欧美成人午夜77777| 久久久国产亚洲精品| 亚洲欧美精品一区| 亚洲香蕉网站| 一区二区久久| 99人久久精品视频最新地址| 亚洲精品一品区二品区三品区| 激情久久综艺| 国产在线精品成人一区二区三区| 国产精品激情av在线播放| 欧美精品网站| 欧美日本一区二区三区| 欧美精品123区| 欧美高清hd18日本| 欧美成人午夜激情在线| 免费日韩精品中文字幕视频在线| 久久久久一区二区三区四区| 久久国产精品亚洲77777| 欧美一区二区三区日韩视频| 午夜精品亚洲| 欧美一级网站| 久久电影一区| 久久另类ts人妖一区二区| 久久激情视频久久| 久久这里只精品最新地址| 久久久综合网站| 欧美sm极限捆绑bd| 欧美另类在线观看| 欧美午夜精品久久久久免费视| 欧美日韩视频在线第一区| 欧美午夜电影完整版| 国产精品亚洲综合天堂夜夜| 国产精品综合av一区二区国产馆| 国产精品永久| 国产一区二区精品久久91| 一区一区视频| 亚洲伦理自拍| 亚洲午夜视频| 久久久久久久999| 亚洲电影免费观看高清| 亚洲国产视频直播| 亚洲天堂成人在线观看| 欧美一区91| 欧美va亚洲va香蕉在线| 欧美日韩精品福利| 国产精品永久入口久久久| 红桃视频欧美| 一本色道久久综合狠狠躁篇的优点| 亚洲视频在线一区| 久久久久综合一区二区三区| 亚洲福利免费| 中日韩在线视频| 欧美一区二区啪啪| 欧美成人午夜视频| 国产精品久久久久久超碰 | 理论片一区二区在线| 亚洲电影自拍| 亚洲一区二区三区中文字幕 | 久久人91精品久久久久久不卡| 欧美成年人网站| 日韩视频在线一区二区三区| 亚洲欧美日韩精品久久亚洲区 | 欧美先锋影音| 黄色av日韩| 亚洲中无吗在线| 欧美电影免费观看| 中文有码久久| 免费视频一区二区三区在线观看| 欧美日韩亚洲激情| 国内精品久久久久影院优| 亚洲狼人精品一区二区三区| 欧美一区二区在线免费观看| 亚洲国产精品第一区二区| 亚洲欧美精品在线| 欧美日产一区二区三区在线观看 | 久久精品一区二区三区四区| 欧美国产专区| 在线播放精品| 亚欧成人在线| 日韩视频在线观看一区二区| 久久天堂av综合合色| 国产精品一区二区三区久久| 一本色道久久综合狠狠躁篇怎么玩 | 国产精品视频福利| 夜夜嗨av一区二区三区四区| 裸体一区二区三区| 亚洲免费在线观看| 欧美日韩在线不卡一区| 亚洲国产精品女人久久久| 久久精品国产一区二区三区免费看 | 国内精品久久久久久久97牛牛| 亚洲网在线观看| 亚洲国产精品女人久久久| 香蕉免费一区二区三区在线观看 | 99xxxx成人网| 免费观看日韩| 在线亚洲自拍| 久久久久免费| 国产日韩精品在线| 一区二区三区精品视频在线观看| 久久久久欧美| 亚洲性xxxx| 欧美理论片在线观看| 91久久黄色| 久久综合一区二区| 亚洲免费在线精品一区| 欧美日韩精品免费观看视频完整| 国内揄拍国内精品久久| 亚洲视屏在线播放| 日韩亚洲成人av在线| 免费视频亚洲| 亚洲电影网站| 久久女同精品一区二区| 99视频+国产日韩欧美| 欧美日韩精品一区二区天天拍小说| 伊人影院久久| 久久综合中文色婷婷| 亚洲欧美视频一区二区三区| 欧美三级日本三级少妇99| 亚洲性色视频| 亚洲理论在线观看| 欧美激情免费在线| 亚洲欧洲在线免费| 欧美风情在线观看| 欧美激情久久久久| 亚洲精品免费网站| 久久乐国产精品| 久久国产手机看片| 国内精品久久久| 久久久综合网| 久久女同精品一区二区| 在线观看国产日韩| 免费人成网站在线观看欧美高清| 久久久九九九九| 精品动漫一区| 欧美高清在线视频| 欧美成人a视频| 亚洲精品欧洲| 亚洲激情成人| 国产精品久久久久久久电影| 亚洲一区二区三区免费在线观看| 亚洲免费大片| 国产精品福利av| 久久久综合网| 老司机aⅴ在线精品导航| 91久久中文| 亚洲精品美女久久久久| 国产精品久久久久久久久久三级| 亚洲欧美日韩一区在线| 亚洲欧美日韩国产成人| 国产欧美日韩一区二区三区在线| 欧美在线欧美在线| 欧美影院视频| 影音先锋亚洲精品| 亚洲高清视频一区| 欧美揉bbbbb揉bbbbb| 国产精品99久久久久久久女警 | 免费在线观看精品| 一本一本久久| 亚洲一区尤物| 国产视频自拍一区| 久久久久免费| 欧美精品免费在线观看| 亚洲欧美三级在线| 久久婷婷久久| 亚洲午夜精品17c| 午夜在线a亚洲v天堂网2018| 国产一区二区三区在线观看视频 | 亚洲国产精品一区在线观看不卡| 欧美日韩在线播放三区四区| 亚洲男女毛片无遮挡| 欧美在线视屏 | 亚洲视频一区二区| 欧美一区二视频| 黄色成人免费网站| 一区二区三区四区精品| 精品成人在线| 一区二区欧美精品| 伊人影院久久| 欧美亚洲在线视频| 日韩视频在线一区二区| 亚洲欧美另类中文字幕| 亚洲国产视频直播| 亚洲精品资源美女情侣酒店| 亚洲国产精品久久久久婷婷884 | 一区二区精品国产|