Line 238 of order.php reads:

from " . TABLE_CUSTOMERS . " c, (" . TABLE_ADDRESS_BOOK . " ab

when it should read:

from " . TABLE_CUSTOMERS . " c, " . TABLE_ADDRESS_BOOK . " ab


and Line 240 of order.php reads:

left join " . TABLE_COUNTRIES . " co on (ab.entry_country_id = co.countries_id) )

when it should read:

left join " . TABLE_COUNTRIES . " co on (ab.entry_country_id = co.countries_id)