close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Unknown column 'GroupingID' in 'field list'

Thread began 1/05/2010 8:14 pm by stuff223820 | Last modified 1/06/2010 3:57 pm by stuff223820 | 1636 views | 7 replies |

stuff223820

Unknown column 'GroupingID' in 'field list'

I am seeing the following (Unknown column 'GroupingID' in 'field list') on every page on my live server. store.strikephoto.com

nothing else below the top navigation bar. I have checked my globals, database, and localhost php files as per the instructions and this forum and am beyond frustrated.

I am ready to give up on this "easy to implement" software

Any help would be greatly appreciated

Sign in to reply to this post

stuff223820

oh, and this is happening on both my test server and live server.. still stumped.

Sign in to reply to this post

Jason ByrnesWebAssist

the productoptions tabel in your database has not been properly set up. have you run the store.sql file on your database to create all of the tables needed for power store? see the "How to import a MySQL (.SQL) file to your database" tutorial in the How To Section of the PowerStore support page:

powerstore/

Sign in to reply to this post

stuff223820

Thanks Jason!!! i am going to give that a try.. I have been on this for almost a week now..

is there a difference between the free database supplied and the one that came with my Powerstore2?

Also, is this why i can only see the tops of the pages and no content?

Neil

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, the eCommerce database is different from the PowerStore database, you must use the PowerStore database with the PowerStore Solution pack.


The error is causing the rest of the page not to be processed.

Sign in to reply to this post

stuff223820

that seemed to pix the sit!! Thanks!!

Now, when i click on the contact us or order history, i get the following error: Fatal error: Call to undefined function getsqlvaluestring() in /home/strikeph/public_html/store/CSSMenuWriter/intermediate.php on line 22

any ideas?

Sign in to reply to this post

Jason ByrnesWebAssist

try adding the following at line 1 of the CSSMenuWriter/intermediate.php file:

php:
<?php

if (!function_exists("GetSQLValueString")) {
function 
GetSQLValueString($theValue$theType$theDefinedValue ""$theNotDefinedValue ""
{
  if (
PHP_VERSION 6) {
    
$theValue get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  }

  
$theValue function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch (
$theType) {
    case 
"text":
      
$theValue = ($theValue != "") ? "'" $theValue "'" "NULL";
      break;    
    case 
"long":
    case 
"int":
      
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case 
"double":
      
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case 
"date":
      
$theValue = ($theValue != "") ? "'" $theValue "'" "NULL";
      break;
    case 
"defined":
      
$theValue = ($theValue != "") ? $theDefinedValue $theNotDefinedValue;
      break;
  }
  return 
$theValue;
}
}
?>
Sign in to reply to this post

stuff223820

PERFECT!! Thanks!!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...