WebFaction
Community site: login faq

It is strange am getting this error on my Phalcon application.

Fatal error: Class 'Adspace\Frontend\Models\Billboards' not found in /home/dominic254/webapps/adspace/adspace/frontend/controllers/IndexController.php on line 126.

I have tried everything in vain. The interesting thing is that the code works well on my localhost.

Any idea on this issue of Phalcon on webfaction as I feel to have hit the end of the road?

At one point I had though it is bad database connection which I counter checked and confirmed that the user assigned has full permissions to database.

I don't thing it is a Phalcon issue thus needless to raise it in their forum.

I will appreciate any help.

Regards

asked 08 Jul '15, 10:15

Dom Dom
112
accept rate: 0%


According to this post, the file names should be the same case as the class declarations. Renaming the files to match the case of the class declarations solves the issue.

permanent link

answered 08 Jul '15, 14:01

dimitari
2215
accept rate: 36%

edited 08 Jul '15, 15:57

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×113
×3

question asked: 08 Jul '15, 10:15

question was seen: 1,916 times

last updated: 08 Jul '15, 15:57

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM