g2_node doesn't exist error messages after install

koyauni - July 28, 2008 - 16:40
Project:G2 Glossary
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

I have installed you latest DV version on my D6.3 and I have updated my database. I did make the first entry and I got this error message

* user warning: Table 'peyvnam_kurdishacademy.g2_node' doesn't exist query: SELECT * FROM g2_node WHERE nid = 255 in ......./kurdishacademy.org/sites/all/modules/g2/g2.module on line 1201.
* user warning: Table 'peyvnam_kurdishacademy.g2_referer' doesn't exist query: UPDATE g2_referer SET incoming = incoming + 1 WHERE nid = 255 AND referer = '?q=g2/initial/p' in ......./kurdishacademy.org/sites/all/modules/g2/g2.module on line 1757.
* user warning: Table 'peyvnam_kurdishacademy.g2_referer' doesn't exist query: UPDATE g2_referer SET incoming = incoming + 1 WHERE nid = 255 AND referer = '?q=g2/initial/p' in ......./kurdishacademy.org/sites/all/modules/g2/g2.module on line 1757.

http://kurdishacademy.org/?q=node/255

Is there any way tp fix this or I should wait for an stable version?

#1

fgm - July 29, 2008 - 09:29
Category:bug report» support request
Status:active» postponed (maintainer needs more info)

Hi,

Could you please confirm which version of the module you are usig (the $Id string in g2.module).

Also, see http://drupal.org/node/255396 as it will probably help with that problem.

Regrettably, although the new production-to-be version finished, I can not yet publish it due to review reasons.

#2

koyauni - July 29, 2008 - 12:59

I have installed you 6 series Div version provided on the project page. (6.x-1.x-dev)

#3

fgm - July 29, 2008 - 13:07

Then please apply the patch suggested at http://drupal.org/node/255396

It should fix the issue you are encountering.

#4

koyauni - July 29, 2008 - 13:47

I have never done this before and the instruction scared me off :(

This is a live site on hosting service company. I am not so use where the patch should be executed.

It is difficult to implement the patch in you Dev version and allow user to have new Dev pack with patch included?

#5

fgm - July 29, 2008 - 14:20

You can do it by hand : I assume you don't have command line access anyway.
- remove the g2.schema file
- copy the patch file somewhere
- in that copy...
- remove all lines NOT beginning with a "+"
- remove the "+" at the beginning of all the remaining lines
- paste the remaining code into g2.install
- using devel.module, click on reinstall module, then g2.module

This should install the updated schema and remove your problem.

Note that the g2_referer functions will be going away in the future D6 production version : there are better alternatives elsewhere for referrer tracking, so there is no point in keeping them.

#6

koyauni - July 29, 2008 - 22:02

Thank you for your instruction but Before I mess up my live site, can I ask you when do you think you stable version will be available?

#7

fgm - July 30, 2008 - 15:21

I've been thinking it would be available in the next 30 days since april, so I don't dare guess how much longer it will take, so you'd better fix your site in the meantime.

#8

mgifford - August 20, 2008 - 03:36

I'm getting the same errors with G2 Glossary 6.x-1.x-dev (2007-Aug-25). Know how difficult it is to carve out the time. Best of the luck!

#9

fgm - August 20, 2008 - 06:53

Did you apply the patch I suggested ?

#10

mgifford - August 21, 2008 - 03:39

It looked interesting, but I needed something that was a bit more stable for this project so went back to the old glossary. Sorry I didn't try the patch when the module was installed.

#11

fgm - August 21, 2008 - 07:41
Priority:critical» normal
Status:postponed (maintainer needs more info)» needs review

OK, then changing status.

#12

koyauni - August 21, 2008 - 08:58

What a patch does? Can someone patch the Module and repack it to become a error free module? Is there any way to integrate the patch in the module pack?

I read the comment on devel.module which has messed up whole site and it kind of scared me off to do the patch and I need this module so much,

Fgm, I am not a programmer but a good tester, what can I do to help you fixing this module?

#13

fgm - August 21, 2008 - 09:51

You need to test the patch : it won't be applied to create a new version until it has received enough testing.

#14

koyauni - August 22, 2008 - 15:54

Many people like me are not so comfortable with this patch process. If the package is no easy to use then I am afraid there will not be much testing and feedback.

#15

kkismu - January 20, 2009 - 00:56

The Patch gives following error
H:\apache2triad\htdocs\GFL\modules\g2>patch g2.schema g2patch
patching file g2.schema
Hunk #1 FAILED at 11.
Hunk #2 FAILED at 100.
2 out of 2 hunks FAILED -- saving rejects to file g2.schema.rej
patching file g2.schema

used on g2-6x.x-1.x-dev

#16

fgm - January 20, 2009 - 09:08

Since there no longer exists a .schema file, you can ignore the rejects.

#17

sprior - January 27, 2009 - 20:23

The patch worked for me.

#18

xurizaemon - July 1, 2009 - 23:32
Status:needs review» duplicate

This is a duplicate of http://drupal.org/node/255396

#19

xurizaemon - July 1, 2009 - 23:33
Title:I get error messages» g2_node doesn't exist error messages after install
 
 

Drupal is a registered trademark of Dries Buytaert.