If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Admin Tools / Admin New Order [Support Thread]

Admin New Order [Support Thread]

Started by lhungil on 4 Sep 2012, 2:24 PM · Views: 31,396

Results 21 to 40 of 113
30 Oct 2012, 5:54 PM
#21
lhungil avatar

lhungil

Totally Zenned

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

Post #21 by lhungil

relish:

On Zencart 1.5.0 ... we are getting this error when clicking 'new order' from Admin Home -> Customers -> Customers ... The website encountered an error while retrieving ...
What error message is recorded in the server logs as the cause of the "Internal Server Error"? What version of PHP is your web server running?

relish:

The link shown in the address bar is: "http://localhost/XXXXXX/new_order.php?cID=222&action=new" Can I safely assume your admin folder is named XXXXXX (or you masked the admin name with XXXXXX)? Are you running this on localhost (or masking a domain)?

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

3 Nov 2012, 3:09 PM
#22
relish avatar

relish

New Zenner

Join Date:
Jun 2012
Posts:
33
Plugin Contributions:
0

Post #22 by relish

lhungil:

What error message is recorded in the server logs as the cause of the "Internal Server Error"? What version of PHP is your web server running?

Can I safely assume your admin folder is named XXXXXX (or you masked the admin name with XXXXXX)? Are you running this on localhost (or masking a domain)?
I have masked the admin folder name with XXXXXX
Running it on localhost XAMP
Please see server info below
Attachment 11384

3 Nov 2012, 6:41 PM
#23
lhungil avatar

lhungil

Totally Zenned

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

Post #23 by lhungil

relish:

Running it on localhost XAMP
Please provide any Zen Cart error logs corresponding to the message. These can be found in the log file directory you configured when installing Zen Cart. Log files generated when browsing the admin pages usually have "adm" in the name. These may or may not have been created.

The XAMPP Apache Error logs are usually at something like "\xampp\apache\logs\error.log". Please look through your error logs and find the line corresponding to the 50X error message. These are always created when Apache displays a 50x error unless you have disabled the error_log for apache. If you have disabled the error_log, please turn it back on.

Looking at the contents of these logs should give a better idea of the underlying cause.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

2 Dec 2012, 7:52 PM
#24
anniemacbee avatar

anniemacbee

New Zenner

Join Date:
Nov 2012
Posts:
8
Plugin Contributions:
0

Post #24 by anniemacbee

Canvas101:

Ok,

Looks like a left out a line of code from my merge file as above....

added the following code //include(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/order_total/' . $value);
and all is now working.

Thanks for all you help.

I get the same messages you got wrt language. I have tried to paste your code into the class document, but nothing has changed. Can you please tell me where you included the code. Thanks.

2 Dec 2012, 8:25 PM
#25
anniemacbee avatar

anniemacbee

New Zenner

Join Date:
Nov 2012
Posts:
8
Plugin Contributions:
0

Post #25 by anniemacbee

anniemacbee:

I get the same messages you got wrt language. I have tried to paste your code into the class document, but nothing has changed. Can you please tell me where you included the code. Thanks.

No surprises there Canvas101, yours is modified. I just have a regular ol' installation, and still get titles in the subtotal and total summaries. Something is not loading the languages. I'm sure it must be something simple. Any suggestions?

2 Dec 2012, 9:06 PM
#26
anniemacbee avatar

anniemacbee

New Zenner

Join Date:
Nov 2012
Posts:
8
Plugin Contributions:
0

Post #26 by anniemacbee

Please ignore last messages. I don't know what I did, but it all works now.:blush:

26 Feb 2013, 11:34 PM
#27
adolgin avatar

adolgin

New Zenner

Join Date:
Jul 2007
Posts:
63
Plugin Contributions:
0

Post #27 by adolgin

As I am not a programmer, excuse my ignorance :-)
How to go about merging two files as needed for this installation, there must be a step by step instruction somewhere?
Once the New Order is installed, will there be a way to actually checkout (say the customer phoned in an order and gave his CC over the phone)?
Tia

27 Feb 2013, 3:35 PM
#28
lhungil avatar

lhungil

Totally Zenned

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

Post #28 by lhungil

adolgin:

... How to go about merging two files as needed for this installation, there must be a step by step instruction somewhere? ...
If you have not modified the "affected file", you can backup the original and use the file provided by this module. All changes needed from a "stock" version of Zen Cart 1.5.0 or 1.5.1 have been included. Just make sure you use the correct "affected_files" for your installed version.

