Report this

What is the reason for this report?

PhalconException: IndexController handler class cannot be loaded

Posted on June 10, 2014

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:

<pre> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> </pre> 000-default.conf: http://pastebin.com/kVfiSav6 .htaccess: http://pastebin.com/GqTUDvnh

Any help would be appreciated!

  • Fredrik.


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Could you post the contents of your “public/index.php” ? I suspect that you need to replace this line: <pre> $url->setBaseUri(‘/project_name/’); </pre> with: <pre> $url->setBaseUri(‘/test/’); </pre> 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 = “phalcon.so

Make sure to restart apache. You can also check loaded modules via “php -m” command

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.