Hi All,
Actually, the code is supposed to run from the browser (it's in the
instructions for setting it up).
Unfortunatelly I can't produce the code b/c it's paid for. Basically
my company paid for this bulletin board and it was just really a pain
to set it up. I had to find "creative" ways of making it work, like
running from the command line instead of from the browser as it was
listed in the instructions. Then, for each piece to work I had to go
into the page that was complaining and comment out stuff so that it
would work.
Anyhow, I was just curious. I was extremely disappointed with the
quality of the product that didn't run as smoothly as expected and
required different versions of software than what they had specified.
Also, just FYI, the MySQL connection did work, b/c prior to creating
the tables it tests for the connection and it says it's ok. Also,
after I finally installed the whole thing I can go ahead and create
users, post messages, etc, and it all gets recorded into the database.
Ok, guys, thanks a bunch for replying.
CoralineSage
"Philip D Heady" <pd*****@comcast.net> wrote in message news:<Tc********************@comcast.com>...
Sounds like root might own the files and apache can't execute them. Do a
ls -la and see who has ownership. You might need to chown them for apache.
"Phil Powell" <so*****@erols.com> wrote in message
news:1c*************************@posting.google.co m... If you could produce the code we could see exactly what's going on,
but I suspect that it has to do with mysql_connect() command in PHP
that is not receiving the correct database connection information for
mySQL to open.
Phil
FV**********@spammotel.com (CoralineSage) wrote in message
news:<9d**************************@posting.google. com>... Hi there, I know very little about PHP, but I was just curious to know
why exactly would some PHP code run fine from the command line but not
from the browser?
I'm just curious. I was working with someone else's PHP code that
supposedly created MySQL tables in a database and for some reason it
just wouldn't create the tables at all (no specific error message).
Someone suggested I run from the command line and when I did, it
worked...
Any help is truly appreciated.
thanks
CoralineSage