Hi,
i am using php4.1.2 apahce1.3.240
i am getting this warning
Warning: Unknown list entry type in request shutdown (0) in Unknown
on line 0
could anyone help in solving this
thanks in advance for your help
chidambaram
--- [EMAIL PROTECTED] wrote:
php-db Digest 9 Jun 2002 13:18:08 - Issue 1246
Topics (messages 19689 through 19700):
Re: Auto-update database records
19689 by: Jason Wong
19690 by: Tony
19691 by: Jason Wong
19692 by: Tony
19693 by: Jason Wong
Re: MySQL problem on Yellow Dog Linux
19694 by: Garrett Nelson
19695 by: Jason Wong
19696 by: Garrett Nelson
19697 by: Jason Wong
arranging folders hiearchy
19698 by: SP
19699 by: SP
Hyperwave Upload Error, hw_insert_document()
19700 by: Jean HAUSSER
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
--
ATTACHMENT part 2 message/rfc822
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Sat, 8 Jun 2002 20:45:04 +0800
Subject: Re: [PHP-DB] Auto-update database records
On Saturday 08 June 2002 20:35, Tony wrote:
Here is my code.
If you see some variables not defined, assume it is:
Hmm, is there a problem with your code? If so could you state what
the problem
is?
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications
Development *
/*
Any man who hates dogs and babies can't be all bad.
-- Leo Rosten, on W.C. Fields
*/
ATTACHMENT part 3 message/rfc822
Date: Sat, 08 Jun 2002 05:52:54 -0700
From: Tony [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Auto-update database records
You are being picky on me, huh?
I stated my problem 3 emails ago, browser gives me error attempt
to load
MyPage's URL failed.
Could be because of execution timeout.
I tried to set the time longer with no luck.
If I put the flush() after each data, I get the first output only.
But I need to update the database very often, and I don't want to
do it by
hands..
Tony S. Wu
[EMAIL PROTECTED]
On Saturday 08 June 2002 20:35, Tony wrote:
Here is my code.
If you see some variables not defined, assume it is:
Hmm, is there a problem with your code? If so could you state
what the problem
is?
ATTACHMENT part 4 message/rfc822
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Sat, 8 Jun 2002 21:27:09 +0800
Subject: Re: [PHP-DB] Auto-update database records
On Saturday 08 June 2002 20:52, Tony wrote:
You are being picky on me, huh?
I'm sorry if you feel offended ...
I stated my problem 3 emails ago,
... but I delete mail from this list as soon as I've finished with
them. As
you have started a new thread one would naturally assume this is a
new
problem. Please don't expect people to remember dead threads.
browser gives me error attempt to load
MyPage's URL failed.
Could be because of execution timeout.
I tried to set the time longer with no luck.
If I put the flush() after each data, I get the first output
only.
But I need to update the database very often, and I don't want to
do it by
hands..
Have you tried tracking down where it is that the script fails?
Either use echo() or error_log() at various points in the script to
monitor
what the program is doing. For example before starting the
while-loops
echo(Entering while loop) and inside the while-loop
echo($counter), and
when the loop terminates echo someting to that effect. This should
at least
tell you whether you have any infinite loops.
Another thing you can do is simplify the check for the prices. Your
present
method seems to be veru long-winded. I think a single preg_match()
could
replace the while ($counter $i) loop.
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications
Development *
/*
YOU PICKED KARL MALDEN'S NOSE!!
*/
ATTACHMENT part 5 message/rfc822
Date: Sat, 08 Jun 2002 06:34:56 -0700
From: Tony [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Auto-update database records
I do appreciate your reply.
Yes, I've tried to track down the problem.
I comment-out the fopen() function and use echo to display the URL.
And it displays fine, so I did get the record from MySQL.
Then when I put the fopen() back, same problem appears.
I think it's probably because I have too much data to update at
once, over a
hundred maybe?
Then it causes the PHP to timeout this script hence the error.
If I can't solve this on PHP, I'll have to find an alternative