Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: Problem with Shopping Cart plugin  (Read 3479 times)

0 Members and 1 Guest are viewing this topic.

erika_conn

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 91
[Solved]: Problem with Shopping Cart plugin
« on: July 02, 2008, 12:27:39 pm »

http://ceconn.com/photo_gallery

When I click on Images in Cart or Checkout, I get this error:

There was an error while processing a database query.
While executing query "SELECT * FROM cpg_shop_prices WHERE aid=" on 0

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

File: /home/cecon46/public_html/photo_gallery/include/functions.inc.php - Line: 249

That line has this:  cpg_die(CRITICAL_ERROR, $out, __FILE__, __LINE__);

I read some of the others who've received the same or similar error message and I tried the phpMyAdmin database repair but that did nothing.  There is a database in there called COPP1.  I have no idea how it got there.  Would that have been created by Coppermine?
« Last Edit: July 02, 2008, 03:51:09 pm by Nibbler »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Problem with Shopping Cart plugin
« Reply #1 on: July 02, 2008, 12:35:36 pm »

Clear your cookies and retry.

erika_conn

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 91
Re: Problem with Shopping Cart plugin
« Reply #2 on: July 02, 2008, 01:10:20 pm »

That fixed everything.  Wow.  Thanks.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.