최근 localhost에서 온라인 서버 (secretspygirl.com)로 웹 사이트를 옮겼습니다. 대부분의 웹 사이트가 작동 중이며 데이터베이스에 연결되어 있음을 확인했습니다. 동일한 모델 내에서 전화를 걸 때 데이터베이스에 액세스 할 수 있습니다 (즉, 테이블이 "음식"이라면 식품 모델 내에서 쿼리를 호출 할 수있었습니다). 그러나 " 사람들이 "favpeople 컨트롤러 내에서 모델을 만들면 오류가 발생합니다.Something.php가 스트림을 열지 못했습니다 - yii
include(people.php): failed to open stream: No such file or directory
여기서 오류가 발생합니다.
// this function redirects the user to the correct celebration page
public function actionFavpeople()
{
$favname = people::model()->favpeoplename();
$peoplearray = people::model()->favpeople();
// if the $peoplearray matches the hardcoded id of mom then the video becomes mom.
if ($peoplearray == Yii::app()->params['momid'])
{
의견이 있으면 크게 감사하겠습니다. 내가 누락 된 웹 사이트를 업로드 할 때 뭔가가 있습니까?
이$favname = People::model()->favpeoplename();
$peoplearray = People::model()->favpeople();
일부 파일 시스템들이 두 개의 서로 다른 파일입니다 OS X에서 HFS +와 같은 일부 운영체제는 두 가지, 즉 구별 의미 People.php
를 분석 대소 문자를 구분 파일 이름이 people.php
과 동일해야 할 필요가