Support Forums

Strange Listing ID question

This is a discussion on Strange Listing ID question within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? v4.2.1 Developer What template are you using? Sigma Please describe in detail ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 11-09-2010, 04:50 PM   #1
Customer
 
Join Date: Oct 2010
Posts: 23
Rep Power: 1
zooi is on a distinguished road
Default Strange Listing ID question

What version of 68 Classifieds are you running?
v4.2.1 Developer

What template are you using?
Sigma

Please describe in detail the issue you are having:

I noticed by accident that the listing id in the admin section is one lower then in the emails sent to the owner of the listing. For example. If I place as registered visitor a listing which has a listing id 60 in the admin section (as adminstrator) then in the mail I received (as registered visitor) it as listing id 61?

Some body any idea what can cause this difference?


Thank you in advance for your reply.

Zooi
zooi is offline   Reply With Quote
Old 11-09-2010, 05:45 PM   #2
Staff
 
Join Date: Mar 2006
Posts: 485
Rep Power: 29
Blair will become famous soon enough
Default

Yeah - that's really strange. I doubt the problem lies with the database server (which is ultimately responsible for assiging listing ID's) so my assumption is that some PHP function is modifying the ID when the email is sent out. Do you notice it anywhere else within your site?

Please send submit a support ticket with access (ftp and admin) info.
Thanks-
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline   Reply With Quote
Old 11-13-2010, 06:37 AM   #3
Customer
 
Join Date: Oct 2010
Posts: 23
Rep Power: 1
zooi is on a distinguished road
Default

which files do I have to check the php functions?

Furthermore I checked my database and I noticed a possible error? "The following indexes appear to be equal and one of them should be removed: PRIMARY, id"?


Indexen: Sleutel naam Type Kardinaliteit Actie Veld
PRIMARY PRIMARY 0 id
title INDEX Geen title
owner INDEX Geen owner
id INDEX Geen id
display INDEX Geen display
price INDEX Geen price
section INDEX Geen section
expiration INDEX Geen expiration
The following indexes appear to be equal and one of them should be removed: PRIMARY, id

Is it correct that C68 use twice an id in the class_listings? or shall I remove PRIMARY PRIMARY 0 id ?

Further I noticed in the database that orderID is indeed one higher then id.
I will delete all my ads and start all over to see what happens (Site is still in test mode)

I deleted all my listings but no change. Maybe it is normal that in the database orderID is different from id but in that case in the admin section and in the notification mail orderID should be shown instead of id!

suggestions and ideas are welcome

Last edited by zooi; 11-13-2010 at 04:18 PM.
zooi is offline   Reply With Quote
Old 11-15-2010, 03:02 PM   #4
Customer
 
Join Date: Oct 2010
Posts: 23
Rep Power: 1
zooi is on a distinguished road
Default

Ticket send to support
zooi is offline   Reply With Quote
Old 11-17-2010, 01:34 PM   #5
Staff
 
Join Date: Mar 2006
Posts: 485
Rep Power: 29
Blair will become famous soon enough
Default

Resolution:

The ORDER ID used to identify orders don't necessarily align with LISTING IDs.

THANK YOU!!!!
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Templatecodes filter listing mod question jason1971 TemplateCodes 5 03-19-2010 12:31 PM
Listing Upgrade Question MrGForce Technical Support 10 10-06-2009 06:38 AM
Update Listing Question MrGForce Technical Support 3 06-29-2009 01:09 PM
Featured Listing Question 68 Newbie Technical Support 1 08-16-2008 07:18 PM


All times are GMT -4. The time now is 10:47 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0