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

Class 'Phalcon\Config' not found in app\config\config.php on line 18

I installed today Phalcon forum on local host to try it,and it was sucessfully.But when i open it on localhost it shows:

  • Fatal error: Class 'Phalcon\Config' not found in C:\xampp\htdocs\fefe\app\config\config.php on line 18

Link to image:



85.5k
Accepted
answer

probably namespace problem, try


new \Phalcon\Config();


4.9k
edited Apr '16

i forget to put phalcon.dll again cus i deleted it... now when i have phalcon.dll 2.0.10 for my comp its loaded but i getting now



85.5k

now you need to check your routes and if your .htacess is working / configured correctly