944,162 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1241
  • PHP RSS
Sep 21st, 2006
0

errors showing up when page isn't running

Expand Post »
I have written a program in php that writes a .doc file. the file is being written correctly, but i'm getting constant errors in the log. even when i'm not refreshing the page. I have no clue what could be causing errors when my page isn't even running. Please help with any ideas. thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
donkey is offline Offline
14 posts
since Jul 2006
Sep 21st, 2006
0

Re: errors showing up when page isn't running

i've changed the location of the program and the error is still occuring. I've closed my editor, browser, and Word. yet the errors are still showing up in the log. Any help would be appreciated.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
donkey is offline Offline
14 posts
since Jul 2006
Sep 21st, 2006
0

Re: errors showing up when page isn't running

i have nested for loops in the program... earlier today i had added the second one and forgot to change the counter variable so they had the same counter, i ran it, realized i hadn't changed it... changed it and then ran it again. is there any way that the server could be stuck in that loop still? that is the only thing that i can think of.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
donkey is offline Offline
14 posts
since Jul 2006
Sep 22nd, 2006
0

Re: errors showing up when page isn't running

Click to Expand / Collapse  Quote originally posted by donkey ...
i have nested for loops in the program... earlier today i had added the second one and forgot to change the counter variable so they had the same counter, i ran it, realized i hadn't changed it... changed it and then ran it again. is there any way that the server could be stuck in that loop still? that is the only thing that i can think of.
There's a max_execution_time defined in the php.ini config. It usually prevents things like this from happening.
However, if its set to 0 (no time limit) then I'd assume your script would keep running in an endless loop?
Check your phpinfo() or php.ini file to see whats up with that...
Moderator
Reputation Points: 457
Solved Threads: 101
Nearly a Posting Virtuoso
digital-ether is offline Offline
1,250 posts
since Sep 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: One form, posting to two scripts?
Next Thread in PHP Forum Timeline: mysql_query() failing. Why?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC