Ok, one discovery. I found the last line of code before my app goes out to
lunch. I inserted this code at the line #83:
die("The output of having a : ".print_r($provider));
http://bin.cakephp.org/view/2137152307
As a result, I get this output.
*Notice* (8)
<http://webstage.clinical.intra.lifespan.org/pythia-admit-lookup/providers/view_admit_lookup>:
Undefined variable: provider
[*APP\views\providers\view_admit_lookup.ctp*, line *83*]
Code
<http://webstage.clinical.intra.lifespan.org/pythia-admit-lookup/providers/view_admit_lookup>
| Context
<http://webstage.clinical.intra.lifespan.org/pythia-admit-lookup/providers/view_admit_lookup>
<!-- Here is where we loop through our $prov array, printing out
post info --> <?php die("The output of having a :
".print_r($provider));
$___viewFn =
"D:\Inetpub\wwwroot-clinical\pythia-admit-lookup\app\views\providers\view_admit_lookup.ctp"
$___dataForView = array(
"title_for_layout" => "Admit Lookup"
)
$loadHelpers = true
$cached = false
$form = FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = "post"
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = "/pythia-admit-lookup"
FormHelper::$webroot = "/pythia-admit-lookup/"
FormHelper::$theme = NULL
FormHelper::$here = "/pythia-admit-lookup/providers/view_admit_lookup"
FormHelper::$params = array
FormHelper::$action = "view_admit_lookup"
FormHelper::$plugin = NULL
FormHelper::$data = NULL
FormHelper::$namedArgs = NULL
FormHelper::$argSeparator = NULL
FormHelper::$validationErrors = NULL
FormHelper::$tags = array
FormHelper::$__tainted = NULL
FormHelper::$__cleaned = NULL
FormHelper::$Html = HtmlHelper object
$html = HtmlHelper
HtmlHelper::$tags = array
HtmlHelper::$_crumbs = array
HtmlHelper::$__includedScripts = array
HtmlHelper::$_scriptBlockOptions = array
HtmlHelper::$__docTypes = array
HtmlHelper::$helpers = NULL
HtmlHelper::$base = "/pythia-admit-lookup"
HtmlHelper::$webroot = "/pythia-admit-lookup/"
HtmlHelper::$theme = NULL
HtmlHelper::$here = "/pythia-admit-lookup/providers/view_admit_lookup"
HtmlHelper::$params = array
HtmlHelper::$action = "view_admit_lookup"
HtmlHelper::$plugin = NULL
HtmlHelper::$data = NULL
HtmlHelper::$namedArgs = NULL
HtmlHelper::$argSeparator = NULL
HtmlHelper::$validationErrors = NULL
HtmlHelper::$__tainted = NULL
HtmlHelper::$__cleaned = NULL
$session = SessionHelper
SessionHelper::$helpers = array
SessionHelper::$__active = true
SessionHelper::$valid = false
SessionHelper::$error = false
SessionHelper::$_userAgent = "32ea6aeb0d8455f12965881e8b7bbba4"
SessionHelper::$path = "/"
SessionHelper::$lastError = NULL
SessionHelper::$security = NULL
SessionHelper::$time = 1321391434
SessionHelper::$sessionTime = false
SessionHelper::$cookieLifeTime = 720000
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$host = NULL
SessionHelper::$timeout = NULL
SessionHelper::$base = "/pythia-admit-lookup"
SessionHelper::$webroot = "/pythia-admit-lookup/"
SessionHelper::$here = "/pythia-admit-lookup/providers/view_admit_lookup"
SessionHelper::$params = array
SessionHelper::$action = "view_admit_lookup"
SessionHelper::$data = NULL
SessionHelper::$theme = NULL
SessionHelper::$plugin = NULL
$title_for_layout = "Admit Lookup"
$alphabet = array(
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"H",
"I",
"J",
"K",
"L",
"M",
"N",
"O",
"P",
"Q",
"R",
"S",
"T",
"U",
"V",
"W",
"X",
"Y",
"Z"
)
$letter = "Z"
include - APP\views\providers\view_admit_lookup.ctp, line 83
View::_render() - CORE\cake\libs\view\view.php, line 731
View::render() - CORE\cake\libs\view\view.php, line 426
Controller::render() - CORE\cake\libs\controller\controller.php, line 909
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 207
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 171
[main] - APP\webroot\index.php, line 83
The output of having a : 1
Now, I can understand that $provider is undefined. It shouldn't be.
That's what the empty method is checking for, right?
Next I proceeded to add this code to view_admit_lookup in the controller:
$this->set('provider', NULL);
How the code looks like now.
http://bin.cakephp.org/view/1006272725
I figured that by setting provider to nothing pre-emptively it would get
rid of the issue that I had... but IE 9 is still not loading...
Gonna go to the gym, I need to give my brain a rest and my body some work.
On Tue, Nov 15, 2011 at 3:05 PM, Yves S. Garret
<[email protected]>wrote:
> Oh yeah, one more thing, this is what I did with developer tools for IE
> (this problem exists for IE 9 as well):
>
> * Opened up my browser, which went to my homepage, bing.com.
> * Opened up Developer Tools by hitting F12.
> * Entered the URL of the site I'm working on and hit Enter.
> * The Developer Tools window vanished and I get a blank page without as
> much as an indication of what could possible be wrong.
>
> I did notice a torn document icon in the URL bar.
>
>
> On Tue, Nov 15, 2011 at 2:52 PM, Yves S. Garret <
> [email protected]> wrote:
>
>> Just tried disabling Javascript, no dice.
>>
>>
>> On Tue, Nov 15, 2011 at 1:07 PM, Yves S. Garret <
>> [email protected]> wrote:
>>
>>> Tried it, the dev tools hung with IE when I ran it and looked at the
>>> script tab lol.
>>>
>>> I'll keep poking at it. I've never seen this before...
>>>
>>>
>>> On Tue, Nov 15, 2011 at 10:41 AM, Mike Karthauser <
>>> [email protected]> wrote:
>>>
>>>> hi yves
>>>>
>>>> On 15 Nov 2011, at 15:11, Yves S. Garret wrote:
>>>>
>>>> I know that this is IE only, since I tried it in Chrome and it worked.
>>>> Basically, I go to the page that I'm developing and the browser just
>>>> hangs. Very weird. In Chrome, it loads without an issue. Has anyone seen
>>>> IE do this before? How did you get around it?
>>>>
>>>> I can post the code if you want, but not sure just how much value that
>>>> has since it works just fine in one browser, but not the other.
>>>>
>>>>
>>>> i suggest you try disabling any javascript and then try loading ie
>>>> again. It could be a script error which is causing your page to
>>>> whitescreen.
>>>>
>>>> using internet explorer developer tools should also be a useful
>>>> exercise
>>>>
>>>> http://en.wikipedia.org/wiki/Internet_Explorer_Developer_Tools
>>>>
>>>> hth
>>>> mikek
>>>>
>>>> ....................................
>>>> Mike Karthäuser
>>>> Director, Brightstorm Ltd.
>>>>
>>>> 1, Brewery Court
>>>> North Street
>>>> Bristol
>>>> BS3 1JS
>>>>
>>>> [email protected] <[email protected]>
>>>> www.brightstorm.co.uk
>>>> +44(0) 7939252144
>>>> ....................................
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Our newest site for the community: CakePHP Video Tutorials
>>>> http://tv.cakephp.org
>>>> Check out the new CakePHP Questions site http://ask.cakephp.org and
>>>> help others with their CakePHP related questions.
>>>>
>>>>
>>>> To unsubscribe from this group, send email to
>>>> [email protected] For more options, visit this
>>>> group at http://groups.google.com/group/cake-php
>>>>
>>>
>>>
>>
>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php