VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: pm4698 on January 29, 2015, 13:37:50 PM

Title: Cannot print orders
Post by: pm4698 on January 29, 2015, 13:37:50 PM
Hello there,

I use joomla 2.5.x and vm 2.6.10.

All of sudden, when i try to print an order from administration area then the pop up window opens with this message:
Limited access!COM_VIRTUEMART_CART_ORDER_NOTFOUND

Any ideas?

Thank you in advance

P.S. PDF invoice button works just fine
Title: Re: Cannot print orders
Post by: jenkinhill on January 29, 2015, 13:52:34 PM
"All of a sudden"  - OK so what changed? Something else installed? Change on the server eg PHP?
Title: Re: Cannot print orders
Post by: pm4698 on January 29, 2015, 13:56:37 PM
Now that i am thinking of, maybe some other co-worker did some changes but currently i cannot find him. Do you have any idea what my have caused this?
Title: Re: Cannot print orders
Post by: jenkinhill on January 29, 2015, 14:51:04 PM
No idea. I have never seen this happen.
Title: Re: Cannot print orders
Post by: Jörgen on April 15, 2015, 21:49:41 PM
Hello  :)

I am also struggling with this.

Right now I am finishing my new migrated VM3 site and have experienced a lot of peculiarities. Most of them I have been able
to solve, but not this one. I don´t think this is coming from the migration. Easily tested.

If I am logged in as a "normal" user in the frontend I can´t  print orders in the back end. If I log out the "normal" user
from the front end I can print out orders.
This looks like some kind of session problem and the back end sees the front end user as the active user.

QuoteDu är obehörig!COM_VIRTUEMART_CART_ORDER_NOTFOUND

Notice the Swedish error text, backend is actually English (GB) with super user and unlimited rights, the text setting seems to be looking at the frontend that is Swedish with normal user and restricted rights.

Is there any solution available for this?

Working with different users in front end and back end is convinient when developing and testing. But right now I have
to log out from the front end if I want to use this function in the back end.

VM 3.0.6.4
Joomla 3.4.1
PHP 5.6.7

regards 

Jörgen @ Kreativ Fotografi
Title: Re: Cannot print orders
Post by: jenkinhill on April 16, 2015, 16:42:06 PM
What if you use different browsers BE/FE? Never tried it, but I have never seen your problem.
Title: Re: Cannot print orders
Post by: Jörgen on April 17, 2015, 07:17:40 AM
Thanks Kelwyn

Yes, this idea has crossed my mind. I will test this. My guess is that both of the users share the same session and that this break the access checks in the backend.

have a nice day

Jörgen @ Kreativ Fotografi
Title: Re: Cannot print orders
Post by: loppan on February 17, 2016, 21:44:56 PM
Same problem here. I'm often logged in as a "normal" user in the FE to test stuff, but to be able to print invoices I have to first logout the FE user, otherwise I get the "Restricted access!COM_VIRTUEMART_CART_ORDER_NOTFOUND" message too. Perhaps this is a bug that should be looked in to?

Thanks

Peter
Title: Re: Cannot print orders
Post by: Jörgen on February 18, 2016, 08:42:55 AM
Hello Peter

I have learned to live with this. It is not so hard to log out before printing out invoices. Hopefully there are no other security implications than this little inconvenience. Strange that no one else has reported this issue.

regards

Jörgen @ Kreativ Fotografi