今天手动装PS3.1,出问题了..
Fatal error: Only variables can be passed by reference in D:\web\stats\includes\class_table.php on line 212以下是212的内容
$c = array_pop(array_keys($cols, $key)); // which column index matches the $key
下面是大范围的
// inserts a new column before or after the key specified
function insert_columns($col, $key = null, $after = false) {
if ($key !== null and array_key_exists($key, $this->columns)) {
$newcols = array();
$curcols = array_values($this->columns);
$cols = array_keys($this->columns);
$c = array_pop(array_keys($cols, $key)); // which column index matches the $key
if ($after) $c++;
for ($i=0; $i < $c; $i++) { // keep preceeding columns
$newcols[ $cols[$i] ] = $curcols[$i];
}
$newcols = array_merge($newcols, $col);// insert new columns
while ($i < count($curcols)) { // add remaining columns
$newcols[ $cols[$i] ] = $curcols[$i];
$i++;
}
$this->columns = $newcols;
#print_r($this->columns);
} else {
// add new columns to the end
$this->columns = array_merge($this->columns, $col);
}
}
那位高手帮帮忙啊
回复: 今天手动装PS3.1,出问题了..
不要怀疑源程序的问题,因为大部分人安装成功了,从环境上、配置上找原因。
页:
[1]