If you have modified the "affected file" in the Zen Cart installation... There is no way we can create a "step by step instruction" as we have no idea what in your installation has been changed or why. You can use a tool such as WinMerge or Beyond Compare to see the differences between the files (provided by this module vs. your installation). These tools can then be used to "merge" the files as needed.

If you are unsure if the original has been modified (you inherited the installation), you can use a tool such as WinMerge or Beyond Compare to see what is different between your installation and what is included in the Zen Cart distribution.

adolgin:

... Once the New Order is installed, will there be a way to actually checkout (say the customer phoned in an order and gave his CC over the phone)?
Nope, this would require quite a large number of changes to Zen Cart to accomplish. Right now most people just add the order to Zen Cart to provide the customer with an invoice, online account to track the order, and for record keeping / reporting. When a customer calls in over the phone, payment is typically handled over the phone via other methods (for example Authorize.Net online account) and the payment is recorded manually in Zen Cart.

There is another alternative to accomplish what it sounds like you want (customer calls & you add the customer and order to Zen Cart - and take payment over the phone at the same time inside Zen Cart). However it requires a modification to Zen Cart which IMHO makes Zen Cart less secure (modifies Zen Cart to have a "master" password which can log into EVERY customer account). Using this method you can log into a customer account from the admin (or the store front) and go through checkout the same way as a customer does.

Both methods work with Zen Cart, and if you use either, I'd recommend either "Admin New Customer" or "Add Customers from Admin (1.5.0)" for adding new customer's manually. The first is basic, but works well with "Admin New Order". The second is far more robust and includes methods for importing customers ;)

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

27 Feb 2013, 5:04 PM
#29
adolgin avatar

adolgin

New Zenner

Join Date:
Jul 2007
Posts:
63
Plugin Contributions:
0

Post #29 by adolgin

Thank you very much for the answers. I did not have any changes to stock files; tried to install New Customers, Edit Orders, New Orders all on the same day (all your contributions). It appears that the 2nd and 3d went in no problem, but the first did not, conflicted with the 2, 3. There seems to be a need of merging between all 3. Right?
Your 2nd answer on the CC processing confirmed what I suspected, so I do not need to look for the right button :-)

27 Feb 2013, 5:54 PM
#30
lhungil avatar

lhungil

Totally Zenned

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

Post #30 by lhungil

Yes you would need to merge the "customers.php" files as both "Admin New Order" and "Admin New Customer" modify the same core file. With WinMerge, you just compare the two files and tell it to "merge" the code. Sent you a PM ;)

Merge #1: Right to Left (click to enlarge)
[Attachment no longer available]

Merge #2: Left to Right (click to enlarge)
[Attachment no longer available]

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

28 Feb 2013, 3:42 AM
#31
adolgin avatar

adolgin

New Zenner

Join Date:
Jul 2007
Posts:
63
Plugin Contributions:
0

Post #31 by adolgin

Thank you again, it worked :-)

8 Apr 2013, 1:32 PM
#32
newtozc32 avatar

newtozc32

New Zenner

Join Date:
Oct 2010
Location:
SoCal
Posts:
79
Plugin Contributions:
0

Post #32 by newtozc32

Ok, installed this plugin. However, the new orders button is not showing up. Any ideas? Screenshot maybe of how it is supposed to look. Yes, I already installed Edit Order 4.0.

8 Apr 2013, 2:35 PM
#33
newtozc32 avatar

newtozc32

New Zenner

Join Date:
Oct 2010
Location:
SoCal
Posts:
79
Plugin Contributions:
0

Post #33 by newtozc32

newtozc32:

Ok, installed this plugin. However, the new orders button is not showing up. Any ideas? Screenshot maybe of how it is supposed to look. Yes, I already installed Edit Order 4.0.

Update I see a new button now, however when I click on it I get a 500 server error. Where can I find error logs to see which file is not loading correctly? I have a hunch it has something to do with new_order.php.

8 Apr 2013, 3:50 PM
#34
lhungil avatar

lhungil

Totally Zenned

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

Post #34 by lhungil

newtozc32:

... I get a 500 server error. Where can I find error logs to see which file is not loading correctly?
In the Web Server error logs on your hosting provider. "500 server error" is just that, a SERVER error.

newtozc32:

I have a hunch it has something to do with new_order.php.
I have a hunch something was not installed correctly... Possibly a file was misplaced, a merge was not successful, or the installer did not complete...

First things to check: What error can be found in the server log in regards to the "500 server error"? Are there any debug logs in the /logs/ or /cache/ folder on your server?

