Zen Cart Logo
Forums / Addon Admin Tools / Edit Orders v4.0 Support Thread

Edit Orders v4.0 Support Thread

Views: 345,912

Results 201 to 220 of 1,927
15 Jul 2013, 15:02
#201
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Edit Orders v4.0 Support Thread

Edit Orders 4.1.1 is now available in the Zen Cart plugin repository.

Important
The process for installation, upgrading, and removal of this module has changed. Make sure to take the time to read the included "readme" before installing, upgrading, or removing this version of "Edit Orders".

15 Jul 2013, 18:56
#202
su35 avatar

su35

Zen Follower

Join Date:
Oct 2011
Posts:
168
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Hi lhungil

I just install the 4.1.1, and get the error information as follow:

PHP Warning: include_once(includes/modules/shipping/freeoptions.php): failed to open stream: No such file or directory in E:\website\onlinestore\includes\classes\shipping.php on line 68

I had checked that the freeoptions.php exactly was there. Could you help to local the problem?

Thanks

15 Jul 2013, 19:11
#203
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v4.0 Support Thread

where were you in the module and what were you doing when you got the error?> su35:

Hi lhungil

I just install the 4.1.1, and get the error information as follow:

PHP Warning: include_once(includes/modules/shipping/freeoptions.php): failed to open stream: No such file or directory in E:\website\onlinestore\includes\classes\shipping.php on line 68

I had checked that the freeoptions.php exactly was there. Could you help to local the problem?

Thanks

15 Jul 2013, 19:59
#204
su35 avatar

su35

Zen Follower

Join Date:
Oct 2011
Posts:
168
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Zencart 1.5.1
Super order 4.0.5
Edit order 4.1.1
Admin ->Customers -> order: click edit button ->page fail to load. check the logs ->get the error info from log file

15 Jul 2013, 20:12
#205
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Edit Orders v4.0 Support Thread

su35:

... PHP Warning: include_once(includes/modules/shipping/freeoptions.php): failed to open stream: No such file or directory in E:\website\onlinestore\includes\classes\shipping.php on line 68 ...
The include_once which loads the shipping module is on line #67 of the modified "shipping.php" file included in the distribution zip. The include_once is also lacking DIR_FS_CATALOG. These lead me to suspect you have done some merging of "/includes/classes/shipping.php" by hand... Have you double checked to ensure you correctly merged the necessary changes into this file (or uploaded the modified copy as-is)?

Another possibility is the settings in your admin configure.php contain invalid settings for DIR_FS_CATALOG.

15 Jul 2013, 22:29
#206
su35 avatar

su35

Zen Follower

Join Date:
Oct 2011
Posts:
168
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Hi lhungil and DivaVocals

Thanks for your reply. As lhungil mentioned, I found a mistake in the shipping.php that made when I merged Edit order with others. thanks again.

17 Jul 2013, 19:51
#207
beadingmad avatar

beadingmad

New Zenner

Join Date:
Jun 2013
Location:
United Kingdom
Posts:
8
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Hi All

Edit items installed and works fine until you click the update button and I get a error 500 internal server error? any ideas?

Dave

17 Jul 2013, 20:42
#208
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Edit Orders v4.0 Support Thread

beadingmad:

Edit items installed and works fine until you click the update button and I get a error 500 internal server error? any ideas?
Check your webserver's error logs (and post anything found). Note the server error logs are separate from the Zen Cart debug / error logs. The server error logs should help determine the cause.

The usual suspects are something missed during the installation or security settings set by the hosting provider (see this Zen Cart article on HTTP 500).

17 Jul 2013, 21:08
#209
beadingmad avatar

beadingmad

New Zenner

Join Date:
Jun 2013
Location:
United Kingdom
Posts:
8
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Thanks for the reply

I have checked and are not getting any errors PHP error_log:

No php error_log files found.

lhungil:

Check your webserver's error logs (and post anything found). Note the server error logs are separate from the Zen Cart debug / error logs. The server error logs should help determine the cause.

The usual suspects are something missed during the installation or security settings set by the hosting provider (see this Zen Cart article on HTTP 500).

17 Jul 2013, 21:44
#210
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Edit Orders v4.0 Support Thread

You may need to contact your hosting provider to get access to the Web Server Error Logs (these will include the HTTP 500 - Internal Server Error).

19 Jul 2013, 22:27
#211
quality_refurbished avatar

quality_refurbished

New Zenner

Join Date:
Feb 2013
Posts:
41
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

I have this error in admin

