0
我在Yii制作的项目中使用dzraty扩展进行评分。它在本地服务器上工作得很好。但在现场服务器上,我收到此错误:为什么在服务器上出现这个错误?
Alias "ext.DzRaty.DzRaty" is invalid. Make sure it points to an existing PHP file and the file is readable.
我在Yii制作的项目中使用dzraty扩展进行评分。它在本地服务器上工作得很好。但在现场服务器上,我收到此错误:为什么在服务器上出现这个错误?
Alias "ext.DzRaty.DzRaty" is invalid. Make sure it points to an existing PHP file and the file is readable.
使您的扩展文件可读。
chmod 0444 path/to/your/file
对不起?请解释 –
也许扩展文件不可读。你必须让它可读。 – Aram
如果在服务器上的所有内容与本地服务器上的相同,则只有一个结论是扩展文件不可读。 要更改文件权限,请阅读这篇文章。 http://www.computerhope.com/unix/uchmod.htm – Aram