edit orders 4.1
zencart 1.5.1
mrrp module installed
installed successfully message was displayed
no error logs
Regards
Phil
Printable View
Effectively I fount, inside log folder, some mydebug.log files, with the following maessage:
(/..../myadmin/includes/auto_loaders/config.eo.php): Permission denied in /..../myadmin/includes/init_includes/init_eo_config.php on line 84
The file /.../myadmin/includes/auto_loaders/config.eo.php has been manually deleted after installation.
Something wrong during the installation ?
Thans for help
MSRP does make some changes to the the Zen Cart pricing functions. At a quick glance it makes the changes on the catalog side to functions_prices.php, but not the admin side of the same file (Edit Orders uses the Zen Cart functions on the admin side). Can you try removing MSRP and see what happens?
Also can you tell us which Order Total Modules you have installed + enabled? "admin" -> "modules" -> "order total".
Example List of Modules:
Gift Certificates sort_order: 840
Low Order Fee sort_order: 400
Shipping sort_order: 200
Sub-Total sort_order: 100
Tax sort_order: 300
Total sort_order: 999
All this indicates is the user your webserver runs as did not have permission to delete the file, so the installation script could not delete the file.
If you go back through the installation and login to your admin before uploading and then click on "Admin Home" right after uploading, you should see some messages at the top of the browser. If the only message indicates you need to manually delete this file, you can probably safely delete the indicated file. If there are other messages you should address those first.
Can you also answer the questions posted here.
In the previous installation, I deleted by hands the file config.eo.php
After your reply, I recharged that file declaring 777 all autoloader folder and subfolder. In this case the message was: Edit Orders v4.1 install completed!
But the problem persists.
I have to said that I have excluded the sending mail, in my installation.
(The objective is simply to provide the admin to make quotation).
The other caractheristics, as per your require, are:
What version of Edit Orders? Edit Orders 4.1
What version of Zen Cart? 1.5.1
What order total modules do you have installed?
COD Fee ot_cod_fee
Discount Coupon ot_coupon
Group Discount ot_group_pricing 290
Gift Certificates ot_gv
Low Order Fee ot_loworderfee
Shipping ot_shipping
Sub-Total ot_subtotal 100
Tax ot_tax 300
Total ot_total 999
What order total modules do you have enabled?
Group Discount ot_group_pricing 290
Sub-Total ot_subtotal 100
Tax ot_tax 300
Total ot_total 999
What message did you see at the top of the screen after installing Edit Orders and clicking "Admin Home"?
Edit Orders v4.1 install completed!
What if any Zen Cart error logs exist (/cache/ in 1.5.0 and /logs/ in 1.5.1 - use FTP to look)?
None
What other modifications (plugins, add-ons, etc) have been done?
None
Thank You nannid and Phil Lomas for your feedback. I believe I have now narrowed down the cause.
Can you please try the following fix and let me know if it works in your environments?
- Remove all products from the affected order (or cancel the order). Make sure the Order Total is Zero (the bug should cause this to be true).
- Make the code change listed below.
- Add the products back to your order (or to a new order).
Edit "/admin/includes/functions/extra_functions/edit_orders_functions.php" as follows:
Starting at line 1134 replace:
With the following code:Code:// Remove order totals already present in the order
$module_list = explode(';', (str_replace('.php', '', MODULE_ORDER_TOTAL_INSTALLED)));
$order_totals = eo_get_order_total_by_order($oID);
if($order_totals !== null) {
foreach($order_totals as $class => $total) {
$keys = array_keys($module_list, $class);
foreach($keys as $key) {
if($key != 'ot_local_sales_taxes') unset($module_list[$key]);
}
}
}
Code:// Remove order totals already present in the order
$module_list = explode(';', (str_replace('.php', '', MODULE_ORDER_TOTAL_INSTALLED)));
$order_totals = eo_get_order_total_by_order($oID);
if($order_totals !== null) {
foreach($order_totals as $class => $total) {
if($class == 'ot_local_sales_taxes') continue;
$keys = array_keys($module_list, $class);
foreach($keys as $key) {
unset($module_list[$key]);
}
}
}
The module only sends an email when the status has changed (or a comment is added) and "Notify Customer" is set to "Email". You may want to consider just changing the default to either "No Email" or "Hide" depending upon if you want your customer's to be able to see the comments in their order history.
Most of my clients have an additional "order status" called "quoted" or "freight quoted". When they are done editing an order they simply change the status (and type in an appropriate statement in the comments) - and select Notify Customer by Email. The stock Zen Cart email (modified for my client's of course) will then notify the customer their order has been "Quoted". I typically recommend my clients also follow up with a phone call when possible to ensures the customer knows they need to contact the store to finish placing the order.
But in the end, it is all about what works for you :)
Solved !!!
I applied your suggested modifications and your sw runs correctly.
I tried both with an admin order and with an order produced by the front end.
Many thanks for your fundamental help.
Hi Lungil
Yes works for me too.
Thanks
Phil
Hi,
A different problem, with a brand new installation. When I click the "edit" icon or button for any order, I get this error:
===Server error
The website encountered an error while retrieving SITE/ADMIN/edit_orders.php?page=1&oID=(order id #)&action=edit. It may be down for maintenance or configured incorrectly.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.===
I followed the install readme to a t with 1 exception: I did *not* overwite ZC's icon_edit.gif in ADMIN/images. I actually uninstalled and re-installed just to make sure, with the same result both times. So far I have *not* modified any of the EO code.
Answers to questions asked of other users with problems:
What version of Edit Orders?
4.1 (release dated April 12, 2013)
What version of Zen Cart?
1.5.1
What order total modules do you have installed/enabled?
INSTALLED BUT NOT ENABLED (came with ZC):
COD Fee ot_cod_fee
Discount Coupon ot_coupon
Group Discount ot_group_pricing
Low Order Fee ot_loworderfee
INSTALLED & ENABLED:
Gift Certificates ot_gv
Shipping ot_shipping
Sub-Total ot_subtotal
Tax ot_tax
Discount Coupon ot_taxcloud_coupon
Exemption Certificates ot_taxcloud_exemption
Total ot_total
What message did you see at the top of the screen after installing Edit Orders and clicking "Admin Home"?
Edit Orders v4.1 install completed!
What if any Zen Cart error logs exist (/cache/ in 1.5.0 and /logs/ in 1.5.1 - use FTP to look)?
None related to EO
What other modifications (plugins, add-ons, etc) have been done? (zip file names)
ceon_uri_mapping_4.4.1_for_zc
ckeditor-for-zencart
column_layout_grid_2_3_1
confirm-email-double-entry
Contact Us - Add Subject
EasyPopulate-4.0-master
Frontpage_Slideshow.v2.0.2
new-msrp-display_for_1.5
Return Authorization 3.0.0
taxcloud_1.5.2_for_zc_151
USPS v15 Ratev4 2013_0127 R2013_0327
(Bolded those that have anything to do with orders, but none appear to have modified any of the files changed by EO.)
At this time I have not installed ty_package_tracker yet, but it's on my list of possibilities.
I'll appreciate any insight/assistance. Thank you!
Magz