68 Classifieds Forums
Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Questions & Support > Enabled extra field and pdf file keeps "falling out" of previous listings
v3.1 Questions & Support Help and support for 68 Classifieds v3.1.x

 
Thread Tools Display Modes
(#1)
Old
sedonagate sedonagate is offline
Junior Member
sedonagate is on a distinguished road
 
Posts: 26
Join Date: Sep 2006
Unhappy Enabled extra field and pdf file keeps "falling out" of previous listings - 09-21-2006, 03:34 AM

I enabled an extra field for file upload of pdf documents, and the latest one I add to my listings is successful, but each time I add one to a listing, I notice the previously uploaded pdf files have all disappeared from the other listings that were already done!

I thought it was something I was doing, or my setting in Extra Fields for file upload, but it looks like it's all correct, and after all, I have one listing where it's appearing just fine. It's always the last listing I do that gets the file, while the others have all fallen out (disappeared). This seems like a major bug to me.

Thanks for anyone's help!!!
Reply With Quote
(#2)
Old
sporthorsebreeder sporthorsebreeder is offline
Senior Member
sporthorsebreeder will become famous soon enough
 
Posts: 124
Join Date: Apr 2006
Default 09-21-2006, 04:26 AM

Hello Sedonagate
This is a bug in the file upload feature. See my previous post on the forum.
http://www.68classifieds.com/forums/...ead.php?t=1319

Eric in support fixed it for me. Here is what he changed.


Quote:
"Here is what I had to change. This was both for the frontend and administration:"

Open the modify listing and locate this line:
$sSQL="DELETE FROM ".PREFIX."products_fields WHERE fID=".$fid;

Replace it with:
$sSQL="DELETE FROM ".PREFIX."products_fields WHERE pID=".$productid." AND fID=".$fid;
I hope that helps.
Hugh
Reply With Quote
(#3)
Old
sedonagate sedonagate is offline
Junior Member
sedonagate is on a distinguished road
 
Posts: 26
Join Date: Sep 2006
Smile Thanks for the help again! - 09-21-2006, 08:20 PM

Hi Hugh,

Wow you are so nice to help me out...thank you...I will try this (just getting to this today...)

Will let you know how it goes...

Victoria
Reply With Quote
(#4)
Old
sedonagate sedonagate is offline
Junior Member
sedonagate is on a distinguished road
 
Posts: 26
Join Date: Sep 2006
Smile Change to "modifylisting.php" files worked like a charm! - 09-21-2006, 08:50 PM

Hi Hugh,

Yes that worked just fine! For future seekers of the solution to the problem as well, those two files specifically are:

1. httpdocs/administration/modifylisting.php

and

2. httpdocs/modifylisting.php

At first I was not sure which files to look into, so made backups of these, then fixed and uploaded them, and it all works now!

Thanks again for your help!
Victoria
Reply With Quote


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com