1

The problem isn't really generic as my title says...

I've worked on Kohana site on local, and just put it online on ovh server. This site is under a subdomain. My connexion to mysql seems to be ok.

It can't find my models ! But I can display my views ! And it worked perfectly on my local.

I don't know which way I have to take to find my solution...

[EDIT]

I use the function Kohana::find_file() to try to find the path of my model > nothing. But it works for my views.

emilie zawadzki
  • 2,035
  • 1
  • 18
  • 25

1 Answers1

1

I don't know if you figured this out already, but what solved this problem for me was making all classes references exactly equal to the filename of the file that contains the referred class. So this reference to the class Controller_Home (Home.php in folder Controller) made from the class Controller_MyFrontend (Myfrontend.php na pasta Controller):

class Controller_Home extends Controller_MinhaFrontend {

Would be change to:

class Controller_Home extends Controller_Minhafrontend {

....or else change the filename from Myfrontend.php to MyFrontend.php

Andrade
  • 1,179
  • 12
  • 15