Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Orders not appearing on Admin>Customers>Orders


antinomia

Recommended Posts

Posted

Hi all-

 

I've been futsing with this for a little while now to no avail. I can place orders just fine as a customer, and I get the confirmation email, but when I go to the admin section to view them, they do not appear.

 

Funny thing is, in the 'Orders Pending, Processing, Delivered' summary on the Admin home page, it shows that there are 5 orders pending. If I click on 'Pending', it takes me to the orders page but none of them show up. If I search for an order number (#1-5), the invoice will load and I can view the data, but why won't the list come up?

 

I've tried reinstalling admin/orders.php but that didn't help. I mean, the data is in the database, obviously, but the orders.php page just doesn't seem to be parsing it correctly. Any ideas?

 

-Matt

Posted

I'm having this issue as well, only I hve the Coupon Class and GV v5/03 mod installed.. Do you have that installed?

If so, I've yet to get an answer..

The only thing I can tell you is to enter your own email address in the "send extra email to" field under Configuration/My Store

At least that way, you are notified of the orders.. :cry:

Posted

Using PHPMyAdmin (or a similar tool), look at the records in the orders table and verify that the orders_status is something other than 1 and let me know the results.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

That is the problem then.

 

The order status has to be greater than 0 in order to appear in the list.

 

Now the question is why are the statuses set to 0? In Admin ~ Localization ~ Orders status, what is set as the default status?

 

Then (using PHPMyAdmin again) look in the orders_status table and see what the id of the default setting is.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

I don't have an order_status field in the orders table, I do have an orders_status table with an order_status_id set to 0.

 

In localization, my default is set to 'pending' and the other two are still labeled 'processing' and 'delivered.'

 

Can I change a variable in phpMyAdmin to correct this problem?

 

Thanks,

Matt

Posted

The default status is Pending

 

In PHPMyAdmin the order_status table the id of the default setting is also 0

 

I'm guessing that's the problem?

Posted

Yes, the default setting must be 1.

 

The order_status_id should be an auto_incrementing field so all of the statusus should run sequentially (i.e. 1, 2, 3, etc) and never be zero.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

Ok, I changed that to 1, but it's still not working :(

I really appreciate you taking the time to help!

Posted

Did you also set the orders_status for all of the records in the orders table to 1 as well?

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

This is my orders_status table (when browsing)

                orders_status_id          language_id          orders_status_name          

Edit Delete            1                         1                      Pending

Edit Delete            2                         1                    Processing

Edit Delete            3                         1                      Shipped

 

orders_status in the Orders Table - default is set to 1

 

Am I looking at the right thing? I'm a relative mysql newbie (i backed up the database before I started messing with it lol)

 

thanks

Posted

I have this same exact problem!!!

 

I looked in my DB and noticed my order had no order ID.... so I can't even pull it up by searching....

 

Any ideas? I changed the status default to 1 like already said....

Angela

Posted

Same here, I changed my orders_status_id default to '1', and no orders are showing up, even after placing a new order. There are 7 records in the orders table with orders_id from '1' to '7' and all with order_status of '1'. What is 'orders_date_finished'? These are all set to null.

Posted

ok, looking through orders_total I found the order ID which was zero for some reason.... but it was not connected to the order in the orders table...

 

I put it in and now it shows up....

 

Now I need to know why that happened....

I can also only assume that is why I didn't get an email of the order even tho I have the send extra order emails too set to my email...

 

Any ideas?

Angela

Posted

While in PHPMyAdmin, click the SQL tab and enter the following:

update table orders set orders_status=1 where orders_status=0;

 

Verify that records are updated (it tells you near the top).

 

The look at your orders screen (be sure to press F5 when you get there to refresh the screen) and let me know if you have a listing.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted
While in PHPMyAdmin, click the SQL tab and enter the following:

update table orders set orders_status=1 where orders_status=0;

 

 

Here is the result I receive:

 

Error



   SQL-query?:? 



   UPDATE TABLE orders SET orders_status = 1 WHERE orders_status = 0 



   MySQL said: 



You have an error in your SQL syntax near 'TABLE orders SET orders_status = 1 WHERE orders_status = 0' at line 1

Posted
While in PHPMyAdmin, click the SQL tab and enter the following:

update table orders set orders_status=1 where orders_status=0;

Here is the result I receive:

Error



   SQL-query?:? 



   UPDATE TABLE orders SET orders_status = 1 WHERE orders_status = 0 



   MySQL said: 



You have an error in your SQL syntax near 'TABLE orders SET orders_status = 1 WHERE orders_status = 0' at line 1

I must have been tired and I apologize for the error. :oops:

 

The proper sql statement is:

update orders set orders_status=1 where orders_status=0;

just remove table from the original statement.

 

Jim

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted
Hi all-

 

I've been futsing with this for a little while now to no avail. I can place orders just fine as a customer, and I get the confirmation email, but when I go to the admin section to view them, they do not appear.

 

Funny thing is, in the 'Orders Pending, Processing, Delivered' summary on the Admin home page, it shows that there are 5 orders pending. If I click on 'Pending', it takes me to the orders page but none of them show up. If I search for an order number (#1-5), the invoice will load and I can view the data, but why won't the list come up?

 

I've tried reinstalling admin/orders.php but that didn't help. I mean, the data is in the database, obviously, but the orders.php page just doesn't seem to be parsing it correctly.  Any ideas?

 

-Matt

 

To see another fix goto

http://www.oscommerce.com/forums/viewtopic.php?t=41103

 

Jeff

www.discountmagazinehouse.com

Posted
I must have been tired and I apologize for the error.   :oops:  

 

The proper sql statement is:

update orders set orders_status=1 where orders_status=0;

just remove table from the original statement.

 

Jim

 

...and the result:

 

Affected rows:?0



SQL-query?:?[Edit]?[Create PHP Code]

UPDATE orders SET orders_status = 1 WHERE orders_status = 0

 

However, I did try the hack as Purple Patch suggests (http://www.oscommerce.com/forums/viewtopic.php?t=41103) and it is seeming to work correctly...

 

This is a very odd problem, does something need to be changed in the distribution so this doesn't happen to scores more people?

 

Thank,

Matt

Posted

Happened to me on one of two stores both from MS1 - can't explain why!

 

The MySQL method didn't work "0 row(s) affected".

Posted

What is the value of the orders_status in the order table for your records then?

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

All 1, except paypal which is 99999 - both the saite that works and the one that oders don't appear in admin in.

Posted

Is the orders_status_id for the Pending status in the orders_status table set to 1?

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...