
Originally Posted by
noppie
Ok I really wanted to get this working.
so I started from scratch started a brand new zen cart
and added this add on first
tested it and everything worked like a charm.
them I add CEON uRL MAPPING
AND it still worked.
I am using the multi site.. and then added that and yes it still worked
added a new store and it still worked.
I added all the other items..
and then I added the database
and did a test and got to this page
index.php?main_page=checkout_process
and got a blank page.
and so I checked the debug files.
and got this
[28-Oct-2011 02:29:47] PHP Catchable fatal error: Object of class queryFactoryResult could not be converted to string in /home/hera/public_html/shop/includes/classes/order.php on line 639
if( $commission > 0 ) {
$referrer_query = "INSERT into " . TABLE_COMMISSION . " (commission_orders_id, commission_referrer_key, commission_rate, commission_paid) " .
---line 639--> "VALUES(" . $insert_id . ",\"" . $_SESSION['referrer_key'] . "\"," . $commission . ",0)";
can anyone help.
I have no idea where to start..
I know enough to add things but fixing any code is beyond me.
thank you in advance
Noppie
Bookmarks