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?

Comments

fgm’s picture

Category: bug » support
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.

droshani’s picture

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

fgm’s picture

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

It should fix the issue you are encountering.

droshani’s picture

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?

fgm’s picture

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.

droshani’s picture

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?

fgm’s picture

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.

mgifford’s picture

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!

fgm’s picture

Did you apply the patch I suggested ?

mgifford’s picture

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.

fgm’s picture

Priority: Critical » Normal
Status: Postponed (maintainer needs more info) » Needs review

OK, then changing status.

droshani’s picture

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?

fgm’s picture

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

droshani’s picture

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.

kkismu’s picture

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

fgm’s picture

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

sprior’s picture

The patch worked for me.

xurizaemon’s picture

Status: Needs review » Closed (duplicate)

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

xurizaemon’s picture

Title: I get error messages » g2_node doesn't exist error messages after install