Jump to content

Admin + Expired Session + Update Order = Broken Order

Recommended Posts


I seems several times that I'm logged in admin, and open an order to update and send customers new order status.

After update the order, I must to accept a call or make another thing, and when I update the order the session was expired.

I log in again, and now... the order doesn't appear in "orders".

I see on admin/application.php that have a tep_redirect if not logged or your session is expired, and in admin/includes/function/general.php that the tep_redirect have an "exit;" in the code, but something are wrong.

If I access to another order, and change the order by this one, the order are there, but have an order status problem.


Anybody have any idea to prevent the order update at all, if your session are expired?

Thanks in advance.

Share this post

Link to post
Share on other sites

The easiest workaround is to create (via phpmyadmin) an extra order status with status id set to 0 and a description something like 'status error - needs resetting'.

Then the order doesn't disappear

For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (Phoenix).

here: on the official osc download page

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post

Link to post
Share on other sites

I'm trying to reproduce the error, but in a fresh install, I look that now seems to admin sessions don't expire.

Anyone can confirm this, please?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now