do you get anything helpful if you set error_reporting(E_ALL) and rerun the
search. could this be a register_globals issue? can you print_r($_GET) or
print_r($_POST) depending on how you have defined the FORM action...and if
you can is there anything in those arrays?
hth
Jeff
David Haines
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
.net> cc:
Subject: [PHP-DB] Failure to interact
with MySQL in Redhat 9 ?
08/22/2003 01:07
PM
Hello all. I hope this is the best place to ask this (!)
Problem: verified that PHP, MySQL and Apache are all working fine.
My first little project, and search.html and results.php is not working in
Redhat 9.
If I fail to enter a search term, I get the expected error message, but
that
is just Apache, it's not even executing any PHP. When I enter a search
term,
the results.php page loads with the proper page title, but the rest of the
page is blank.
**However**, the exact same project files work just as expected on my Mac
running OS X though... hmm: which is running Apache 1.3, PHP 4.1.2 and
MySQL
4.1.2
So I have to wonder, what am I missing in Redhat ?
What I've done, what I'm doing:
I am learning MySQL and PHP, working through a lovely O'Reilly text.
I have MySQL and PHP and Apache all working fine on an istall of Redhat
Linux 9. I can work with MySQL in the terminal (command-line), and have
even
installed MySQL Control Center (a fairly nice GUI).
My "hello.php" loads fine and returns "Hellow world" in my web-browser when
I load http://localhost/hello.php
The default Apache page loads, as do a simple index.html file when I put
one
in place.
Apache 2 is running, PHP is version 4.2.2, MySQL is 4.0
====
I checked permissions and ownership of the "search.html" and "results.php"
files. My "results.php" file is setup the same (ownership & executable
flags) as my "hello.php" file (which does work).
My Apache error log offers nothing helpful. I cannot find any MySQL error
log in Redhat (checked and triple-checked), and
I can't seem to find any php error log. The php.ini file really doesn't
help, in terms of knowing where to look for an error log
===
I know this is long, but I've been as thorough as I know how to be - please
help ! (TIA)
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php