Namespace declaration statement has to be the very first statement in the script我在本地測試沒問題了放上服務器就提示這個錯誤。?<?php namespace common\modules\post\models;use Yii;use yii\db\ActiveRecord;use yii\behaviors\TimestampBehavior;use common\modules\user\models\User;namespace得是第一個語句我也沒錯呀,到linux下怎么報錯了
- 2 回答
- 0 關注
- 1188 瀏覽
添加回答
舉報
0/150
提交
取消