Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't seem to autoload #8

Open
pjebs opened this issue Jan 30, 2014 · 1 comment
Open

Doesn't seem to autoload #8

pjebs opened this issue Jan 30, 2014 · 1 comment

Comments

@pjebs
Copy link

pjebs commented Jan 30, 2014

I downloaded pigeon.
I changed name to Uppercase Pigeon.php (so it is written as in the readme file).

I place line in autoloader:

$autoload['libraries'] = array('pigeon'); //I tried 'Pigeon' too.

I keep getting this message in routing page:

Fatal error: Class 'Pigeon' not found in /Developer/Learning/LearnCI/application/config/routes.php on line 45

Am I doing something wrong. Is it due to Google App Engine's app.yaml file?

Thanks in advance

@jamierumbelow
Copy link
Owner

Ahh yes, unfortunately that won't work as *routes.php *is called before the
autoload stuff happens. Either require_once it, or use Composer
(recommended)

On 30 January 2014 02:03, pjebs [email protected] wrote:

I downloaded pigeon.
I changed name to Uppercase Pigeon.php (so it is written as in the readme
file).

I place line in autoloader:

$autoload['libraries'] = array('pigeon'); //I tried 'Pigeon' too.

I keep getting this message in routing page:

Fatal error: Class 'Pigeon' not found in
/Developer/Learning/LearnCI/application/config/routes.php on line 45

Am I doing something wrong. Is it due to Google App Engine's app.yaml file?

Thanks in advance

Reply to this email directly or view it on GitHubhttps://github.com//issues/8
.

Jamie Rumbelow developer/writer/speaker
+44 (0)7956 363875 [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants