Women in Technology

Hear us Roar



Article:
  Apache Web-Serving With Mac OS X, Part 5
Subject:   error on test.php
Date:   2002-06-05 17:33:03
From:   union144
As directed, I copied the php code in this tutorial and then saved into "library/webserver/documents" as test.php. When I run it through the web browser, however, I get the following result :


Connection to the database has been established.
Can't create/write to file './test/wisdom.frm' (Errcode: 13)
Table 'test.wisdom' doesn't exist
Table 'test.wisdom' doesn't exist


Warning: Supplied argument is not a valid MySQL result resource in /Users/yaniv/Sites/test.php on line 42



line 42 in the php is :
while ( $one_line_of_data = mysql_fetch_array( $response ) ) {



help? thank you. and my apologies for the dreadful grammar on my previous post.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • error on test.php
    2002-06-06 14:33:16  union144 [View]

    fixed after reading advice from errcode 13 thread.

    solution :

    sudo chown -R mysql /usr/local/mysql/*