CodeIgniter Forums
"Helper could not be loaded" -> Erkanaauth - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: "Helper could not be loaded" -> Erkanaauth (/showthread.php?tid=11902)



"Helper could not be loaded" -> Erkanaauth - El Forum - 09-27-2008

[eluser]Dauntless[/eluser]
Hi,

I'm trying to implement the Erkanaauth library.

In my controller, I have
Code:
$this->load->library('Erkanaauth');

I have uploaded the files (the library & the helper), but now I get this error:
Code:
An Error Was Encountered

Unable to load the requested file: helpers/erkanaauth_helper.php
This does seem to be right since the file name is "Erkanaauth_helper" (with a capital letter E).

But if I change the filename, I just get a bunch of other errors:
Code:
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/.../system/application/models/mainmodel.php:102)

Filename: libraries/Session.php

Line Number: 315
(line 102 of my model is the last (=empty) line of the file)

Should I rename it? If so, why do I get this error ? Could it be that the version of erkanaauth I have is not compatible with my CI version ?

//EDIT
I forgot to mention that I do understand the "Header already sent" error, but I just don't know why it is triggered in this situation ...

All help is appreciatedSmile


"Helper could not be loaded" -> Erkanaauth - El Forum - 04-09-2009

[eluser]wwonka[/eluser]
I receive the same error message.
Did you manage to resolve this issue?


"Helper could not be loaded" -> Erkanaauth - El Forum - 01-26-2010

[eluser]David Hyland[/eluser]
hi there, i'm sure you've probably sorted this out by now, but if anyone else is reading this and getting the same error then it's likely to be a filename issue. i was developing on XAMPP on windows and then published live to a unix box. unix is case-sensitive, so I just changed the "$this->load->library('Erkanaauth')" library load to "$this->load->library('erkanaauth')" (lowercase) and it all just sprang to life!