Welcome Guest, Not a member yet? Register   Sign In
Loading custom library
#13

[eluser]davidMC1982[/eluser]
In the log, does it actually say:

Code:
if ( ! defined('BASEPATH')) exit('No direct script access allowed');

Or

Code:
No direct script access allowed

If the former, then your library file is probably not being parsed as php. Maybe you've missed the opening <?php tag or your file name is acutally *.php.* If in Windows, remove the tick from "Hide extensions for known filetypes" in your folder options. If it's not these two things, then you should post the complete controller and library code. You're asking us to hit an invisible target otherwise.

If it displays the latter ('No direct script access allowed') then your code has somehow unset the BASEPATH constant or you're not calling it through the framework. Again, we'd need to see the code to have any idea of how this may have occurred.


Messages In This Thread
Loading custom library - by El Forum - 10-09-2013, 05:23 AM
Loading custom library - by El Forum - 10-09-2013, 05:31 AM
Loading custom library - by El Forum - 10-09-2013, 05:48 AM
Loading custom library - by El Forum - 10-09-2013, 05:55 AM
Loading custom library - by El Forum - 10-09-2013, 06:09 AM
Loading custom library - by El Forum - 10-09-2013, 06:17 AM
Loading custom library - by El Forum - 10-09-2013, 06:22 AM
Loading custom library - by El Forum - 10-09-2013, 06:29 AM
Loading custom library - by El Forum - 10-09-2013, 06:37 AM
Loading custom library - by El Forum - 10-09-2013, 06:43 AM
Loading custom library - by El Forum - 10-09-2013, 06:44 AM
Loading custom library - by El Forum - 10-09-2013, 06:50 AM
Loading custom library - by El Forum - 10-09-2013, 07:37 AM
Loading custom library - by El Forum - 10-09-2013, 09:06 AM
Loading custom library - by El Forum - 10-09-2013, 10:02 AM
Loading custom library - by El Forum - 10-09-2013, 11:18 AM
Loading custom library - by El Forum - 10-09-2013, 01:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB