Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
Quote:
Originally Posted by
vkd1980
Hi,
I just install SO v4.0 in my ZC 1.5 but, In my Admin>Payments not showing correctly , please guide me to solve, both Print screens are added
Before Installing Super Order
Attachment 10945
After Installing Super Order
Attachment 10946
Vinod
No clue since Super Orders would not remove or delete existing payment modules. Your first screenprint is what I would expect to see AFTER installing Super Orders.. (I can see the purchase order payment module which comes with Super Orders is installed) Something else you've done has removed your payment modules..
Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
thank you for quick reply
Quote:
Originally Posted by
DivaVocals
No clue since Super Orders would not remove or delete existing payment modules. Your first screenprint is what I would expect to see AFTER installing Super Orders.. (I can see the purchase order payment module which comes with Super Orders is installed) Something else you've done has removed your payment modules..
I know that its won't overwrite any payment modules, But regarding the purchase order module I just saved the file in payment modules to test whether that file causing the prob on my installation
Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
Quote:
Originally Posted by
vkd1980
thank you for quick reply
I know that its won't overwrite any payment modules, But regarding the purchase order module I just saved the file in payment modules to test whether that file causing the prob on my installation
I don't see how it could.. It's just a payment module.. Nothing special about it.. It's a clone based on the check money order module.
In the long history of this add-on (going back to the original version) NO ONE has ever reported an issue like you are reporting. I cannot reproduce it in all the MANY Super Order installs I have done, and no one else has either otherwise this would have been reported by someone else.. This leads me to believe that this issue is being caused by something else going on in your store. I don't know what that could be, but I am certain it's not related to Super Orders.
Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
I just started installing SO 4 in my back up in local machine and revert you with result
Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
I got it
It just disappearing when you copy YOUR_ADMIN\includes\functions\extra_functions\super_orders_functions.php
is there any guess
Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
it start working when I commented out the following function in super_orders_functions.php
PHP Code:
/*function update_status($oID, $new_status, $notified = 0, $comments = '') {
global $db;
if($notified== -1){
$cust_notified = -1;
}
elseif ($notified==1)
$cust_notified = 1;
else
$cust_notified = 0;
$db->Execute("INSERT INTO " . TABLE_ORDERS_STATUS_HISTORY . "
(orders_id, orders_status_id, date_added, customer_notified, comments)
VALUES ('" . (int)$oID . "',
'" . $new_status . "',
now(),
'" . $cust_notified . "',
'" . $comments . "')");
$db->Execute("UPDATE " . TABLE_ORDERS . " SET
orders_status = '" . $new_status . "', last_modified = now()
WHERE orders_id = '" . (int)$oID . "'");
} */
is there an bug/duplication of function
Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
Quote:
Originally Posted by
vkd1980
is there an bug/duplication of function
@DivaVocals
Please find the two functions in same name ,Pls revert they can cause this error? :blink:
function in super_orders_functions.php
PHP Code:
/////////////////
// Function : update_status
// Arguments : oID, new_status, notified(optional), comments(optional)
// Return : none
// Description : Adds a new status entry to an order
/////////////////
function update_status($oID, $new_status, $notified = 0, $comments = '') {
global $db;
if($notified== -1){
$cust_notified = -1;
}
elseif ($notified==1)
$cust_notified = 1;
else
$cust_notified = 0;
$db->Execute("INSERT INTO " . TABLE_ORDERS_STATUS_HISTORY . "
(orders_id, orders_status_id, date_added, customer_notified, comments)
VALUES ('" . (int)$oID . "',
'" . $new_status . "',
now(),
'" . $cust_notified . "',
'" . $comments . "')");
$db->Execute("UPDATE " . TABLE_ORDERS . " SET
orders_status = '" . $new_status . "', last_modified = now()
WHERE orders_id = '" . (int)$oID . "'");
}
function in purchaseorder.php
PHP Code:
// class methods
function update_status() {
global $order, $db;
if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_PURCHASE_ORDER_ZONE > 0) ) {
$check_flag = false;
$check = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_PURCHASE_ORDER_ZONE . "' and zone_country_id = '" . $order->billing['country']['id'] . "' order by zone_id");
while (!$check->EOF) {
if ($check->fields['zone_id'] < 1) {
$check_flag = true;
break;
} elseif ($check->fields['zone_id'] == $order->billing['zone_id']) {
$check_flag = true;
break;
}
$check->MoveNext();
}
if ($check_flag == false) {
$this->enabled = false;
}
}
}
Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
Again it is UNLIKELY this is the cause of the issue you are having. I also doubt very seriously this would cause an issue for anyone else either otherwise others would have reported the SAME issue you are reporting (to date NO ONE has ever reported this same issue).. Your issue is unique to your install, and you are gonna need to provide more information about your install (other modules installed, is this a new install or upgrade from previous version, SQL version, PHP version etc).. Without being able to repeat the issue or having more information about your install, it's tough to say with any certainty what you issue is..
Quote:
Originally Posted by
vkd1980
@DivaVocals
Please find the two functions in same name ,Pls revert they can cause this error? :blink:
function in
super_orders_functions.php
PHP Code:
/////////////////
// Function : update_status
// Arguments : oID, new_status, notified(optional), comments(optional)
// Return : none
// Description : Adds a new status entry to an order
/////////////////
function update_status($oID, $new_status, $notified = 0, $comments = '') {
global $db;
if($notified== -1){
$cust_notified = -1;
}
elseif ($notified==1)
$cust_notified = 1;
else
$cust_notified = 0;
$db->Execute("INSERT INTO " . TABLE_ORDERS_STATUS_HISTORY . "
(orders_id, orders_status_id, date_added, customer_notified, comments)
VALUES ('" . (int)$oID . "',
'" . $new_status . "',
now(),
'" . $cust_notified . "',
'" . $comments . "')");
$db->Execute("UPDATE " . TABLE_ORDERS . " SET
orders_status = '" . $new_status . "', last_modified = now()
WHERE orders_id = '" . (int)$oID . "'");
}
function in
purchaseorder.php
PHP Code:
// class methods
function update_status() {
global $order, $db;
if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_PURCHASE_ORDER_ZONE > 0) ) {
$check_flag = false;
$check = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_PURCHASE_ORDER_ZONE . "' and zone_country_id = '" . $order->billing['country']['id'] . "' order by zone_id");
while (!$check->EOF) {
if ($check->fields['zone_id'] < 1) {
$check_flag = true;
break;
} elseif ($check->fields['zone_id'] == $order->billing['zone_id']) {
$check_flag = true;
break;
}
$check->MoveNext();
}
if ($check_flag == false) {
$this->enabled = false;
}
}
}
Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
Quote:
Originally Posted by
DivaVocals
Again it is UNLIKELY this is the cause of the issue you are having. I also doubt very seriously this would cause an issue for anyone else either otherwise others would have reported the SAME issue you are reporting (to date NO ONE has ever reported this same issue).. Your issue is unique to your install, and you are gonna need to provide more information about your install (other modules installed, is this a new install or upgrade from previous version, SQL version, PHP version etc).. Without being able to repeat the issue or having more information about your install, it's tough to say with any certainty what you issue is..
Myserver is apache 2.2.21 php5.3.8 mysql 5.5.16
My installation is Fresh ZC v 1.5.0
with following Plugins Installed
1.CAPTCHA Validation
2.Sitemap XML
3.Testimonial Manager 1.5.2
4.Zen LightBox
5.Reward Point
6.Google Analytics
7. RSS Feed
8.SEO Urls
9.CC Avenue Payment Gateway
10.E Billing Solution Payment Gateway
11.Table Rate Clone Shipping Module
12.Sales Report
13.Image Handler 4
14.Image Check
15.Find Duplicate Models
16.Edit orders 3.0
and Your Paramita Admin theme
Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
Quote:
Originally Posted by
vkd1980
Myserver is apache 2.2.21 php5.3.8 mysql 5.5.16
My installation is Fresh ZC v 1.5.0
with following Plugins Installed
1.CAPTCHA Validation
2.Sitemap XML
3.Testimonial Manager 1.5.2
4.Zen LightBox
5.Reward Point
6.Google Analytics
7. RSS Feed
8.SEO Urls
9.CC Avenue Payment Gateway
10.E Billing Solution Payment Gateway
11.Table Rate Clone Shipping Module
12.Sales Report
13.Image Handler 4
14.Image Check
15.Find Duplicate Models
16.Edit orders 3.0
and Your Paramita Admin theme
You have a LOT of add-ons installed and any one of them (the payment modules are likely culprits) could be the cause of your unique issue.. Why not try doing a clean 1.5 install and then install Super Orders. Test things, then install each add on one at a time to see which one is bumping heads with Super Orders..