Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

page shows output on dev, not on production

Question posted by: pedalpete (Member) on May 16th, 2008 05:45 AM
I've got a maintenance script that I run, and it takes quite a bit of time to run.

On my dev machine, i can see the output as the script goes as I echo at certain points.

On my production machine I get no output.
I can see that the script is working because the files that need to get created are getting created, but I can't see the output.

I've put
Code: ( text )
  1. ini_set('display_errors', '1');


into the file to see if that would resolve the issue, but it doesn't .

It also seems that the file ignores the max_execution_time, and I have to restart it a few times to get it to finish.

Any idea why this would be?
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
TheServant's Avatar
TheServant
Needs Regular Fix
462 Posts
May 16th, 2008
06:09 AM
#2

Re: page shows output on dev, not on production
No problem with php installation on either machine? Does any echo work on the production machine? What about print() function?

Reply
dlite922's Avatar
dlite922
Needs Regular Fix
491 Posts
May 16th, 2008
08:20 AM
#3

Re: page shows output on dev, not on production
Quote:
Originally Posted by pedalpete
I've got a maintenance script that I run, and it takes quite a bit of time to run.

On my dev machine, i can see the output as the script goes as I echo at certain points.

On my production machine I get no output.
I can see that the script is working because the files that need to get created are getting created, but I can't see the output.

I've put
Code: ( text )
  1. ini_set('display_errors', '1');



into the file to see if that would resolve the issue, but it doesn't .

It also seems that the file ignores the max_execution_time, and I have to restart it a few times to get it to finish.

Any idea why this would be?



did you also check http://us.php.net/error_reporting

set that to E_ALL

using the same init_set method.

check back with us.

If you echo stuff like echo("Im here"); and still it does not output anything, check your PHP installation.

Reply
Reply
Not the answer you were looking for? Post your question . . .
178,099 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Top PHP Forum Contributors