osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Mysql 5 + Article Manager - NOT Compatible in RC2

This is a discussion on Mysql 5 + Article Manager - NOT Compatible in RC2 within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Stock oscmax RC2 store. We have upgraded server to Mysql 5 from Mysql 4 and everything except the articles manager ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 03-06-2008, 01:54 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Unhappy Mysql 5 + Article Manager - NOT Compatible in RC2

Stock oscmax RC2 store. We have upgraded server to Mysql 5 from Mysql 4 and everything except the articles manager works. The following code is displayed on the home page in the location the articles/reviews info box used to be in. Does anyone have a fix for this?

Error:

Code:
1054 - Unknown column 'a.authors_id' in 'on clause'

select a.articles_id from articles a, articles_to_topics a2t left join topics_description td on a2t.topics_id = td.topics_id left join authors au on a.authors_id = au.authors_id, articles_description ad where (a.articles_date_available IS NULL or to_days(a.articles_date_available) <= to_days(now())) and a.articles_id = a2t.articles_id and a.articles_status = '1' and a.articles_id = ad.articles_id and ad.language_id = '1' and td.language_id = '1' and a.articles_date_added > SUBDATE(now( ), INTERVAL '365' DAY)

[TEP STOP]
In reading some articles here, i have found that this is fixed in the following patch: osCMax-2.0RC2-update051112

However, there is no link to download this patch that i canf ind. Can someone link this patch for me please.

sincerely,
__________________
Clifton Murphy CEO/CTO
Hyperactive Inc.
osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists!

Last edited by red_fraggle; 03-06-2008 at 02:08 PM. Reason: added patch link request
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 03-06-2008, 06:34 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,246
Thanks: 66
Thanked 294 Times in 280 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Mysql 5 + Article Manager - NOT Compatible

The patch is in this thread:
osCMax 2.0RC2 Security Patch/Update 051112
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 03-07-2008, 05:12 AM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default Re: Mysql 5 + Article Manager - NOT Compatible in RC2

thanks michael
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 03-07-2008, 05:36 AM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Unhappy Re: Mysql 5 + Article Manager - NOT Compatible in RC2

I installed the patch per instrucitons by overwriting all files.
I ran the sql query which completed with no errors

Code:
ALTER  TABLE whos_online MODIFY  COLUMN last_page_url VARCHAR( 255  )  NOT  NULL ;# Affected rows: 1
 ALTER  TABLE customers MODIFY  COLUMN customers_default_address_id INTEGER;# Affected rows: 629
 ALTER  TABLE customers_basket MODIFY  COLUMN final_price DECIMAL( 15, 4  ) ;# Affected rows: 297
However, the articles and reviews module still displays the following sql error on the homepage where the info box should be:


Code:
1054 - Unknown column 'a.authors_id' in 'on clause'

select a.articles_id from articles a, articles_to_topics a2t left join topics_description td on a2t.topics_id = td.topics_id left join authors au on a.authors_id = au.authors_id, articles_description ad where (a.articles_date_available IS NULL or to_days(a.articles_date_available) <= to_days(now())) and a.articles_id = a2t.articles_id and a.articles_status = '1' and a.articles_id = ad.articles_id and ad.language_id = '1' and td.language_id = '1' and a.articles_date_added > SUBDATE(now( ), INTERVAL '365' DAY)

[TEP STOP]
Also, i have made sure that an author exists by creating one with the authors tool in the admin for this add-on, and i have even disabled ALL articles (using red button beside each article). The error still displays. Keep in mind no changes were made to this store, other than an upgrade of the server from Mysql4 to Mysql5.

sincerely,
__________________
Clifton Murphy CEO/CTO
Hyperactive Inc.
osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists!

Last edited by red_fraggle; 03-07-2008 at 05:42 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 03-07-2008, 05:43 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: Mysql 5 + Article Manager - NOT Compatible in RC2

Did you look at this thread 1054 - Unknown column 'a.authors_id' in 'on clause'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 03-07-2008, 07:24 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: Mysql 5 + Article Manager - NOT Compatible in RC2

To make it easier for those having this problem I have made the changes that mindtwist found and I am uploading 2 stock oscmax files from your templates content. Articles.tpl and Articles_new.tpl This should fix the error asked about above.
Attached Files
File Type: zip articles.zip (5.2 KB, 12 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

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
Article Manager v1.0 michael_s New osCommerce Contributions 0 10-30-2007 08:00 PM
Reviews in Article Info (Article Manager) michael_s New osCommerce Contributions 0 10-25-2007 07:26 AM
Reviews in Article Info (Article Manager) michael_s New osCommerce Contributions 0 05-10-2007 02:00 PM
Mysql error in article manager clauska osCMax v2 Customization/Mods 0 06-27-2006 01:11 AM
Compatible with PHP 4.33 and mysql 3.23 the_error_king osCMax v2 Installation issues 6 06-15-2005 07:19 PM


All times are GMT -8. The time now is 08:57 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax