Jump to content


Photo

mysql_fetch_array():


  • Please log in to reply
4 replies to this topic

#1 bartgymnast

bartgymnast
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 06 March 2003 - 01:19 PM

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

#2 shivabharat

shivabharat
  • Members
  • PipPipPip
  • Advanced Member
  • 371 posts
  • LocationChennai, India

Posted 06 March 2003 - 02:57 PM

Please put in your code. for us to help u.
Knowledge --- Reading Enriches Mind But Sharing Enhances It.[br][br]Note: Before you request help enusre that you have had a look at the tutorials @phpfreaks

#3 nbharatkumar

nbharatkumar
  • Members
  • Pip
  • Newbie
  • 2 posts
  • LocationChennai

Posted 06 March 2003 - 03:07 PM

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.
Bharat Kumar
[br]http://nbharatkumar.da.ru
[br]

#4 bartgymnast

bartgymnast
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 20 March 2003 - 02:41 PM

I already fixed it.
the mysql permissions were wrong

#5 bartgymnast

bartgymnast
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 20 March 2003 - 02:42 PM

I already fixed it.
the mysql permissions were wrong




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users