MLUG: Re: [MLUG] Up against the wall with LAMP...
Re: [MLUG] Up against the wall with LAMP...
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On 3/29/06, Mike Pepper <EMAIL:PROTECTED> wrote:
> Ok I have made the change and added the semicolon after the require_once
> statement.
> When I run the program, I get the header section of the page, and the
> background turns grey. But I never get any output from the rest of the code.
>

I don't have time to debug your code, but in this situation, do a
"view source".  There may be an error message that is printing out in
a way that it doesn't get rendered, such as inside a tag.  So view
source and compare against what you were expecting.

Another php debugging tip is to set the "error_log" directive in
php.ini to something like /tmp/php-error.log.  Then keep a window open
doing "tail -f /tmp/php-error.log".  That will show you php errors
right away.  Once your site is in production, you can check this file
now and then to see if your users are encountering some bugs you
didn't notice during testing.

Regards,
Mark
EMAIL:PROTECTED
--
You think that it is a secret, but it never has been one.
  - fortune cookie

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members