After I post a new entry , it always shows below error:

 <ul>
  <li>user warning: Table &#039;eetrend.eetrend_g2_node&#039; doesn&#039;t exist
query: SELECT * FROM eetrend_g2_node WHERE nid = 100001001 in /home/.cromwell/samguo/beta.eetrend.com/sites/all/modules/g2/g2.module on line 1201.</li>
  <li>user warning: Table &#039;eetrend.eetrend_g2_referer&#039; doesn&#039;t exist
query: UPDATE eetrend_g2_referer SET incoming = incoming + 1 WHERE nid = 100001001 AND referer = &#039;g2/initial/a&#039; in /home/.cromwell/samguo/beta.eetrend.com/sites/all/modules/g2/g2.module on line 1757.</li>
  <li>user warning: Table &#039;eetrend.eetrend_g2_referer&#039; doesn&#039;t exist
query: UPDATE eetrend_g2_referer SET incoming = incoming + 1 WHERE nid = 100001001 AND referer = &#039;g2/initial/a&#039; in /home/.cromwell/samguo/beta.eetrend.com/sites/all/modules/g2/g2.module on line 1757.</li>
 </ul>

MySQL client version: 5.0.45

Comments

fgm’s picture

Assigned: Unassigned » fgm
Category: bug » support
Status: Active » Postponed (maintainer needs more info)

It looks like the module install file has not been ran, which is strange. Did you meet an error during the install process ? Can you confirm the contents of the $Id$ string and on which page you obtained this error ?

Questions to give you a better answer:

  • was it a first install or an upgrade ?
  • did you run update.php after enabling the module ?
  • if there is currently no G2 content, which seems to be the case since you don't have the g2_node table, try uninstalling then reinstalling the module:
    • disable it by going to admin/build/modules/list, unchecking the module, and clicking Save configuration
    • by click on the Uninstall tab on top of that page, this will take you to admin/build/modules/uninstall
    • check the module and click Uninstall. You should get errors since the module is not properly installed yet: don't worry
    • reenable the module and note any error you get
    • try the module again
  • if there are still errors, check whether the g2_node table is there or not, and confirm the value of the g2 row in the system table
cybershan’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I re-install this module and it works now.

Not sure what's the problem.

Thanks for the replay.