We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Undefined namespace

Why do i keep getting undefined namespace error

if i write new \Phalcon\Loader(); I get undefined namespace phalcon

if i write use Phalcon\Config\Adapter\Ini as ConfigIni; I get undefined namespace adapter

If i write class UsersController extends \Phalcon\Mvc\Controller i get undefined namespace Mvc.

Did i made any mistake in installation?? Is there any solution? My phalcon version is 1.3.4, Php version 5.5.12, I use Wamp server ins 64bit win8 OS.



43.9k

Hi,

are you sure that phalcon extension is loaded ?