Filesystem Error: Unable to delete '/var/www/vhosts/myserver.co.uk/joblotdeals/zen_admin/includes/functions/extra_functions/common_orders_functions.php'. Verify your web server has access to delete this file. Installation will not continue until the web server is granted access to remove the file.
Filesystem Error: Unable to delete '/var/www/vhosts/myserver.co.uk/joblotdeals/zen_admin/includes/extra_datafiles/edit_orders_defines.php'. Verify your web server has access to delete this file. Installation will not continue until the web server is granted access to remove the file.
Edit Orders installation / upgrade failed!

How can I fix this please?

19 Jul 2013, 23:35
#212
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Edit Orders v4.0 Support Thread

Quality Refurbished:

Filesystem Error: Unable to delete '/var/www/vhosts/myserver.co.uk/joblotdeals/zen_admin/includes/functions/extra_functions/common_orders_functions.php'. Verify your web server has access to delete this file. Installation will not continue until the web server is granted access to remove the file.

Filesystem Error: Unable to delete '/var/www/vhosts/myserver.co.uk/joblotdeals/zen_admin/includes/extra_datafiles/edit_orders_defines.php'. Verify your web server has access to delete this file. Installation will not continue until the web server is granted access to remove the file.
This message appears when permissions are not configured to allow the web server to delete those files. Give the web server access to delete those two files (via FTP, CPanel, etc). Afterwards run the installer again.

20 Jul 2013, 21:23
#213
ryaneod avatar

ryaneod

New Zenner

Join Date:
Mar 2013
Location:
South Carolina, United States
Posts:
23
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Ok, I have somehow successfully broken everything. So, I originally had a problem with a shipping address. I went into an order and edited it, and then got the problem of the subtotals not updating correctly. So, I decided to try to update to 4.1.1 to have the problem fixed. But, I still had the subtotal problem and then I messed something up and have tried to revert back and then re-do and now I am just stuck. I made the stupid mistake of not backing up before beginning this process. I am willing to let the order just be messed up due to the frustration it has caused me. BUT, now when I try to edit an order, I get a Page Not Found Error on - admin/FILENAME_ORDER_EDIT.php?origin=index&page=1&oID=XXXX&action=edit So, I believe I am missing a page on my Edit Order install, any suggestions? I also notice when trying to print a packaging slip it is showing the same image for 2 products, which makes me think it is messed up on them.

So, I have Edit Orders 4.1.1, Super Orders 4.0.5 and Ty Tracker 3.1.3 - Zen Cart 1.5.1 and I would love any suggestions please?

20 Jul 2013, 21:24
#214
quality_refurbished avatar

quality_refurbished

New Zenner

Join Date:
Feb 2013
Posts:
41
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

Thank you for your reply and help

20 Jul 2013, 22:03
#215
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Edit Orders v4.0 Support Thread

su35:

... I found a mistake in the shipping.php that made when I merged Edit order with others. thanks again.
No problem, glad you were able to find the mistake and get everything up and running!

Quality Refurbished:

Thank you for your reply and help
No problem.

20 Jul 2013, 22:12
#216
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Edit Orders v4.0 Support Thread

RyanEOD:

...But, I still had the subtotal problem and then I messed something up and have tried to revert back and then re-do and now I am just stuck. ...
Re-install Edit Order's 4.1.1 (all steps to make sure your files are up to date) and make note of any messages. If you replaced "orders.php" with the one from "Super Orders" or any other module after the installation of "Edit Orders", the changes made during installation of "Edit Orders" will no longer be present in "orders.php". If you re-install "Edit Orders" the installer should automatically make the needed changes to "orders.php".

The "Edit Orders" installer changes all instances of FILENAME_ORDER_EDIT to FILENAME_EDIT_ORDERS if a version of "Super Order" <= "4.0.5" is installed.

RyanEOD:

