This is a discussion on 1054 - Unknown column 'a.authors_id' in 'on clause' within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hey what do I know. I have not been able to get that error no matter what I try, so ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
#11
| ||||
| ||||
| Hey what do I know. I have not been able to get that error no matter what I try, so I just assumed it was fixed in SVN. If you post more detail as to how and where you get this error, maybe I can track it down. I just re-read this entire thread, and have no idea even where you get this error. Is it in the admin panel? In the catalog? When you add an author? Add an article? What? I don't think I get the error because I am testing on mysql 4.1 not 5x... Note: I just tested on mysq 5.0.27 and I finally tracked down a place where I can get the error... It is only when I click the 'All articles' link in the articles infobox on the catalog side... Mindtwist, your fix is what is needed. The mod was coded on an older version of mysql and it is definitely a compatibility issue. I also found another issue with the authors box in the SVN and JPF's package with the author's box (parse error).
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| |
|
#12
| ||||
| ||||
| This might be a stupid question, but what does SVN mean? |
|
#13
| ||||
| ||||
| SVN is short for Subversion Repository. It is where we keep all the development code so you can grab the latest files whenever you want. Subversion is a version control system for tracking software changes and keeping everything organized. Our repository is here: oscmax2 - Google Code It makes it super easy to do upgrades, etc, as you just need to update your files with the new ones using an SVN client like TortoiseSVN.
__________________ Michael Sasek osCMax Developer
|
|
#14
| |||
| |||
| Ok -- so how do we fix this? I simply created a 'test" article and then activated the box using the infobox admin. Once done, I changed the box to the left side of the store. Then when I click the link to read the article, it says: Quote:
When I click on the "All articles" it happens. When I click on the actual test article it happens. I am working on a clean install of oscmax. on apache server Quote:
|
|
#15
| ||||
| ||||
| Did you create an author and assign that author to the article? Try that and let me know...
__________________ Michael Sasek osCMax Developer
|
|
#16
| |||
| |||
| Hmm... I created a new author. However, there is nowhere on the article itself to assign an author?? Also, something really weird. I went ahead and generated another articles as Test2 and it doesn't show up at all. I assigned it to the "top" -- nothing showed. I assigned it to the "test" catagory -- nothing showed And here is the error that is showing: Quote:
Thanks for trying to help... |
|
#17
| ||||
| ||||
| The issue is a mysql5 compatibility thing... I think I have fixed it. Use the attached file to replace the articles.tpl.php file in the /templates/fallback/content/ directory Note, there are a couple of other files that need to be fixed... I am zipping them now and will post in about an hour.
__________________ Michael Sasek osCMax Developer
Last edited by michael_s; 04-11-2008 at 07:17 PM. Reason: removed partial fix attachement. Full fix 2 posts below. |
| The Following User Says Thank You to michael_s For This Useful Post: | ||
felisanator (04-11-2008) | ||
|
#18
| |||
| |||
| Thanks, I'm going to try and do that now -- I appreciate you sharing your Friday night with me! I'll post with results! |
|
#19
| |||
| |||
| Last edit on this file shows: 8/9/07 I uploaded it to the content directory you specified, but no changes were made. I guess I should take your advice and download that file comparison utility. |
|
#20
| ||||
| ||||
| Here is the full fix. I just tested it and it looks to be working great. The first file I posted, the All Articles link was still failing. This updated file should get it working 100%
__________________ Michael Sasek osCMax Developer
Last edited by michael_s; 04-11-2008 at 07:23 PM. Reason: Added the correct zip file with fixes! |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Posted By | For | Type | Date | |
| Plesk - Linux Tools | This thread | Refback | 07-27-2008 09:25 PM | |
| unknown column on in clause : column, unknown, 1054 | This thread | Refback | 07-18-2008 08:18 AM | |
| Help W/ Mysql Error On Cart.php - CubeCart Forums | This thread | Refback | 03-20-2008 04:05 PM | |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error: 1054 - Unknown column | islander | osCMax v2 Installation issues | 1 | 02-27-2006 12:31 PM |
| 1054 - Unknown column 'p.vendors_product_price' | RoyceK | osCMax v2 Installation issues | 1 | 02-12-2006 09:22 PM |
| 1054 - Unknown column when restock product | DigitalPimp | osCMax v2 Customization/Mods | 3 | 07-25-2005 03:57 PM |
| 1054 - Unknown column 'popt.products_options_type | Anonymous | osCMax v1.7 Discussion | 5 | 03-08-2004 02:47 AM |
| 1054 - Unknown column - Help, please ! | Anonymous | osCommerce 2.2 Modification Help | 2 | 11-27-2002 12:48 PM |