Ok, I've removed all the A4D code so I just have a basic HTML page as
my custom error page.
If I write a syntax error into one of web pages and load this page
then my custom error appears (as it should)
Now if I try a page that I know will time out (very complex code that
takes longer to run than the time out value), then I get the Active4D
error page.
Now try the page with the syntax error and I get the Active4D error
page until I restart A4D....
So basically same problem. Here is what the error page returns:
Active4D error
Source
Method
Line
/MacBook Duo/Users/michaelkaye/Documents/Work Stuff/FIT/4D Clients/
The British Library/IDP/IDP Current (v2004.x)/IDPWeb/database/
oo_scroll_h.a4d
[main]
172
/MacBook Duo/Users/michaelkaye/Documents/Work Stuff/FIT/4D Clients/
The British Library/IDP/IDP Current (v2004.x)/Active4D/idp.utils.a4l
idp.utils.CheckMainImageExistsForImage
3
$imageExists:=A4D__CheckMainImageExists($inRecnum;$inImageSuffix)
The script timed out.
You will see the page oo_scroll_h.a4d calls a library routine called
CheckMainImageExistsForImage which itself calls a 4D method called
A4D__CheckMainImageExists. Could the problem lie in calling a library
which in itself calls a 4d routine?
Any further thoughts?
Regards, Michael.
On 11 Apr 2007, at 14:30, Aparajita Fishman wrote:
I have implemented my own custom error handler and at first glance
it appeared to be working fine. However if I have a page or script
that times out, my error handler gets ignored and instead I'm
presented with the standard Active 4D Error page.
Not sure why that is happening, I just tested this scenario with my
demo site and it worked correctly.
If your custom error page itself has errors, you will end up in the
standard Active4D error page. That could be the problem. Turn the
Active4D log level up so syntax errors are logged and check
Active4D.log.
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.com
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/