New 6.x-1.0-beta2 instalation - warning: mysql_fetch_array()
csp - October 26, 2008 - 20:51
| Project: | Family Tree 2 |
| Version: | 6.x-1.0-beta2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Every familly page (e.g. node/add/family-individual), I have this warning :
warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/drupal/sites/all/modules/family/group.inc on line 68.
Also, on this new instalation, No individuals are available in groups creation (same page)

#1
This list of individuals is generated by the line of code with the error.
I'm not exactly sure what the problem your having is as I am unable to replicate it myself. I have changed a few lines of code mainly replacing the old mysql_fetch_array() function with the drupal db_fetch_array() function in quite a few of the .inc files. This may fix the problem but I'm not entirely sure.
If you are still getting errors after using this version of the module then can you check that the errors are the same on the different pages as I'm not sure why that error should occur on that page as that part of the code shouldn't be running.
(I have also added the patch to the tree tabs in the attached file)
Peter
#2
That fixed it on my installation.
#3
That fixed my installation. Thank you (a lot)
#4
Fixed that problem for me also - thanks.
#5
I had the same problem and this fixed it, thanks Microbe!
#6
Thank you!!! :))
#7
#8
Committed http://drupal.org/node/339265#comment-1128891 to CVS.
#9
Automatically closed -- issue fixed for two weeks with no activity.