In you Tools ... Server Info ... you should see something like:
What do you see?Zen Cart 1.3.8a
Patch: 1::
Database Patch Level: 1.3.8
v1.3.8 [2009-07-21 10:35:09] (Fresh Installation)
v1.3.8 [2009-07-21 10:35:09] (Fresh Installation)
In you Tools ... Server Info ... you should see something like:
What do you see?Zen Cart 1.3.8a
Patch: 1::
Database Patch Level: 1.3.8
v1.3.8 [2009-07-21 10:35:09] (Fresh Installation)
v1.3.8 [2009-07-21 10:35:09] (Fresh Installation)
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hi thanks for your help with this!
Zen Cart 1.3.8a
Patch: 1::
Database Patch Level: 1.3.8
v1.3.8 [2009-06-29 19:27:17] (Version Update 1.3.7->1.3.8)
v1.3.7 [2009-06-29 19:27:11] (Version Update 1.3.6->1.3.7)
v1.3.6 [2009-06-29 19:27:00] (Version Update 1.3.5->1.3.6)
v1.3.5 [2006-09-16 20:18:05] (Fresh Installation)
Any further help much appreciated!
When you fixed your files from the Hacker issues ... are you sure you didn't down grade any of the files on your site?
For example, if you go to Tools ... Developers Tool Kit ... and in the bottom input box put:
zen_order_id
then search on the Catalog/Admin ... what comes up?
And on the files listed, what do their version ID lines at the top of those files, on the server, read?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I have no recolection of doing such a thing... Here are my results...
catalog/admin/includes/languages/english/paypal.php
Line #29 : define('TEXT_SORT_ZEN_ORDER_ID_DESC', 'Order ID (high - low), PayPal Order Received');
Line #30 : define('TEXT_SORT_ZEN_ORDER_ID', 'Order ID (low - high), PayPal Order Received');
catalog/admin/paypal.php
Line #14 : array('id' => '2', 'text' => TEXT_SORT_ZEN_ORDER_ID_DESC),
Line #15 : array('id' => '3', 'text'=> TEXT_SORT_ZEN_ORDER_ID),
catalog/includes/modules/payment/linkpoint_api.php
Line #531 : if ($sniffer->field_exists(TABLE_LINKPOINT_API, 'zen_order_id')) $db->Execute("ALTER TABLE " . TABLE_LINKPOINT_API . " CHANGE COLUMN zen_order_id order_id int(11) NOT NULL default '0'");
Line #601 : if ($sniffer->field_exists(TABLE_LINKPOINT_API, 'zen_order_id')) $db->Execute("ALTER TABLE " . TABLE_LINKPOINT_API . " CHANGE COLUMN zen_order_id order_id int(11) NOT NULL default '0'");
catalog/includes/modules/payment/paypal.php
Line #449 : if ($sniffer->field_exists(TABLE_PAYPAL, 'zen_order_id')) $db->Execute("ALTER TABLE " . TABLE_PAYPAL . " CHANGE COLUMN zen_order_id order_id int(11) NOT NULL default '0'");
Line #626 : $db->Execute("ALTER TABLE " . TABLE_PAYPAL . " CHANGE zen_order_id order_id int(11) NOT NULL default '0'");
catalog/includes/modules/payment/paypaldp.php
Line #1631 : $db->Execute("ALTER TABLE " . TABLE_PAYPAL . " CHANGE zen_order_id order_id int(11) NOT NULL default '0'");
catalog/includes/modules/payment/paypalwpp.php
Line #2952 : $db->Execute("ALTER TABLE " . TABLE_PAYPAL . " CHANGE zen_order_id order_id int(11) NOT NULL default '0'");
catalog/includes/modules/payment/securehosting.php
Line #145 : $sql = "select * from " . TABLE_PAYPAL . " where zen_order_id = '" . $zf_order_id . "' LIMIT 1";
Line #155 : $sql = "INSERT INTO " . TABLE_PAYPAL . " (zen_order_id,txn_id,payment_date,payer_id,reason_code) VALUES ('".$insert_id."','".$_GET['transactionreference']."','".$_GET['transactiondate']." ".$_GET['transactiontime']."','".$_GET['cv2avsresult']."','Success')";
doh.... i hope this means something to you!!
tHANKS!
Last edited by dctarbuck; 19 Aug 2009 at 07:53 AM.
Your file:
catalog/includes/modules/payment/securehosting.php
looks to be using older commands for the old structure to the database table:
paypal
If you look, in phpMyAdmin, at the table structure for:
paypal
you will see the field zen_order_id has been changed to the new field name:
order_id
You need to fix your payment module:
catalog/includes/modules/payment/securehosting.php
to use the new field name ...
order_id
where you see the references to the old field name:
zen_order_id
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Ok Thankyou i will try that later!
Ajeh, you are a complete legend!! That worked perfedtly and now its all up and running....
Thanks Very very very very much
Dan
Sorry it took a bit to work this out, but I had to know more about what was really wrong before telling you a solution to this or risk breaking other things ...
Thanks for the update that this is now working once you updated your Payment Module ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!