PhalconException: IndexController handler class cannot be loaded

Posted June 10, 2014 19.5k views
HI! So I've been having a few issues with Phalcon on my ubuntu 14.04 x32 apache2 droplet. However I did finally get it installed, I now assume there is some settings either the .conf or .htaccess thats messing this up, i’m just a bit tired of not getting anywhere. Its working perfectly fine on my local mamp apache2 server and all the configs are good to go on that end. And I can’t really find anything that’s helpful online, or at least I haven’t found the right place yet. The different files: default.conf:
<Directory /var/www/>
   Options Indexes FollowSymLinks MultiViews
   AllowOverride All
   Order allow,deny
   allow from all
000-default.conf: .htaccess: Any help would be appreciated! - Fredrik.
1 comment
  • You need to have the default controller created.

    “Creating a Controller
    By default Phalcon will look for a controller named “Index”. It is the starting point when no controller or action has been passed in the request. The index controller (app/controllers/IndexController.php) (…)”

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers
Could you post the contents of your "public/index.php" ? I suspect that you need to replace this line:
That assumes that your project is in /var/www/test
It's likely you're not loading the module in php. You need to an ini file that loads the phalcon extension. Create a file called /etc/php5/conf.d/phalcon.ini and this single line in the file extension = "" Make sure to restart apache. You can also check loaded modules via "php -m" command