Ask a Question related to PHP Development, Design and Development.
-
Tom Thackrey #1
Re: where should you start to look if unchanged code starts to have bugs?
On 12-Jul-2003, [email]lkrubner@geocities.com[/email] (lawrence) wrote:
One problem is $self is undefined. If you're sure wrapInDiv isn't the> Dealing with strange problems today. Below is some code that hasn't
> been changed in about 6 months. It calls the function wrapInDiv, which
> hasn't been changed in at least a year. Now I'm suddenly getting the
> error "Fatal error: Maximum execution time of 30 seconds exceeded" and
> it indicates the last line of this function. Since that can't be true,
> what other kinds of problems should I be looking for?
>
> function formLink($introText, $choiceMade, $hiddenName2="",
> $hidden2="", $hiddenName3="", $hidden3="") {
> $link = "<a class=\"formLink\" href=\"";
> $link .= $self;
> $link .= "?choiceMade=";
> $link .= $choiceMade;
> if ($hiddenName2 != "") $link .= "&".$hiddenName2."=".$hidden2;
> if ($hiddenName3 != "") $link .= "&".$hiddenName3."=".$hidden3;
> $link .= "\">";
> $link .= $introText;
> $link .= "</a>\n";
> wrapInDiv($link, "mcFormBlock");
> }
problem, remove it and see if you timeout.
--
Tom Thackrey
[url]www.creative-light.com[/url]
Tom Thackrey Guest
-
Audio starts on click/stops/and finaly starts correctwith video
Hi there... When ActionScript 3 the video on the FMS2 starts, begins audio (sound) during the buffering (to early). If after the buffering the... -
CF MX6.1 will not auto start after server reboot.. but will start by hand...
I just moved all the stuff to a new dual Xeon Windows server 2003. Problem with CF MX 6.1 is that it will not start after a server reboot! I get... -
Tool to compare screenshots and delete all unchanged parts
If the 2 shots are actually identical, except for some small details, you could place them in 2 layers and set the blend mode of the top one to... -
Automatic application start when IIS starts (not only on the first request)!
You need something to trigger it off. with a global.asax file, this is triggered when the application starts (ie first hit) If you want to do... -
Dreamweaver MX - BUGS BUGS BUGS *** HELP ***
DREAMWEAVER EXPERT !!! _________________ HELP ____________________ ON BEHALF OF MY FRIENDS AND TEAM AROUND THE GLOBE... IF WE HAVE AN UPDATE... -
Nikolai Chuvakhin #2
Re: where should you start to look if unchanged code starts to have bugs?
[email]lkrubner@geocities.com[/email] (lawrence) wrote in message
news:<da7e68e8.0307120904.1f44a4a0@posting.google. com>...Changes in server setup, in particular, register_globals and>
> Dealing with strange problems today. Below is some code that hasn't
> been changed in about 6 months. It calls the function wrapInDiv, which
> hasn't been changed in at least a year. Now I'm suddenly getting the
> error "Fatal error: Maximum execution time of 30 seconds exceeded" and
> it indicates the last line of this function. Since that can't be true,
> what other kinds of problems should I be looking for?
error reporting levels.
Cheers,
NC
Nikolai Chuvakhin Guest
-
lawrence #3
Re: where should you start to look if unchanged code starts to have bugs?
Thanks both for the replies. In the end, I think most of the problem
was that I had, unthinkingly, passed my config array, holding all
config data, by reference to all my (new, untested) 00 classes.
Debugging when passing variables by reference required a new mindset
for me.
lawrence Guest



Reply With Quote

