Support Forums

After upgrade to 4.2.2 from 4.2.1 error with "Modify ad"

This is a discussion on After upgrade to 4.2.2 from 4.2.1 error with "Modify ad" within the Installation Problems forums, part of the Technical Support Forums category; Hi everyone. I am running v4.2.1 Designer. I recently upgraded it to 4.2.2 and after doing so users got an ...


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

Reply
 
Thread Tools Display Modes
Old 09-04-2011, 03:34 PM   #1
Customer
 
redmtnex's Avatar
 
Join Date: Jan 2007
Posts: 59
Rep Power: 22
redmtnex is on a distinguished road
Default After upgrade to 4.2.2 from 4.2.1 error with "Modify ad"

Hi everyone.
I am running v4.2.1 Designer. I recently upgraded it to 4.2.2 and after doing so users got an error when trying to modify an ad. Also "Browse your listings" reports no listings. Here is the error generated

Code:
Notice: Query failed: Column 'orderID' in field list is ambiguous SQL: SELECT id,title,section,price,display,hitcount,dateadded,expiration,orderID,oType,oStatus,oProductID,class_products.pGroup FROM class_listings LEFT JOIN class_orders ON orderID=oID LEFT JOIN class_products ON class_products.pID=class_orders.oProductID WHERE owner = '2' ORDER BY dateadded DESC in C:\xampp\htdocs\classifieds\includes\classes\database\mysql.php on line 146
Notice: Query failed: Column 'orderID' in field list is ambiguous SQL: SELECT id,title,section,price,display,hitcount,dateadded,expiration,orderID,oType,oStatus,oProductID,class_products.pGroup FROM class_listings LEFT JOIN class_orders ON orderID=oID LEFT JOIN class_products ON class_products.pID=class_orders.oProductID WHERE owner = '2' ORDER BY dateadded DESC LIMIT 0, 10 in C:\xampp\htdocs\classifieds\includes\classes\database\mysql.php on line 146
I was unable to fix it and did a database restore and of course a file restore.
So I then installed it (4.2.1) on my localhost using the database from the site tested the "modify ad" and it worked OK. Then proceeded to do the upgrade to 4.2.2 and tested the "modify ad" and the problem reproduced. I have used both the files from the site and fresh files from the customer download area as tests.
Any help would be greatly appreciated.
__________________
Toyota Motorhome Classifieds 4.1 Designer - Toyota Motorhome Forums Invision Power Board
redmtnex is offline   Reply With Quote
Old 09-04-2011, 06:35 PM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,377
Rep Power: 72
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

I don't have an answer for your issue, however I'm curious why you would be doing an upgrade from v4.2.1 to 4.2.2 instead of directly to the latest released version, 4.23?
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 09-04-2011, 09:43 PM   #3
Customer
 
redmtnex's Avatar
 
Join Date: Jan 2007
Posts: 59
Rep Power: 22
redmtnex is on a distinguished road
Default

Originally I had upgraded to 4.2.3 and the error surfaced. I restored the site back to 4.2.1 (files and database) and upgraded to 4.2.2 and the same problem occurred. This is reproduced on my localhost as well, but only using my database from the actual site. A fresh install does not have the error. I am pointing my finger at my database but for me I might as well be pointing at the sky.
__________________
Toyota Motorhome Classifieds 4.1 Designer - Toyota Motorhome Forums Invision Power Board
redmtnex is offline   Reply With Quote
Old 09-06-2011, 10:57 PM   #4
Customer
 
redmtnex's Avatar
 
Join Date: Jan 2007
Posts: 59
Rep Power: 22
redmtnex is on a distinguished road
Default

Google "Column 'orderID' in field list is ambiguous SQL:" and what I see is that there is a possibility that a column ID is maybe duplicated in two different tables. Anyhow looking over the tables I don't see that. But then I might not know what I am looking for.
__________________
Toyota Motorhome Classifieds 4.1 Designer - Toyota Motorhome Forums Invision Power Board
redmtnex is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to display category for the ads displayed under "modify ad" link suresh Technical Support 4 08-28-2008 10:16 AM
"Upgrade" within modify a listing page.. YourPalAl Technical Support 0 06-14-2008 10:21 PM
"Modify an Ad" makes listing inactive Damon Technical Support 2 02-26-2008 10:08 AM


All times are GMT -4. The time now is 02:37 PM.


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