php - indexfileiere:1 GET http://localhost:8888/samanelms/Filiere/indexfiliere 500 (Internal Server Error) 剥离学说 php
问题描述
我在 php 中使用教义。每次如果尝试检索数据库中的信息以进行选择请求。该请求将不会被执行,它会产生一个浏览器错误
与源代码
public function getListeOfFiliere(){
if($this->db == null) return ;
return $this->db->getRepository("Filiere")->findAll();
}
和数据库配置:
$orm = array('dbname' => 'dbname', 'user' => 'user','port' =>'port','password' => 'password','host' => 'localhost','driver' => 'pdo_mysql');
解决方案
推荐阅读
- python - 数据未插入
- python-3.x - 如何将 CAN 消息转换为 UDP sendto() 所需的字节数组格式?
- r - 如何在R中的多元线性回归模型中运行所有可能的组合
- jmeter - 立即启动线程组,没有任何延迟
- vuetify.js - 使 vuetify 应用栏项目与
正文内容 - python - 在 Python 中使用条件匹配将列表链接在一起
- homebrew - 如何运行 Homebrew 的两个独立安装?
- docker - 如何在 Docker 中访问 Kubernetes Pod?
- visual-studio - 如何在 Visual Studio Code 中停止使用箭头键
- sql - 是否有一个验证规则允许将输入值限制为仅存在于另一个表中的那些?