I'm getting this error on my website Fatal error: Class 'Phalcon\Loader' not found in /home3/website/public_html/public/index.php on line 19
Here is what my index.php says:
use Phalcon\Loader; use Phalcon\Mvc\View; use Phalcon\Mvc\Application; use Phalcon\Di\FactoryDefault; use Phalcon\Mvc\Url as UrlProvider; use Phalcon\Db\Adapter\Pdo\Mysql as DbAdapter; use Phalcon\Flash\Direct as FlashDirect; use Phalcon\Flash\Session as FlashSession; use Phalcon\Mvc\Dispatcher; use Phalcon\Events\Manager as EventsManager; use Phalcon\Mvc\Dispatcher as MvcDispatcher; use Phalcon\Events\Event; use Phalcon\Mvc\Dispatcher\Exception as DispatchException; use Phalcon\Session\Adapter\Database as Database; use Phalcon\Mvc\View\Engine\Volt; use Phalcon\Mvc\Router; $loader = new Loader(); $loader->registerNamespaces([ 'Phalcon' => "../Library/Phalcon/", ]);
When I type in Loader into my webfiles, it comes up in two places. Phalcon/Config/Loader.php and Phalcon/Mvc/Model/Eagerloading
Is there something I need to put in the Phalcon folder that's not already there?