
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Status of server error generating bug in rpc mode?
On Fri, 16 Nov 2001, Mike Heins wrote:
> Quoting interch (interch@client.paymentonline.com):
> > The problem appears to be that when you reference a database, this time in
> > a loop tag using fi=db, that table gets added to the list of databases IC
> > thinks is valid. dummy_database loops through all of those, and dies when
> > it runs into one that isn't defined. The only place I have found the
> > offending code so far is in lib/UI/pages/admin/template_edit.html in the
> > code I posted in the last message. Just go in and change fi=backup to
> > fi=someothername, then go to content->template edit, edit a template, and
> > save it. You should get the error at that point, and then after that
> > click on admin and you will see someothername listed as an IC table..
> >
> > If not running in pre fork mode this doesn't happen. From here I am
> > pretty lost, not knowing the internals of IC I'm not really sure where to
> > start looking next without spending a lot of time.
> >
>
> Thank you, Chris. Very much. Your analysis put me onto it straightaway.
>
> Shows to go you that you can learn something new every day. I never
> thought Perl auto-vivified hash keys on a "defined" check, but now
> I know different. It must do a depth-first search, autovififying
> on the way.
Hehe I had to go look up what auto vivify even meant:) Thanks for the
quick fix, glad I could help. And since our company decided to use IC as
the base for our ecommerce product, I'll be around for a while for better
or worse:)
Chris Ochs
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users