Jump to content
xt:Commerce Community Forum

MySql 5


Recommended Posts

I installed xt commerce on mysql 5

but i have some problem

i read on internet that xt commerce have some problem with mysql 5 join function

this is one of the errors

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') on p.manufacturers_id = m.manufacturers_id' at line

how can i resolve this?

thanks!

Link to comment
Share on other sites

I installed xt commerce on a shared server.

I don't know if i can ask a downgrading, from MySql 5 to MySql 4.

Believe me, it's not a problem about money, but i just start to make this kind of things (delevoping php, installing this software, ecc...) and now i don't have money to be a sponsor.

Thanks

Link to comment
Share on other sites

i have this problem

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'products_description pd left join specials s on (p.products_id = s.products_id) ' at line 1

in advanced_search_result.php

i don't understand the difference between mysql 5.x to 4.x

thanks

Link to comment
Share on other sites

i resolve this problem in

advanced_search_result.php

from

$from_str = "from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m using(manufacturers_id), " .

TABLE_PRODUCTS_DESCRIPTION . " pd left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " .

TABLE_CATEGORIES . " c, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c";

to

$from_str = "from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m using(manufacturers_id) INNER JOIN " .

TABLE_PRODUCTS_DESCRIPTION . " pd left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id INNER JOIN " .

TABLE_CATEGORIES . " c, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c";

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...