1 頁 (共 1 頁)

drupal php 5.2 upgrade to php 5.5

發表於 : 2016-07-24 15:26:14
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)){
   }