drupal php 5.2 upgrade to php 5.5

回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

drupal php 5.2 upgrade to php 5.5

文章 yehlu »

1.uograde view2 to view3

http://drupal.stackexchange.com/questio ... with-views
https://www.drupal.org/project/views

代碼: 選擇全部

cd sites/all/modules/contrib
wget https://ftp.drupal.org/files/projects/views-7.x-3.14.zip
mv views views.old
unzip views-7.x-3.14.zip
2.fix PHP strict warning in ctools_content_render
https://www.drupal.org/node/978676

vi ctools/includes/content.inc

代碼: 選擇全部

if (empty($content)) {
  return;
}
3.warning: strtr() expects parameter 1 to be string, array given in /var/www/seeds.tw/includes/common.inc on line 976.

代碼: 選擇全部

   if(!is_array($value)){
   }
回覆文章

回到「PHP」