VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Aliciah85 on November 15, 2011, 02:49:34 AM

Title: Virtuemart SHopping Cart Module causing 500 error
Post by: Aliciah85 on November 15, 2011, 02:49:34 AM
I have just upgraded vm and my aio to version m and now if the cart module is published it comes up with an internal server error.

I also cannot view the cart after adding a product.

I have unistalled all the vm modules and plugins and the aio component and then reinstalled it all but it is still causing an error!

any help would be very much appreciated, i am about ready to scrap this whole project!! :(

thankd
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Stephen Roberts on November 15, 2011, 03:14:42 AM
If you have SEO turned on, try turning it off (in Joomla!).
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Aliciah85 on November 15, 2011, 03:22:46 AM
nope- still getting internal error :(

any other ideas? before this happened i was receiving a fatal error referring to components/com_virtuemart/helpers/vmplugin.php on line 24 but this spontaneously disappeared.

is there any way i can entirely uninstall everything related to the aio and reinstall (i have done individually, but maybe i missed something?).

thanks so much for your help- its very much appreciated!
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Stephen Roberts on November 15, 2011, 04:47:15 AM
I just did a fresh install of everything today and I can't reproduce the problem. Is it possible for you to do a fresh install?

If not, I might try uninstalling the AIO, FTPing all of the VM2RCM files (overwriting the current ones and replacing any that might be missing), and reinstall the AIO version M.
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Aliciah85 on November 15, 2011, 08:18:31 AM
i have just uninstalled every part of virtuemart including table and have re-installed the m version.

Having gone through and reconfigured my store and added a test product when i click on view cart i still get the following error...

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 75760 bytes) in /home/bootleg/public_html/components/com_virtuemart/helpers/vmplugin.php on line 24

does this help at all? i am at a loss for how to fix this!! it was working before i upgraded to m version!!
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Aliciah85 on November 15, 2011, 08:31:58 AM
not sure if it means anything- but when i try and addd a shipping method or payment method in the back end i get the same error!!
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Aliciah85 on November 23, 2011, 05:44:14 AM
this is still an issue! i have waited a week hoping a new release would be issued that would fix this but nothing...

i really need some help on this asap as i have a client waiting on this site!!

please help... thanks
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: aurelplouf on November 23, 2011, 12:35:01 PM
I get the same error :(

Edit: I tried re-installing the AIO and now I get the 500 error right off the bat...

I hope this will be fixed soon! :)
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Stephen Roberts on November 24, 2011, 01:13:41 AM
If you want to wait a bit, release N will likely fix this issue. You could also try getting the latest from SVN and see if they've already fixed the issue. I'll try to do some debugging on this in the next day or so, time permitting.
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Aliciah85 on November 24, 2011, 02:34:32 AM
i got the latest svn again yesterday and still not fixed... :(

i also tried uninstalling all the plugins and modules and going back to j release (where it was working last) and it still had the same error (even though the vmplugin file no longer existed!)

do you know when n will likely be released? im just getting worried that my client wont want to wait any longer...
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Stephen Roberts on November 24, 2011, 05:38:41 AM
What's your specific error message with the latest SVN revision? If it still is:

QuoteFatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 75760 bytes) in /home/bootleg/public_html/components/com_virtuemart/helpers/vmplugin.php on line 24

something is definitely messed up because this file has been moved to /administrator/components/com_virtuemart/plugins/ in the latest revisions.
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Aliciah85 on November 24, 2011, 08:28:40 AM
now the specific error message isnt shoing up and i just get a 500 internal server error...

how can i completely remove virtuemart and reinstall? maybe something was left on there last time i tried to do a fresh install and thats whats messing it up?

thanks
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: printbuyinggroup on November 24, 2011, 15:11:19 PM
I'm getting this same error message when I was attempting two things:

Adding a shipping module, clicking back and refresh solved it
Checking out as a customer - not good!!!

Whats the ETA for release N?

Stuart
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Milbo on November 24, 2011, 17:56:21 PM
heyhoo

"Adding a shipping module" ?
Please pay attention to use the corrrect words. We have plugins and methods... You install a plugin via joomla and then you configure in vm2 a method. When you want to uninstall everything you should first uninstall the aio, then all plugins and modules of vm,... and then go in vm2 tools, delete all tables. Then uninstall vm2.

We have no clue about your issue, but I must admit, that I do not understand your description. There exist several cases and I do not know what happens in which case:

- can you see the cart, when you unpublish/deactivate all shipment/payment plugins in joomla?
- what happens, when you publish one of these plugins (one! not more)
- what happens, when you create a method for them?

So the question is what exactly creates the internal server error. We did not answered yet, because we changed the plugins anyway, so we hoped the next release RC3 is fixing this.
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Aliciah85 on November 30, 2011, 07:30:40 AM
ok- ready to cry... just followed your instructions and deleted the aio, all plugins and modules, the tables and virtuemart. I even then did a search via ftp to make sure all files referring to vm or virtuemart were deleted. i then cleared the sites cache and rebooted my computer.

went to the dev site and redownloaded the vm files. installed the component and then the aio.

clicked on add a shipping method in the vm control panel and got the 500 error!!!!

so now, not only am i still receiving the same error, but i have wiped all of the info i had inputted...

please please please help... happy to provide back end access if you think it will help you debug... or should i just rebuild my site in joomla 1.5?

thanks
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Milbo on November 30, 2011, 14:45:41 PM
ahhhh
you are using the new source?  vmshipper got replaced by vmshipment.

The new updater has commands to change this. Take a look in your joomla plugins (j1.5) or extensions (j1.7) table and lookf for vmshipper and change it to vmshipment....
Then go in the virtuemart_adminmenueentries and change the the view shippercarrier or so to shipmemtmethod (same format like for payment)
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Aliciah85 on December 01, 2011, 03:34:22 AM
yes i have used the newest source files. i have just followed your steps and changed vmshipper in the extensions table to vmshipment and changed shippercarrier view in virtuemart_adminmenueentries to shipmentmethod and now i get a virtuemart error saying "Fatal Error: Couldnt find file shipmentmethod"

i also get a 500 error when i go to add a payment method :(

i would be happy to pay you (an agreed amount) to look into it for me and get it working on my site... would this be an option?
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: TecBrat on June 10, 2013, 00:34:40 AM
I know this is a bit of a zombie thread, but I ran into this problem and noticed in my error_log errors like this: PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required '/pathtomysite/public_html/plugins/vmpayment/moneybookers/moneybookers.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /pathtomysite/public_html/plugins/vmpayment/moneybookers_acc.php on line 22 So I went to plugins/vmpayment/ and deleted all the moneybookers files and now the site loads correctly. My hope is that as long as I don't need moneybookers payment processing, everything will be fine.
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Milbo on June 10, 2013, 09:03:37 AM
Everything is fine, we took care of this in the new version, but it shows that you still run j1.5
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: TecBrat on June 10, 2013, 09:37:43 AM
That is correct. It's an old install and the upgrade (jupgrade) failed. Probably some non-standard db changes.

We're only keeping this site until July anyway, so I'm happy to find that VMart works on the older Joomla.

Thanks,
Corry, aka TecBrat.
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: Milbo on June 10, 2013, 10:49:32 AM
Not completly, you must comment out or replace two functions
Title: Re: Virtuemart SHopping Cart Module causing 500 error
Post by: jordantsap on February 02, 2017, 10:55:00 AM
Try to turn error reporting to maximum and the system will give you the problem.
For me it was a payment method that i dont use but it was published.
Unpush it and the error is gone.
Try it