wsworx,
i will give you my 2 cents... for free...
when you say, you tried that, but it did not change anything, are you saying the error log is exactly the same? after implementing lat9's suggestion? if so, i find that curious....
instead of the change that lat9 recommended, you could try removing the top code from:
YOUR_ADMIN/includes/functions/extra_functions/edit_orders_functions.php
PHP Code:
//remove this part:
if (basename($PHP_SELF, '.php') != FILENAME_EDIT_ORDERS) {
return;
}
however, i look at your OP, and whoa nellie.... you have these plugins installed:
admin_new_orders_1.4
edit_orders-4.3.3
encrypted_master_password-2.3.0
super_orders_4.0.9_revised
now, my experience is that 3 of these do not play nice together. and how you could get them all to work together.... well, apparently they do not.
my recommendation would be to use EMP (encrypted_master_password-2.3.0) to place any new orders and get rid of admin_new_orders. i think it is a much more elegant solution, and you can get much familiar with how good/bad your customer checkout process is....
barring those 2 suggestions, you can add the function into:
YOUR_ADMIN/includes/functions/extra_functions/custom_functions.php
and leave everything else unaffected. why i dislike this is the repeat of all the code. in addition to which, it seems that some of it makes use of session variables, and i'm not sure if admin_new_order is setting the customer id.
i have all my clients use EMP to place admin new orders. that leaves me with one set of order entry code to maintain and keep straight.
with regards to the last piece of code that you want some thoughts on, again use EMP and you can ignore this bit of code. checking for version numbers?? oy! in addition, that code is only loading classes and not functions.
good luck! (and i really mean that!)
Bookmarks