CakePHP database table, missing datasource default

后端 未结 2 918
感动是毒
感动是毒 2021-01-12 23:56

I found this similar question but my problem is different.

I moved my CakePHP 2.2 application to another server. There exists no problem before migration. Most of

2条回答
  •  -上瘾入骨i
    2021-01-13 00:20

    If this is helpfull for anyone in 2020. I had this problem even with full permissions to the model. I tried doing like @theJeztah suggested which was clearing cache/persistent but the problem persisted. What ended up working was switching Configure::write('debug', 0) to Configure::write('debug', 2) in the app/core file. Presumably on debug it clears the cache better.

提交回复
热议问题