VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: anna_w27 on August 07, 2013, 13:36:54 PM

Title: COM_VIRTUEMART_CART_ORDER_NOTFOUND when trying to print the order
Post by: anna_w27 on August 07, 2013, 13:36:54 PM
Virtuemart 2.0.22a
Joomla 2.5.9

Since this afternoon, I have the following error: COM_VIRTUEMART_CART_ORDER_NOTFOUND when I'm trying to print an order.
This error is not applicable to all orders.

Anyone that knows what went wrong?

Hope someone can help.
Title: Re: COM_VIRTUEMART_CART_ORDER_NOTFOUND when trying to print the order
Post by: anna_w27 on August 07, 2013, 13:39:02 PM
Before the error it also states limited access.
Title: Re: COM_VIRTUEMART_CART_ORDER_NOTFOUND when trying to print the order
Post by: Maxim Pishnyak on August 08, 2013, 22:29:55 PM
Could you turn on displaying errors and debug mode and post here what you will get?
Title: Re: COM_VIRTUEMART_CART_ORDER_NOTFOUND when trying to print the order
Post by: sysman on August 12, 2013, 12:19:25 PM
Hi, I am also having the same problem.  However, I have noticed the following and hope it helps in eventually resolving the issue.  Firstly, note I am using a GAVICKPRO template and VM 2.0.22a on Joomla 2.5.13.

The exact error I am getting is "Restricted access!COM_VIRTUEMART_CART_ORDER_NOTFOUND " when selecting "Orders and Shoppers" -> "Orders" -> "Print" from the VM2 administrator back-end in Joomla.  I have noticed that this error only appears if the USER of the store is also LOGGED-IN to the store website (front-end).  If the store USER LOGS-OUT from the front-end and I try and "Print" the same order again, I am able to do so without the error. 

If I log-in the same user again in the front-end store, and try and "Print" the same order, the error comes back.  I am able to replicate this scenario with different users.  I think the error could be related to whether a user has logged onto the website and at the same time when an administrator (vendor?) is trying to "Print" the order of the logged-in user.  This error seemed to have started when I upgraded from VM2 2.0.20b to 2.0.22a (I had also upgraded my GAVICKPRO template at the same time to 2.16.1).   At this stage,  I am not sure if the problem is related to the upgrade to my template or VM2.  Remember to flush your caches when trying to replicate the error for those having this problem.  I will also log this problem with the template provider.
Title: Re: COM_VIRTUEMART_CART_ORDER_NOTFOUND when trying to print the order
Post by: jjk on August 12, 2013, 20:41:01 PM
I just tried it on one of my sites and I don't receive the error message when I print an order while the user is logged into the FE. (J2.5.14/VM2.022a/no Gavick template), but maybe the 'problem' is simply a typo in one of the VirtueMart files. Will report it to the developers.
Title: Re: COM_VIRTUEMART_CART_ORDER_NOTFOUND when trying to print the order
Post by: sysman on August 24, 2013, 11:48:28 AM
Title: Re: COM_VIRTUEMART_CART_ORDER_NOTFOUND when trying to print the order
Post by: EmmyBee on September 10, 2013, 14:49:23 PM
This just occurred for me so I came looking for answers.
It was just that I had logged on the front end using a Guest Log on and the IP was conflicting. I just logged off both - cleared cache and logged back on as Admin and it fixed.