Good day, to start with, i am not the one who developed this Yii project(web app used for HR and inventory) in our Ubuntu server but our old I.T. 2 years ago, and it's so happen that right now me as the NEW IT that my boss decided to give up this application since we now have the SAP Business One(w/c we acquired just last late of 2015) so i decided to try to transfer(COPY AND PASTED with the DB) the project on my PC(win 7) and with the help of wampserver i will still be able to let our employees access it for item history purposes. The project composes of 53 folders, yes 53 separated folders and i saw that they are somehow dependent with each other.
The Error Says:
Fatal error: Class 'BrowserControlFilter' not found in C:\wamp\www\Khowai\Mackun_Leipzig\protected\controllers\SiteController.php on line 35
line 35:
public function filterBrowserControl($filterChain)
{
$filter=new BrowserControlFilter;
$filter->setRules($this->browserRules());
$filter->filter($filterChain);
}
project folder structure
www>
>Khowai
>Jeddah
>controllers
>BrowserControlFilter.php
>Mackun_Leipzig
>protected
>controllers
>SiteController.php
wha i have tried was requiring the BrowserControlFilter at the Mackun_Leipzig config/main.php
but there was another error:
Strict standards: Declaration of BrowserControlFilter::accessDenied() should be compatible with CAccessControlFilter::accessDenied($user, $message) in C:\wamp\www\Khowai\Jeddah\controllers\BrowserControlFilter.php on line 5
where the line 5 is:
class BrowserControlFilter extends CAccessControlFilter{
protected function accessDenied($user)
{
throw new Exception(Yii::app()->params['labels']['english']['jeddah_Com_150']);
}
}
i need help/answers like why this error happens when this app is fully functional at our Ubuntu server right now, but when i copy and pasted it to my windows pc, this errors are coming out.