PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 25th, 2011, 08:42 PM   #1 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 829
Two lines of extra fields

Chuck... this is an odd one. I had a member post 4 ads to the same category. Everything was cool except for one ad. In this one ad the extra fields were duplicated (see attachment). I did some digging in the database and found two entries for the product ID but they were at least 100 product ID #'s away from each other. I deleted one and it is now displayed properly. Is this possibly a database connection issue or is something else going on here? I ask because I have run across this before with the same fix.
Attached Images
File Type: gif sample1.gif (33.0 KB, 4 views)
Bryan Ex is offline   Reply With Quote
Old November 25th, 2011, 09:01 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
That's interesting as I do not see how it is possible

The price and shipping fields are specific fields in the products table so what alterations have you made

Reason I ask is your your layout is not standard code and this could be what is causng your issue

All our extra fields are shown in a specific place within specific code loops if there has been changes this might cause issues.

I have never seen anyone using default code report issues
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 26th, 2011, 08:42 AM   #3 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 829
Quote:
Originally Posted by Chuck S View Post
That's interesting as I do not see how it is possible
That was my reaction when I saw it as well.

Quote:
Originally Posted by Chuck S View Post
The price and shipping fields are specific fields in the products table so what alterations have you made

Reason I ask is your your layout is not standard code and this could be what is causng your issue
I don't think it's from the template changes otherwise all posts using the same template would have the same issue. 4 ads posted to the same category by the same user and only one had the double row of extra fields. It was easy enough to fix and so far does not seem to be an ongoing issue but I was curious as what might have caused a double entry in one table in the database. Is it possible a double click would do this during the upload process or possibly a dropped database connection?

I am not claiming this is an issue with classifieds. Just thought I'd ask if you had any ideas on the cause given you've seen more messed up scripts than anyone else over the years you've worked on this stuff.
Bryan Ex is offline   Reply With Quote
Old November 26th, 2011, 11:35 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Bryan

I can only comment on what I see in your attachment as I do not see a site link. Now it is clear to me your templates are modified by looking at your attachment.

Here is the showproduct template which is the portion of code I think I am looking at.

Code:
Content visible to verified customers only.
There are no while or foreach loops of anykind so no way to double print something. It is a simply table that shows the price amount shipping amount and condition(rating)

This is why I asked what you your doing as its hard for me to respond about non standard coding we did not do. I see no way physically possible in the code where we are going to double print the table in question in the default templating.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 26th, 2011, 12:31 PM   #5 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 829
Quote:
Originally Posted by Chuck S View Post
Bryan

I can only comment on what I see in your attachment as I do not see a site link. Now it is clear to me your templates are modified by looking at your attachment.
My real classifieds install is located here - Main Index - Sugarbush.Info Classifieds

I have already fixed the one ad that had the duplicate row in the database so there isn't much to see now and pretty much everything in PP has been modified in some way or another. It is my issue to deal with. I was just wondering if you'd seen it happen before.

Thinking as I go here... I had originally set up classifieds as a stand alone install but later decided to use VB which means starting over due to the user database. I'm thinking maybe I missed clearing one table in my efforts to port stuff over from the old database hoping to save some of my custom stuff.

EDIT: I think I got it figured. Products has 18 entries while productextras has 29. They should have the same number of rows should they not? I think I missed emptying a table which is causing the duplicate entries.
Bryan Ex is offline   Reply With Quote
Old November 26th, 2011, 04:10 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
yeah if you left some entries that could do it meaning your using additional extra fields which is something different that what I saw looking at your entry which seemed to show the regular price and shipping fields in the application duplicated. They are not additional extra fields in the default application.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extend extra fields feature - call/display lists of extra fields submitted p4guru ReviewPost Suggestions 7 January 13th, 2011 09:03 AM
Extra Fields Fingertips Classifieds How do I...? 1 February 2nd, 2007 04:57 PM
Extra Fields Fingertips Photopost Pro How Do I...? 20 September 29th, 2006 08:39 PM
Extra Fields bada_bing Photopost Pro How Do I...? 4 April 23rd, 2006 09:43 AM
Extra Fields Toxiedog Classifieds How do I...? 1 April 17th, 2006 09:53 AM


All times are GMT -5. The time now is 05:13 AM.

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