loader error messages? |
[eluser]cgeisel[/eluser]
I'm trying to run CI in a subdirectory. Here's the base_url from config.php: Code: $config['base_url'] = "https://scrapit.ca/service"; For some reason I'm able to load views, but not helpers and libraries. Here's the code from my Welcome page: Code: class Welcome extends Controller { If you go here, you can see that the email library doesn't load (from the "blarg"): https://scrapit.ca/service/index.php My site structure is like this: Code: docroot/ The version of CI I'm using is 1.7.1 I suspect this is a permissions issue, but I can't figure it out because when I set the error threshold to 1, I get a 500 server error.
[eluser]WanWizard[/eluser]
$this->load->library doesn't have a return value, so you can't use it in an if like you do here... How do you know it's not loaded? Set the log_threshold in your config file to 4, and check the log for error messages.
[eluser]cgeisel[/eluser]
I wish I could. When I set log_threshold to any value other than 0, I get a 500 server error. However, you've got me curious, so I'm going to make certain that the library is the problem before proceeding.
[eluser]cgeisel[/eluser]
This is interesting. It appeared as though the permissions on the entire install were seriously borked, so I deleted my entire installation and started over. Sorry to waste your time. |
Welcome Guest, Not a member yet? Register Sign In |