1064 – You have an error in your SQL syntax; – osCommerce

Waktu klik link Spesial Produk di osCommerce, muncul pesan:

1064 – You have an error in your SQL syntax;

Untuk memperbaiki dengan cara sbb:

Buka file split_page_results.php di direktori /includes/classes

ubah sintaks berikut :

$offset = ($this->number_of_rows_per_page * ($this->current_page_number - 1));

menjadi:

$offset = ($max_rows_per_page * ($current_page_number - 1));
if ($offset < 0)
        {
        $offset = 0 ;
        }

🙂

~ by gusdek on April 27, 2008.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: