News:

Looking for documentation? Take a look on our wiki

Main Menu

Error on deleting orders from history

Started by shopper999, December 23, 2013, 18:01:52 PM

Previous topic - Next topic

shopper999

#15
Works great. Thanks.

My main problem (deleting order) still exists, but I will discuss this in another thread I think, because this one mainly discusses the memory problem so far.

jefchenko


Milbo

Yepp shopper999, I think we should takeover this thread for the error on deleting orders http://forum.virtuemart.net/index.php?topic=121233.0
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

What about this file?

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

shopper999

This file also works for me!
The logfile is created with the security mechanism.

But anyway, I do not have any problems with permissions on my system, because I am using PHP with fastCGI, which also runs with the correct user, and do not need any workarounds like FTP users ;-)

anicbalak

I get an error 500 when paying by a standard payment ..

to choose a standard payment and confirm the purchase gives me a 500 error

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/

elleclouds

Quote from: shopper999 on December 29, 2013, 17:58:00 PM
It's not so easy to really reproduce the problem.
OK, I think it doesn't really have anything to do with the deleted user, sorry. This was my first impression.
I tried to reproduce it for hours now.

This problem seems to be related to the problem discussed here:
http://forum.virtuemart.net/index.php?topic=121149.0
because in both cases, I get the same erros (on changing the order status, or on deleting an order).

The order has the status "confirmed by shopper". The order can be paid by paypal or standard.
So I don't think it a problem of a plugin, an for VM I only use the standard (and AIO).



   
If i change the status to "confirmed"!! (and only when "Notify Shopper" is ticked") and click "update order stats", i get the error
Quote
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 118 bytes) in /srv/www/webXXX/html/foo.bar/cms/administrator/components/com_virtuemart/helpers/config.php on line 202

After reloading the page, I get
Quote
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /srv/www/webXXX/html/foo.bar/cms/libraries/joomla/client/helper.php on line 168


If I now look at the order list, i can see the status "confirmed".

Now, I try to delete the order:
Quote
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 64 bytes) in /srv/www/webXXX/html/foo.bar/cms/libraries/joomla/language/language.php on line 347
After reloading the page, I get
Quote
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /srv/www/webXXX/html/foo.bar/cms/libraries/loader.php on line 366

During this time, the db seems to get corrupt, because the products are already deleted from the shopping list, but the order itself is still present.
In the end: The errors tell us to increase memory. But I also tried it this nearly 1 GB memory. The error is still present, so the problem must be elsewhere.


By testing all possible causes, I got a second error (independent from the one above, also tested on another VM installation):
If you delete the payment method from the shop e.g. paypal, and try to delete the orders, which were sold by paypal, then the order cannot be deleted,
and the db get corrupted (see order details).

I am having this issue...none of the soultions down bottom work for me