Second, what do you see if you perform the following:

  1. Login to your Zen Cart admin.
  2. Upload "new_files_15x/admin" to your admin folder on your web server.
  3. Click on "Admin Home" in your Zen Cart admin?

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

8 Apr 2013, 5:56 PM
#35
newtozc32 avatar

newtozc32

New Zenner

Join Date:
Oct 2010
Location:
SoCal
Posts:
79
Plugin Contributions:
0

Post #35 by newtozc32

lhungil:

In the Web Server error logs on your hosting provider. "500 server error" is just that, a SERVER error.

I have a hunch something was not installed correctly... Possibly a file was misplaced, a merge was not successful, or the installer did not complete...

First things to check: What error can be found in the server log in regards to the "500 server error"? Are there any debug logs in the /logs/ or /cache/ folder on your server?

Second, what do you see if you perform the following:

  1. Login to your Zen Cart admin.
  1. Upload "new_files_15x/admin" to your admin folder on your web server.
  1. Click on "Admin Home" in your Zen Cart admin?

I saw a message that the plugin was installed. I went file for file on that portion of the installation. I think I agree with you that something did not merge correctly, however I am not sure which file could be wrong?

8 Apr 2013, 5:57 PM
#36
newtozc32 avatar

newtozc32

New Zenner

Join Date:
Oct 2010
Location:
SoCal
Posts:
79
Plugin Contributions:
0

Post #36 by newtozc32

lhungil:

In the Web Server error logs on your hosting provider. "500 server error" is just that, a SERVER error.

I have a hunch something was not installed correctly... Possibly a file was misplaced, a merge was not successful, or the installer did not complete...

First things to check: What error can be found in the server log in regards to the "500 server error"? Are there any debug logs in the /logs/ or /cache/ folder on your server?

Second, what do you see if you perform the following:

  1. Login to your Zen Cart admin.
  1. Upload "new_files_15x/admin" to your admin folder on your web server.
  1. Click on "Admin Home" in your Zen Cart admin?

Where do I find these logs or debug logs on my server?

8 Apr 2013, 6:06 PM
#37
newtozc32 avatar

newtozc32

New Zenner

Join Date:
Oct 2010
Location:
SoCal
Posts:
79
Plugin Contributions:
0

Post #37 by newtozc32

Here is what I found:

[08-Apr-2013 12:54:55] PHP Parse error: syntax error, unexpected '<' in /home/wonkyeye/public_html/xtwheelz/admin-1364756771/includes/init_includes/init_currencies.php on line 19

8 Apr 2013, 6:31 PM
#38
newtozc32 avatar

newtozc32

New Zenner

Join Date:
Oct 2010
Location:
SoCal
Posts:
79
Plugin Contributions:
0

Post #38 by newtozc32

newtozc32:

Here is what I found:

[08-Apr-2013 12:54:55] PHP Parse error: syntax error, unexpected '<' in /home/wonkyeye/public_html/xtwheelz/admin-1364756771/includes/init_includes/init_currencies.php on line 19

Update

WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_subtotal.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_shipping.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_coupon.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_group_pricing.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_tax.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_loworderfee.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_gv.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_total.php

8 Apr 2013, 6:43 PM
#39
newtozc32 avatar

newtozc32

New Zenner

Join Date:
Oct 2010
Location:
SoCal
Posts:
79
Plugin Contributions:
0

Post #39 by newtozc32

newtozc32:

Update

WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_subtotal.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_shipping.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_coupon.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_group_pricing.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_tax.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_loworderfee.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_gv.php
WARNING: Could not locate language file: includes/languages/english/modules/order_total/ot_total.php

Update

These files exist. stumped:bangin:

8 Apr 2013, 7:14 PM
#40
lhungil avatar

lhungil

Totally Zenned

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

Post #40 by lhungil

newtozc32:

[08-Apr-2013 12:54:55] PHP Parse error: syntax error, unexpected '<' in /home/wonkyeye/public_html/xtwheelz/admin/includes/init_includes/init_currencies.php on line 19
Check the indicated file: "/admin/includes/init_includes/init_currencies.php". Something is not right around line 19.

newtozc32:

WARNING: Could not locate language file: includes/languages/english/modules/order_total.php ...
This means something is not right in how "/includes/classes/order_total.php" mas merged. This file loads the language files for order total modules.

This module does include a number of changes to core files, both in the admin and catalog. You will need to go through and make sure you merged the correct files in the correct folders... correctly :)

Probably not related, but you might also want to check and make sure in "/admin/includes/configure.php" all your paths are correctly specified - as this module reads the paths from the Zen Cart configuration.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker