logo       

Re: How to add a module?: msg#00010

Subject: Re: How to add a module?
On Thu, 2003-11-06 at 10:11, Joe Stewart wrote:
> On Wed, Nov 05, 2003 at 10:27:54PM +0000, Peter Cruickshank wrote:
[snip]
> > I have to ask tho.... is there any way to get an error message generated, 
> > rather than the page just silently dying? If the template class error had 
> > been shown, I'd have been able to get some productive work done today. (Or 
> > if 
> > I was less careless, I know...)
> > 
> 
> I'd like that too.  There may be some commented out, but I've had some
> problems with errors in the template class not being very forgiving.
> Yours should have simply shown the applicable fancybox.tpl.  Seems a bug
> to me.

I too have caused spectacular errors with no clue to their origin by
messing up the template class.  I think the problem is that pslError()
uses a template to display its error.  So if the template class is
broken and wants to call its own errors, you get an infinite stack of
'em.  

Not sure where to break the loop, though...a second lower-tech error
function with no templating?  That's what could be called inside
slashTemplate.  Could even be a method for template since that's the
only time we'd need it.  Or pslError could check to see if slashTemplate
has properly loaded before using a template.

Hmmmm....

--Matt


-- 
Matthew Leingang
Harvard University Department of Mathematics
leingang-c2Vpf+SSmYbWs/AcZQh2Cw@xxxxxxxxxxxxxxxx



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe