VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: lysov on March 15, 2012, 12:00:56 PM

Title: VM 203C fatal error in BE and FE
Post by: lysov on March 15, 2012, 12:00:56 PM
When I turn on VM debugging mode to "Only for administrators" the following fault is obtained
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 82 bytes) in /var/www/html/administrator/components/com_virtuemart/helpers/permissions.php on line 57

And in FE any VM (only VM) menu item gives an error
Fatal error: Cannot access empty property in /var/www/html/libraries/joomla/registry/registry.php on line 336
Main page and other components (contacts, etc) are working properly.

Resuscitation of the site is to remove the record from the `#_virtuemart_configs` table (empty table)

Configuration: Joomla 252 SEO and Rewrite are ON, VM router is OFF

May be the error is in VM router module?
Title: Re: VM 203C fatal error in BE and FE
Post by: John2400 on March 15, 2012, 12:10:48 PM
I turned this on 'only for administrators'

I lost complete access to virtuemart - from the back end. Still working out a solution.

2.5.2 JM vm 2.0.3 c

OMG _ the only way I could get my virtuemart back was a complete reinstall - site and database -

* maybe if one gets stuck then just reinstall the Database -

I
Title: Re: VM 203C fatal error in BE and FE
Post by: lysov on March 15, 2012, 12:34:21 PM
Try to remove the record from the `#_virtuemart_configs`by phpMyAdmin or other way
Title: Re: VM 203C fatal error in BE and FE
Post by: John2400 on March 15, 2012, 12:41:29 PM
Thanks ,

I just reinstalled the whole shop.

I saw a few errors across my shop- My (large)  shopping cart was wrong (but my small mini shopping cartt was OK) so I'm back using "b"

Try your shopping cart and see if it shows you errors. ( i had no shipping , postage or totals ) but the sent invoice was correct.

like I said I'll just wait - I have reported my issues in bugs area.
Title: Re: VM 203C fatal error in BE and FE
Post by: Milbo on March 15, 2012, 12:46:05 PM
auaahhahah, same happened to me yesterday. Yes, just deleting the line of the config in the db is enough. Thanks
Title: Re: VM 203C fatal error in BE and FE
Post by: lysov on March 15, 2012, 14:00:04 PM
May be helpful to correct this bug:
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 82 bytes) in /var/www/html/administrator/components/com_virtuemart/helpers/permissions.php on line 57, referer: http://www.no-bugs.local/administrator/index.php?option=com_virtuemart&view=config
Title: Re: VM 203C fatal error in BE and FE
Post by: Milbo on March 15, 2012, 14:40:53 PM
It was just a vmdebug in the permission leading to an endless loop. Is fixed.