i just transferred entire basic site to remote host - updated db config, nothing else, and what is working on localhost is giving “class ‘app\models\sale’ not found” error on remote.
Sorry for basic question but it feels like paths on server must be different, but i just cant see what specifically.
The top of the specific file its complaining about is:
<?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use yii\data\ArrayDataProvider;
use app\models\sale;
/**
* SaleSearch represents the model behind the search form about `app\models\sale`.
*/
class SaleSearch extends sale
{
and that last line is where its highlighting the error.
I have localhost on one side, working, other side remote giving this error and im puzzled - im sure its something silly