errors showing up when page isn't running

Reply

Join Date: Jul 2006
Posts: 14
Reputation: donkey is an unknown quantity at this point 
Solved Threads: 0
donkey donkey is offline Offline
Newbie Poster

errors showing up when page isn't running

 
0
  #1
Sep 21st, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 14
Reputation: donkey is an unknown quantity at this point 
Solved Threads: 0
donkey donkey is offline Offline
Newbie Poster

Re: errors showing up when page isn't running

 
0
  #2
Sep 21st, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 14
Reputation: donkey is an unknown quantity at this point 
Solved Threads: 0
donkey donkey is offline Offline
Newbie Poster

Re: errors showing up when page isn't running

 
0
  #3
Sep 21st, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 1,075
Reputation: digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice 
Solved Threads: 66
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Veteran Poster

Re: errors showing up when page isn't running

 
0
  #4
Sep 22nd, 2006
Originally Posted by donkey View Post
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...
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC