Re: Super Orders v3.0 Support Thread
The error message says that super orders is attempting to access a function it cannot locate.. This indicates to me that you missed a file in your install.. Please make sure that you check that the YOUR_ADMIN/includes/functions/extra_functions/super_orders_functions.php file is in place.. and you will need to un-comment whatever you've commented out to try and work around this error..
Quote:
Originally Posted by
jansietje
Hi,
just looked up some debug information that seems to be standard in version 1.3.9. There are errors in the cache folder. For "Batch Status Update" and "Batch Form Print" it had to do with the same error.
[30-Dec-2010 10:21:17] PHP Fatal error: Call to undefined function current_countries_array() in C:\wamp\www\shop\_admin\super_batch_forms.php on line 51
[30-Dec-2010 10:09:29] PHP Fatal error: Call to undefined function current_countries_array() in C:\wamp\www\shop\_admin\super_batch_status.php on line 51
Making line 51 a comment solves part of the problem. It will show up the page!!!! Everything seems to be working except for the dropdown list with countries, this in now empty.
Not a big problem for me, but for others this is not how it should be.
Greetings,
Marty
Re: Super Orders v3.0 Support Thread
Hi,
thanks for the quick response. I've checked the folders, but it is there. c:\wamp\www\shop\_admin\includes\functions\extra_functions\super_orders_function s.php. But a search in this file does not show any reference to the word countries. After inspecting the installatie folder, I noticed a difference in size. After replacing this folder everything is OK.
Thanks again for the help
Best wishes and a happy new year
Re: Super Orders v3.0 Support Thread
Let me make sure I am clear about how you resolved this (Might help someone else later on..) You had an older version of ths file in your store previously?? This file changed in v3.0 so if you still had a prior version of this file, that would explain the file size difference and the error..
Quote:
Originally Posted by
jansietje
Hi,
thanks for the quick response. I've checked the folders, but it is there. c:\wamp\www\shop\_admin\includes\functions\extra_functions\super_orders_function s.php. But a search in this file does not show any reference to the word countries. After inspecting the installatie folder, I noticed a difference in size. After replacing this folder everything is OK.
Thanks again for the help
Best wishes and a happy new year
1 Attachment(s)
Re: Super Orders v3.0 Support Thread
Hello Everyone
Congratulations and Respect to all involved with this brilliant piece of work
website info
Zen Cart 1.3.9h
Database Patch Level: 1.3.9h
HTTP Server: Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9
PHP Version: 5.2.9 (Zend: 2.2.0) PHP Memory Limit: 32M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 64M POST Max Size: 64M
I have used Super Orders 1.3.9.very succesfully on my live cart and am testing ver 3 with my configuration on localhost under xammp
When I try to print of a copy of the order details (see thumbnail) I get the following issue
This seems to be coming from super_data_sheet.php lines around lines 225 where TYTracker 2 is spliced in.
Question; is it intended that TY Tracker 2 should be defacto installed as well, or is there a means to switch this piece of code off or do I null this code?
Question; the radio buttons at the bottom of the order sheet are defaulted to email the customer. I personally would prefer to have them the other way round. The code in question seems to come from
/toolroom/super_orders.php
/toolroom/super_batch_status.php
If I altered the radio buttons logic on line 1273 of the former and line 302 of the latter would that do the trick?
I would be very greatful for any guidance
A healthy, happy and prosperous new year to all
Centec2b
Re: Super Orders v3.0 Support Thread
Quote:
Originally Posted by
Centec2b
When I try to print of a copy of the order details (see thumbnail) I get the following issue
This seems to be coming from super_data_sheet.php lines around lines 225 where TYTracker 2 is spliced in.
Question; is it intended that TY Tracker 2 should be defacto installed as well, or is there a means to switch this piece of code off or do I null this code?
Good catch..:smile: This was a small oversight on our part.. Replace your super_data_sheet.php file with the one attached to this post.. See if this works for ya.. (this updated file will be included in the next update)
Re: Super Orders v3.0 Support Thread
Quote:
Originally Posted by
Centec2b
When I try to print of a copy of the order details (see thumbnail) I get the following issue
This seems to be coming from super_data_sheet.php lines around lines 225 where TYTracker 2 is spliced in.
Question; is it intended that TY Tracker 2 should be defacto installed as well, or is there a means to switch this piece of code off or do I null this code?
Quote:
Originally Posted by
DivaVocals
Good catch..:smile: This was a small oversight on our part.. Replace your super_data_sheet.php file with the one attached to this post.. See if this works for ya.. (this updated file will be included in the next update)
NO.. As I stated in the leading post for this support thread AND in the readme, NONE of the supported mods are required to be installed to use Super Orders v3.0..
If you are not running Ty Package Tracker, USPS Click-N-Ship, FedEx Labels, or Edit Orders, you will still be able to run Super Orders v3.0. If you do use any of these mods, we simply made it easy to use them by activating the corresponding admin flag.. This was a simple oversight in one file where the required admin switch code was inadvertently left out..
Quote:
Originally Posted by
Centec2b
Question; the radio buttons at the bottom of the order sheet are defaulted to email the customer. I personally would prefer to have them the other way round. The code in question seems to come from
/toolroom/super_orders.php
/toolroom/super_batch_status.php
If I altered the radio buttons logic on line 1273 of the former and line 302 of the latter would that do the trick?
It should.. though I haven't explicitly tested this, changing the radio button that you wish to be the default to "true" should do the trick..
Re: Super Orders v3.0 Support Thread
Quote:
Originally Posted by
DivaVocals
Good catch..:smile: Replace your super_data_sheet.php file with the one attached to this post.. See if this works for ya.. (this updated file will be included in the next update)
Diva - mega - works a charm - thank you :smile:
Centec2b
Re: Super Orders v3.0 Support Thread
Quote:
Originally Posted by Centec2b
Question; the radio buttons at the bottom of the order sheet are defaulted to email the customer. I personally would prefer to have them the other way round. The code in question seems to come from
/toolroom/super_orders.php
/toolroom/super_batch_status.php
If I altered the radio buttons logic on line 1273 of the former and line 302 of the latter would that do the trick?
Diva Response
It should.. though I haven't explicitly tested this, changing the radio button that you wish to be the default to "true" should do the trick..
Diva I have altered the logic around super_orders.php and am testing it. I am confident the code is right.
super_batch_status.php uses the boolean test on the first part of
line 305
Code:
echo zen_draw_checkbox_field('notify', 'on', true); echo ' ' . ENTRY_NOTIFY_CUSTOMER . '<br>';
echo zen_draw_checkbox_field('notify_comments', 'on', true); echo ' ' . ENTRY_NOTIFY_COMMENTS;
ie
line 403
Code:
if ($notify == 'on') {
email_latest_status($oID);
}
Question; can I change the first checkbox on line 305 from TRUE to FALSE without changing the value? ie
Code:
echo zen_draw_checkbox_field('notify', 'on', FALSE);
Is this still within the logic expected to evaluate it on line 403?
It seems to work but I am unable to mail out on localhost so the whole action is not completed and whilst it shows an unlocked comment the green tick is not present to show the customer was emailed ok
Thank you
Centec2b
Re: Super Orders v3.0 Support Thread
:laugh: Oh you think I'm a REAL programmer??:laugh: Not me.. :no:
What looks logical is that changing the true to false would mean the checkbox is no longer checked by default.. (same with the radio buttons.. true = selected and false = not selected) Best way to KNOW is to simply try it (it's what I would do to test it..:smile:)
Quote:
Originally Posted by
Centec2b
Diva I have altered the logic around super_orders.php and am testing it. I am confident the code is right.
super_batch_status.php uses the boolean test on the first part of
line 305
Code:
echo zen_draw_checkbox_field('notify', 'on', true); echo ' ' . ENTRY_NOTIFY_CUSTOMER . '<br>';
echo zen_draw_checkbox_field('notify_comments', 'on', true); echo ' ' . ENTRY_NOTIFY_COMMENTS;
ie
line 403
Code:
if ($notify == 'on') {
email_latest_status($oID);
}
Question; can I change the first checkbox on line 305 from TRUE to FALSE without changing the value? ie
Code:
echo zen_draw_checkbox_field('notify', 'on', FALSE);
Is this still within the logic expected to evaluate it on line 403?
It seems to work but I am unable to mail out on localhost so the whole action is not completed and whilst it shows an unlocked comment the green tick is not present to show the customer was emailed ok
Thank you
Centec2b
Re: Super Orders v3.0 Support Thread
Quote:
Originally Posted by
Centec2b
Diva - mega - works a charm - thank you :smile:
Centec2b
Thanks for confirming.. It was a very silly oversight..:blush: