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

Microbe - October 27, 2008 - 22:49

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

AttachmentSize
family.zip 41.77 KB

#2

Ostrea - October 28, 2008 - 11:27

That fixed it on my installation.

#3

csp - October 29, 2008 - 00:04

That fixed my installation. Thank you (a lot)

#4

adam_b - November 1, 2008 - 13:17

Fixed that problem for me also - thanks.

#5

Marat - November 10, 2008 - 14:03

I had the same problem and this fixed it, thanks Microbe!

#6

pow - November 22, 2008 - 15:27

Thank you!!! :))

#7

Microbe - November 27, 2008 - 19:30
Status:active» fixed

#8

pyutaros - December 6, 2008 - 03:27

#9

System Message - December 20, 2008 - 03:32
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.