Project Detail

1054 - Unknown column 'p.products_id' in 'on clause'  

1054 - Unknown column 'p.products_id' in 'on clause' is project number 121352
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: krt

Budget: $30-100

Created: 01/26/2007 at 5:42 EST

Bid Count: 9

Average Bid:
N/A

02/02/2007 at 5:42 EST

Project Creator: kevinmur
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (5 reviews)

Bid On This Project
 

Description

1054 - Unknown column 'p.products_id' in 'on clause'

I have recently installed a cre loaded v6.2 template on my server (simlar to oscommerce) only to find that it is not compatable with the current version of mySQL running on the server.

Problem:
MySQL 5.0 introduces Server SQL modes as part of its SQL 2003 standards support, and uses a more stricter approach to executing SQL queries. This is performed by default with setting STRICT_TRANS_TABLES as a Server SQL mode.

Due to this new setting, MySQL fails on certain SQL queries and produces error messages on the screen.

1054 - Unknown column 'p.products_id' in 'on clause'

I am looking to pay for a valid fix or work around. Please see the one below - that does not work because Part of the work around requires that:
Lines 213-223 in advanced_search_result.php must be changed from:
$from_str = "from " ...
to:
$from_str = "from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS ...

However, lines 213-223 in advanced_search_result.php, don't exist on my cre loaded template advanced_search_result.php - Do you know where I can
locate these lines of code, and or how I can modify the template to work with mySQL 5.0

Regards,

Kevin.


Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

Bids are hidden by the project creator. Log in as the project creator or as one of the bidders to view bids. You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


    Bid on this Project