If you want to continue tracing things with the "die" approach, the next thing to try is going inside the launch function of the Holdings class in Holdings.php. If you're not actually getting into that code, perhaps there is some strange problem with the way $defaultTab is getting set -- you could try commenting out the defaultRecordTab setting entirely to see if that makes a difference (though it seems unlikely). It might also be worth doing a var_dump of $defaultTab just to be sure it's getting the right value. If you are making it into the Holdings class but something is going wrong internally, the exact location of the problem there might reveal more clues. I don't see why anything should hang up if you're using the Sample driver, though!
Sorry to put you through all this, but thanks for working with me. Hopefully when we sort this out, everyone can benefit from the solution!
> -----Original Message-----
> From: David Pattern [mailto:d.c.pattern@...]
> Sent: Wednesday, July 21, 2010 12:05 PM
> To: 'vufind-tech@...'
> Subject: Re: [VuFind-Tech] /Record/ giving blank page
> Hi Demian
> It looks to be hanging on the following line of code in Home.php:
> $service = new $defaultTab();
> I've not changed the defaultRecordTab in the config file, so it's set
> to "Holdings". The catalog driver is set to "Sample".
> I'm guessing I'm getting the blank page as PHP is automatically timing
> out after 60 seconds?
> The 2 Solr URLs load straight away with JSON output.
> -----Original Message-----
> From: Demian Katz [mailto:demian.katz@...]
> Sent: 21 July 2010 16:25
> To: David Pattern; 'vufind-tech@...'
> Subject: RE: [VuFind-Tech] /Record/ giving blank page
> Have you tried directly accessing the two URLs from the debug output?
> Are either of them returning errors or taking unusually long to load?
> Have you tried putting any new debug statements in
> web/services/Record/Home.php as I suggested yesterday? One good test
> would be to add the line:
> die("I got this far.");
> to the top of the launch function. If you get the message "I got this
> far," you at least know that VuFind got to that point in the code. You
> can then keep moving the "die" command lower and lower to poinpoint the
> problem area. On the other hand, if you don't see that message,
> something is going wrong earlier -- possibly in the constructor in
> Record.php. If you can figure out roughly where things are going wrong
> using this method, I might be able to come up with a better idea for a
> Good luck!
> - Demian
> This transmission is confidential and may be legally privileged. If you
> receive it in error, please notify us immediately by e-mail and remove
> it from your system. If the content of this e-mail does not relate to
> the business of the University of Huddersfield, then we do not endorse
> it and will accept no liability.
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> Vufind-tech mailing list