Welcome Guest, Not a member yet? Register   Sign In
BLANK PAGE on client's work network only (CI Log file in this post)
#2

[eluser]ray023[/eluser]
I *think* I found the problem.

The user could not go directly to the main page, but could go to my login page.

I implemented ion_auth and I have a master controller (MY_Controller) that authenticates the user and, if not logged in, redirects them to the login page.

The app was initializing fine, but would freeze when it came time to redirect.

When I was first working with ion_auth, I created my own helper for it. This meant that I put a blank helper in the CI code, called it ion_auth and then created a helper in the application/helpers folder and called it MY_ion_auth_helper.php.

I threw some methods in there and then put the helper in autoload.

I then changed my mind and took the methods I was using out of my helpers.

So, I was essentially left with two empty php files: My_ion_auth_helper and ion_auth_helper. I've been meaning to remove them, but haven't yet.

So anyway, although the files were empty, I was still autoloading them in my config file.

I was also autoloading the url helper and the url helper was auto-loading after the ion_auth helper.

Code:
$autoload['helper'] = array('ion_auth','url','array','html');

And I'm guessing that was the issue because the client seems to be working now.

Haven't confirmed it yet though. It's very odd that it would only happen when he went to the url from his work network.

Anyway, I doubt anyone with a blank page issue will have done anything like this, but thought I'd put it out there just in case.


Messages In This Thread
BLANK PAGE on client's work network only (CI Log file in this post) - by El Forum - 10-08-2010, 02:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB