bartgymnast Posted March 6, 2003 Share Posted March 6, 2003 hello people, I got the following problem I had my own website with apache - php and mysql, and no problems at all. I make every day a backup of my database, by copying the fields to my other computer. now my hdd was crashed, and I needed to reinstall everything. I also placed back the db fields (I did this before without any errors) but this time I think I builded my apache - php with some different options, but I got the following problem Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /some/thing/here/sql_layer.php on line 357. I did installed php 4.3.1 instead of 4.3.0 what I used before this. can someone help Quote Link to comment Share on other sites More sharing options...
shivabharat Posted March 6, 2003 Share Posted March 6, 2003 Please put in your code. for us to help u. Quote Link to comment Share on other sites More sharing options...
nbharatkumar Posted March 6, 2003 Share Posted March 6, 2003 Recompile your PHP with the following option ./configure --with-mysql --with-apache=../<your apache path> If the problem continues, then you have a corrupted PHP dump. Download it again and try. Quote Link to comment Share on other sites More sharing options...
bartgymnast Posted March 20, 2003 Author Share Posted March 20, 2003 I already fixed it. the mysql permissions were wrong Quote Link to comment Share on other sites More sharing options...
bartgymnast Posted March 20, 2003 Author Share Posted March 20, 2003 I already fixed it. the mysql permissions were wrong Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.