Jump to content

Mysql error help pls


djddc

Recommended Posts

hi people , i have this problem in my script :

    * The query you are trying to run is invalid

    * Mysql Error Output: 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 3

    * SQL Query: INSERT INTO probid_auction_media (auction_id, media_type, media_url, `order`) VALUES (100051, 1, 'uplimg/img_1000341037872_24623246jpg.jpg',)

 

SQL-query: SELECT * FROM `probid_auction_media` LIMIT 0, 30 ;

Rijen: 9

media_id media_url auction_id media_type upload_in_progress wanted_ad_id embedded_code reverse_id profile_id order

11 uplimg/img_1000301701877s345x243jpg.jpg 100035 1 0 0   0 0 0

3 uplimg/img_10001931030Roijpg.jpg 100019 1 0 0   0 0 2

4 uplimg/img_1000192gif.gif 100019 1 0 0   0 0 0

5 uplimg/img_10001945gif.gif 100019 1 0 0   0 0 1

6 uplimg/img_100021796b8fcd00ad5cf17737df1231fc47ecj... 100021 1 0 0   0 0 0

7 uplimg/img_1000211077169374044954gif.gif 100021 1 0 0   0 0 1

8 uplimg/img_100021full6287570jpg.jpg 100021 1 0 0   0 0 2

9 uplimg/img_1000301701877s345x243jpg.jpg 100030 1 0 0   0 0 0

10 uplimg/img_1000341037872_24623246jpg.jpg 100034 1 0 0   0 0 0

 

Link to comment
Share on other sites

Hi again ,

 

I've managed to track the error down to this line :

$similar_item_media = $item->auction_media_fields(intval($_REQUEST['auction_id']), $session->value('auction_id'));

Could someone tell me what I should change ?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.