Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
Flood




Joined: Apr 10, 2007
Posts: 16

PostPosted: Mon Jul 09, 2007 3:08 am
Reply with quote

Hi there, been trying to get my shop working with selling items (been free till now), added item ok, however when I 'add to cart' nothing's happening. This error appeared;

Quote:
[07-09-07 01:01:47 am] [mdb2_error: message="MDB2 Error: syntax error" code=-2 mode=callback callback=handle_pear_error prefix="" info="_doquery: [Error message: Could not execute statement] [Last executed query: SELECT * FROM shop_items WHERE item_id IN()] [Native code: 1064] [Native message: 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] "]


Item can be viewed at;

http://www.noizeviolation.com/modules.php?name=Digital_Shop&act=showItem&item=3

Any help is much appreciated Wink
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue Jul 10, 2007 7:07 pm
Reply with quote

put the following into an empty file and save as session.php

php:
<?php
session_start
();
?>


Upload that to your shop installation(in the /lib folder) and overwrite the original
Let me know if it doesn't help.
 
View user's profile Send private message Visit poster's website
Flood




Joined: Apr 10, 2007
Posts: 16

PostPosted: Tue Jul 10, 2007 7:30 pm
Reply with quote

Nope getting same error.

Below error it also reads;

Item successfully added to cart!
Continue Shopping
There are no items in your cart!
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue Jul 10, 2007 7:48 pm
Reply with quote

Ok, I'll have to look deeper into this. I'll be sending you an email soon.
Thanks.
 
View user's profile Send private message Visit poster's website
Flood




Joined: Apr 10, 2007
Posts: 16

PostPosted: Tue Jul 10, 2007 7:54 pm
Reply with quote

OK cheers m8
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Fri Jul 13, 2007 4:18 pm
Reply with quote

For anyone looking for the fix, you can find it here http://nukecoder.com/ftopict-407-_Fix_Cart_not_working_in_206.html [Private, shop owners only]
Applies to version 2.0.6 only!
 
View user's profile Send private message Visit poster's website
Selma




Joined: Jun 23, 2007
Posts: 3

PostPosted: Tue Jul 17, 2007 11:32 am
Reply with quote

Have this problem too.

When I change the session file and place the fix code in the cart file, I stopped getting the error message, but now there is just empty space inside the table that should have the item added to cart.

Tried going back to original session file, but then I get a SESSION ERROR

Up to this point, the program is very nice. Makes adding a lot of pp items much easier.

Thanks in advance...

p.s. have the program installed at tapology.org
 
View user's profile Send private message Visit poster's website
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Sun Jul 22, 2007 5:00 pm
Reply with quote

Ok, hang tight, I'll get to work on fixing it asap...
If you need to open your shop up, you can always switch to the "Single Item Mode" to get it working for now.
 
View user's profile Send private message Visit poster's website
Selma




Joined: Jun 23, 2007
Posts: 3

PostPosted: Mon Jul 23, 2007 9:45 am
Reply with quote

Thanks,

I have a few more items to add, and alerted the group to the problem already, so I have maybe 2 days grace before they start pestering me Smile
 
View user's profile Send private message Visit poster's website
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue Jul 24, 2007 5:13 pm
Reply with quote

Updated this thread with a new fix...
http://nukecoder.com/ftopict-407-_Fix_Cart_not_working_in_206.html
Let me know how it works.
 
View user's profile Send private message Visit poster's website
Selma




Joined: Jun 23, 2007
Posts: 3

PostPosted: Thu Jul 26, 2007 11:22 am
Reply with quote

Trying it out now,

I'll let you know ...

Thanks
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©