Restricted access!Order not found! It may have been deleted.

Started by mkilkie, August 24, 2016, 03:16:51 AM

Previous topic - Next topic

mkilkie

I am running VM 3.0.16 on Joomla 3.6.2 and using the gavick.com storebox template. I am also running PHP 7

My order entry, cart update and checkout all go ok, orders appear ok in my backend orderlist and print ok but the user gets the following message on their cart after checking out - prompt is view your order.

The error doesnt appear to cause any order processing problem but i worry it is and certainly customers will be confused.

hope you can help.

thanks

Martin

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

mkilkie

the url is: /index.php/shop/orders/number/Order-%202016-08-007?order_pass=7b8d2 and I am using a dummy payment method for testing. I can see that the order no in the url is wrong it should be %2016-08-007 the password is correct. The actual order number of the order is 19, so somehow I think the order has got out of sync. I did delete some old orders, is it possible this did it? Any quick ideas how to reset the order counter? Also I use the "advanced order numbers for virtuemart" plugin.

thanks for the help, even the question back helped a lot.

Martin

Jörgen

Hello

%20 is the same as space :)

You have a space that gets added Before the ordernumber. Check the code that creates the order number. Are You perhaps using the istraxx plugin ? Check Your syntax and if it is correct, talk to the plugin developer.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

mkilkie

What a moron!!! Obvious. I was concentrating so much on the fact i had deleted some orders just before the problem but I had also "tidied up" the order number format. I HAD PUT IN A SPACE.

thanks for pointing out my stupidity, saved weeks of head scratching.

mkilkie

It was worse than that it wasnt the space it was adding any text. Extension was advanced ordernumbers for virtuemart. does what it says on the tin, but lets you customise the order format to include text (I put order [year]/[month]/# joomla/vm didnt like the "order" text. When I removed it the problem went away. perhaps it is buried in the documentation, i will check.

GJC Web Design

Quoteorder [year]

you have a gap between order & [year] so of course this won't render correctly -- it will be replaced with a %20 which then breaks the url path

use always for things like this no spaces or weird charactors.. logic hates spaces

try order_[year]
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

mkilkie

I tried that. it wont accept any text only fields and #

thanks for persevering.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/