...I am willing to let the order just be messed up due to the frustration it has caused me. ...
Once "Edit Orders" 4.1.1 is re-installed (and working), you have two options to fix the "messed up" order's subtotal:

  1. Write down a list of products (including attributes and price) from the order. Remove all products from the order using "Edit Orders". Use phpMyAdmin or similiar to manually correct the "text" and "value" for subtotal and total (if nothing is in the order these should be "$0.00" and "0.0000" in the orders and orders_total database tables (for the specific order_id). This should fix the order to have correct subtotal and total data. You can then go back to "Edit Orders" and re-add the products.
  2. Simply create a new order for the customer (see the "Admin New Order" plugin or "Encrypted Master Password" plugin). You can then use "Edit Orders" to re-create the order information in the "messed up" order. When done, you can delete the "messed up" order (so it does not show in invoices or the customer history).
21 Jul 2013, 03:05
#217
ryaneod avatar

ryaneod

New Zenner

Join Date:
Mar 2013
Location:
South Carolina, United States
Posts:
23
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

lhungil:

Re-install Edit Order's 4.1.1 (all steps to make sure your files are up to date) and make note of any messages. If you replaced "orders.php" with the one from "Super Orders" or any other module after the installation of "Edit Orders", the changes made during installation of "Edit Orders" will no longer be present in "orders.php". If you re-install "Edit Orders" the installer should automatically make the needed changes to "orders.php".

The "Edit Orders" installer changes all instances of FILENAME_ORDER_EDIT to FILENAME_EDIT_ORDERS if a version of "Super Order" <= "4.0.5" is installed.

Once "Edit Orders" 4.1.1 is re-installed (and working), you have two options to fix the "messed up" order's subtotal:

  1. Write down a list of products (including attributes and price) from the order. Remove all products from the order using "Edit Orders". Use phpMyAdmin or similiar to manually correct the "text" and "value" for subtotal and total (if nothing is in the order these should be "$0.00" and "0.0000" in the orders and orders_total database tables (for the specific order_id). This should fix the order to have correct subtotal and total data. You can then go back to "Edit Orders" and re-add the products.
  1. Simply create a new order for the customer (see the "Admin New Order" plugin or "Encrypted Master Password" plugin). You can then use "Edit Orders" to re-create the order information in the "messed up" order. When done, you can delete the "messed up" order (so it does not show in invoices or the customer history).

Thank you very much for the help! The steps worked, I wanted to keep that order as the same one due to the customer had already paid with Paypal so I didn't know how bad it would jack things up to cancel that order and redo a new one. So, I followed the steps for getting into SQL and after editing it there and then adding everything back in I am now good to go on that side!

I have one more problem but I think it is a Super Orders thing, when I go to bring up the Packaging Slip, and I have images on, it shows the same thumbnail for 2 different products. Any thoughts or should I move this over to the support thread for it?

Thanks again for all your help!

27 Jul 2013, 13:30
#218
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Edit Orders v4.0 Support Thread

I've got Edit Orders 4.1.1 installed on a client's v1.5.1 site (running PHP 5.2.17). The store has products with a bunch of attributes and I'd asked the owner to perform a bit a verification of some of the issues he'd found with EO v4.1. He was editing a test order, adding a product that includes a checkbox attribute and indicated that the option didn't have a label in the "add product" screen. I didn't think much about it until I was checking the store's /logs folder and found:

[26-Jul-2013 15:50:46] PHP Warning:  array_shift(): The argument should be an array in <ADMIN/includes/functions/extra_functions/edit_orders_functions.php on line 486
[26-Jul-2013 15:50:46] PHP Warning:  Invalid argument supplied for foreach() in <ADMIN>/includes/functions/extra_functions/edit_orders_functions.php on line 487

I'm thinking that they're related ...

Any insight or additional tests I could perform are welcomed.

28 Jul 2013, 05:13
#219
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Edit Orders v4.0 Support Thread

lat9:

... adding a product that includes a checkbox attribute and indicated that the option didn't have a label in the "add product" screen. ...
Not sure exactly what would cause the label to not show... Except maybe if no products_options_id existed for the admin language (the query would pull the products_attributes_id but would not be able to match a products_options / products_options_values)... Is the store by any chance a multilingual store?

lat9:

...

[26-Jul-2013 15:50:46] PHP Warning: array_shift(): The argument should be an array in <ADMIN/includes/functions/extra_functions/edit_orders_functions.php on line 486
[26-Jul-2013 15:50:46] PHP Warning: Invalid argument supplied for foreach() in <ADMIN>/includes/functions/extra_functions/edit_orders_functions.php on line 487

> ...
Not related. The function containing those lines is not called when listing the options (attributes) on the "add product" page. Should not affect functionality (just does not add the attribute to the product as none were checked).

Thank You for reporting this debug message. It seems when I switched the test environments over to suphp I forget to change the php.ini settings from production to development (so they were not reporting warnings). I'll take care of the specific case generating that warning in the next release.
30 Jul 2013, 15:58
#220
bsonhome avatar

bsonhome

New Zenner

Join Date:
May 2013
Location:
hogn kong
Posts:
7
Plugin Contributions:
0

Re: Edit Orders v4.0 Support Thread

hi
i find a bug of the module,
the subtotal still not work 100% correctly
if only one product it working fine..
if more than one product and try to change the quantity or unit price the subtotal will go wrong
i am not sure how to fix it
if any help will be thankful