Re: Super Orders + Edit Orders
Quote:
Originally Posted by
DML73
Ok I removed Super Orders 4.0.4. I removed it instead of upgrading just to be sure everything is removed. Then I installed Super Orders 4.0.9 and it installed and works without errors or problems. ...
And what if anything did you do with Edit Orders? Did you leave everything as-is? Did you run the uninstall? Did you remove the files? Did you remove the database entries?
Quote:
Originally Posted by
DML73
... As far as I can see then init_eo_remove.php is not a part of the Edit Orders module...
It is part of the distribution zip related to uninstallation of Edit Orders.
Quote:
Originally Posted by
DML73
... What can I do to solve the problem ? :blink:
Is this on a production website (or a test website)?
Do you have a backup from before you started the upgrade (step 0)?
Are you leaving "extra" backup copies of PHP files on the web server?
Where do you store your backups?
How are you uploading files to the web server?
What version of Zen Cart and PHP are installed?
Was Zen Cart or PHP upgraded from a previous version (if so how were they upgraded)?
What web server software is the hosting provider running (Apache, IIS, Nginx, etc)?
Is the hosting provider using APC, eAccelerator, or Xcache?
Did you re-perform step #0, #1, and #2 of the Edit Orders installation (before step #3: Install)?
Re: Super Orders + Edit Orders
Hi All,
I want to know, if I want to install both Edit Order 4.x and Super Order 3.x, actually, install which one first? Or do they have the relationship which one must first, which one must after?
Since see the files both have some override ...
Thank you.
Best Regards,
Jimmy Chan
http://www.jimmychan.tk
http://explorerhome.no-ip.org/blog
Re: Super Orders + Edit Orders
Quote:
Originally Posted by
explorer1979
Hi All,
I want to know, if I want to install both Edit Order 4.x and Super Order 3.x, actually, install which one first? Or do they have the relationship which one must first, which one must after?
Since see the files both have some override ...
Thank you.
Best Regards,
Jimmy Chan
http://www.jimmychan.tk
http://explorerhome.no-ip.org/blog
It actually does not matter which you install first. As always, make a backup first, and install on a test site to see if it works accordingly. I seen far too many cases that have not done those 2 simple things. Just take care when merging the core files, especially when the same file affects both mods.
Re: Super Orders + Edit Orders
When I'm in the edit order screen I have this highlighted in red at the top of the screen:
https://manoszapotecas.com/shop/ctrl...ns/warning.gif WARNING_ORDER_TOTAL_SUBTOTAL
my admin debug file says:
[21-Jul-2014 21:53:45 UTC] PHP Warning: include_once(includes/modules/shipping/table.php): failed to open stream: No such file or directory in /home/mz/public_html/shop/includes/classes/shipping.php on line 58
[21-Jul-2014 21:53:45 UTC] PHP Warning: include_once(): Failed opening 'includes/modules/shipping/table.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mz/public_html/shop/includes/classes/shipping.php on line 58
[21-Jul-2014 21:53:45 UTC] PHP Fatal error: Class 'table' not found in /home/mz/public_html/shop/includes/classes/shipping.php on line 59
But these errors are only generated by edit orders. I don't recieve these errors when looking at the shipping modules in admin or as an error in regular debug files.
Re: Super Orders + Edit Orders
Quote:
Originally Posted by
lhungil
And what if anything did you do with Edit Orders? Did you leave everything as-is? Did you run the uninstall? Did you remove the files? Did you remove the database entries?
It is part of the distribution zip related to uninstallation of Edit Orders.
Is this on a production website (or a test website)?
Do you have a backup from before you started the upgrade (step 0)?
Are you leaving "extra" backup copies of PHP files on the web server?
Where do you store your backups?
How are you uploading files to the web server?
What version of Zen Cart and PHP are installed?
Was Zen Cart or PHP upgraded from a previous version (if so how were they upgraded)?
What web server software is the hosting provider running (Apache, IIS, Nginx, etc)?
Is the hosting provider using APC, eAccelerator, or Xcache?
Did you re-perform step #0, #1, and #2 of the Edit Orders installation (before step #3: Install)?
Thanks a lot, your reply made me start thinking :blush:
I kept getting errors no matter what I did, so I decided to revert back to zero and then uninstall both Edit Orders 404 and Super Orders 404. While I was uninstalling I found some old Super Orders files which I believe I forgot to uninstall earlier. I then first installed Edit Orders 414 and then Super Orders 409 and now its finally working :jump:
Re: Super Orders + Edit Orders
Quote:
Originally Posted by
explorer1979
Hi All,
I want to know, if I want to install both Edit Order 4.x and Super Order 3.x, actually, install which one first? Or do they have the relationship which one must first, which one must after?
Since see the files both have some override ...
Thank you.
Best Regards,
Jimmy Chan
http://www.jimmychan.tk
http://explorerhome.no-ip.org/blog
Quote:
Originally Posted by
yaritai
It actually does not matter which you install first. As always, make a backup first, and install on a test site to see if it works accordingly. I seen far too many cases that have not done those 2 simple things. Just take care when merging the core files, especially when the same file affects both mods.
It is suggested that if installing BOTH the order you install doesn't matter, but HOW you approach the installing does..
If you install Super Orders AFTER Edit Orders, you can simply replace the orders.php file with the one from Super Orders (no merging required unless you have other modifications to this file). Though is is suggested if Super Orders is installed after Edit Orders that the Edit Orders "install" step should be run again, current versions of Super Orders makes that step unnecessary.
If you already have Super Orders installed you DO NOT need to upload the orders.php file from Edit Orders. Though the Edit Orders "install" step could be run again, current versions of Super Orders probably makes that step unnecessary.
Re: Super Orders + Edit Orders
DivaVocals, and yaritai,
Thank you very much of this detail inform. Very useful for me :-)
Best Regards,
Jimmy Chan
http://www.jimmychan.tk
http://explorerhome.no-ip.org/blog
Re: Super Orders + Edit Orders
Quote:
Originally Posted by
BGundlach
This indicates you either have the Zen Cart "order total modules" system disabled or do not have the subtotal (ot_subtotal) order total module enabled. The order total system needs to be enabled (and both ot_subtotal and ot_total enabled at the minimum) for Edit Orders 4.1+ to operate.
Thank You for the reminder I still need to add some language for WARNING_ORDER_TOTAL_SUBTOTAL and WARNING_ORDER_TOTAL_TOTAL.
Quote:
Originally Posted by
BGundlach
...
my admin debug file says:
[21-Jul-2014 21:53:45 UTC] PHP Warning: include_once(includes/modules/shipping/table.php): failed to open stream: No such file or directory in /home/mz/public_html/shop/includes/classes/shipping.php on line 58
[21-Jul-2014 21:53:45 UTC] PHP Warning: include_once(): Failed opening 'includes/modules/shipping/table.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mz/public_html/shop/includes/classes/shipping.php on line 58
[21-Jul-2014 21:53:45 UTC] PHP Fatal error: Class 'table' not found in /home/mz/public_html/shop/includes/classes/shipping.php on line 59
... But these errors are only generated by edit orders. I don't recieve these errors when looking at the shipping modules in admin or as an error in regular debug files. ...
This can happen if "/includes/classes/shipping.php" has not been correctly merged to load the module from the correct location (I'm not seeing any value for DIR_FS_CATALOG prepended to the filename). The usual fix is to redo the installation of Edit Orders, paying especially close attention when merging changes to core Zen Cart files.
Re: Super Orders + Edit Orders
Quote:
Originally Posted by
DML73
... now its finally working :jump:
:clap: Glad you are back in business!
Thank You for letting us know a removal and re-installation of Super Orders and Edit Orders solved the issues your store was experiencing.
Re: Super Orders + Edit Orders
Quote:
Originally Posted by
DivaVocals
... If you install Super Orders AFTER Edit Orders, you can simply replace the orders.php file with the one from Super Orders (no merging required unless you have other modifications to this file). Though is is suggested if Super Orders is installed after Edit Orders that the Edit Orders "install" step should be run again, current versions of Super Orders makes that step unnecessary.
If you already have Super Orders installed you DO NOT need to upload the orders.php file from Edit Orders. Though the Edit Orders "install" step could be run again, current versions of Super Orders probably makes that step unnecessary.
...
Correct (and nicely summarized). Just to clarify: You do need to run the Edit Orders installer after installing / upgrading Edit Orders. Does not matter if Super Orders is or is not installed.
If Edit Orders 4.1+ is installed first:
- Overwrite "/admin/orders.php" with the version from Super Orders.
- Finish the installation of Super Orders.
- If Super Orders <= 4.0.5 was installed, run the Edit Orders installer.
If Super Orders 4.0+ is installed first:
- Do not overwrite (or merge) "/admin/orders.php" with the version from Edit Orders.
- Run the Edit Orders installer (when that step of the installation is reached).
Note: Running the Edit Orders installer after installing Super Orders >= 4.0.6 will not cause any issues. So no need to fret too much one way or the other.