Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

论坛是没有后台的吗? #34

Open
w773880227 opened this issue Jun 22, 2019 · 9 comments
Open

论坛是没有后台的吗? #34

w773880227 opened this issue Jun 22, 2019 · 9 comments

Comments

@w773880227
Copy link

安装了 发现没有后台,问一下

@generalbao
Copy link

/admin就是后台

@yuhuih052
Copy link

Admin进不去,进入就报错,这是什么情况呢

@over-star
Copy link

Call to undefined method Illuminate\Database\Eloquent\Relations\BelongsTo::getForeignKeyName()

@coderdavi
Copy link

Call to undefined method Illuminate\Database\Eloquent\Relations\BelongsTo::getForeignKeyName()

一样的问题 求大佬解答

@coderdavi
Copy link

Call to undefined method Illuminate\Database\Eloquent\Relations\BelongsTo::getForeignKeyName()

修改 getForeignKeyName 为 getForeignKey,BelongsTo.php 里没有这个方法
vendor\summerblue\administrator\src\Frozennode\Administrator\Fields\Relationships\BelongsTo.php 第33行: $options['foreign_key'] = $relationship->getForeignKeyName(); 改为: $options['foreign_key'] = $relationship->getForeignKey();

@danMe66
Copy link

danMe66 commented Jan 8, 2020

感谢楼上,这个问题终于找到答案了。 @coderdavi 😸

@danMe66
Copy link

danMe66 commented Jan 9, 2020

@coderdavi 有没有不修改 vendor 文件的修改方式呢?感谢。

@over-star
Copy link

我感觉没人维护了

@over-star
Copy link

添加话题也不能添加成功。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants