News:

Looking for documentation? Take a look on our wiki

Main Menu

Manually confirm order status leads to blank white screen and error 500

Started by elleclouds, December 23, 2015, 21:30:55 PM

Previous topic - Next topic

elleclouds

When looking at order statuses, I manually change the dropdown to confirm and get an error 500...literally spent 4 hours using search feature here and on google with no luck. Please, what could be the reason I am getting this error?


Joomla 2.5.28
Virtuemart 2.6.6

GJC Web Design

VM2.6.6 ??????????????  16 versions old????  why?

the above imho is nearly always running out of memory/problem with pdf invoice creation

any white screen is logged somewhere

the 500 error is?
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

elleclouds

Quote from: GJC Web Design on December 23, 2015, 23:04:55 PM
VM2.6.6 ??????????????  16 versions old????  why?

the above imho is nearly always running out of memory/problem with pdf invoice creation

any white screen is logged somewhere

the 500 error is?

Worked with an update...I can change the order status, but it stop allowing my customers to add products to the cart :(

http://www.pinkchella.com

GJC Web Design

Your template then isn't latest VM3 ready....

if commercial ask the developer
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

elleclouds

Quote from: GJC Web Design on December 23, 2015, 23:04:55 PM
VM2.6.6 ??????????????  16 versions old????  why?

the above imho is nearly always running out of memory/problem with pdf invoice creation

any white screen is logged somewhere

the 500 error is?

after upgrading to VM 3, it worked but now I can't add and products to my cart.  It just goes to am empty cart.  I searched here and it could be a jquery issue, but I am lost at how to fix it.  I downloaded jqueryeasy and enabled it, but still can't add any products to cart.  any help?

jenkinhill

On the product pages you are not loading the VM JavaScript files, so no add to cart can happen. Some, but not all, of the files load on the cart page. I have no idea how you have got to that situation.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

elleclouds

Quote from: jenkinhill on December 27, 2015, 19:14:49 PM
On the product pages you are not loading the VM JavaScript files, so no add to cart can happen. Some, but not all, of the files load on the cart page. I have no idea how you have got to that situation.

literally just upgraded to VM 3.0.12...is there anything I can do to fix this issue?

GJC Web Design

you have a JS error on product pages

SyntaxError: expected expression, got ';'
http://www.pinkchella.com/index.php/shop/women/swimwear/alma-mia-reversible-set-959-965-966-967-968-detail
Line 333

As I said before your Gavik template is not up to date...  contact them for a fix..
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

Studio 42

THe add to cart is overide in your template.
The error is in
function check(obj) {
// use the modulus operator '%' to see if there is a remainder
remainder=obj.value % ;
quantity=obj.value;
if (remainder  != 0) {
alert('!');
obj.value = quantity-remainder;
return false;
}
return true;
}

This is obselete and don't work anymore in VM3.0.12

search in \templates\YOURTEMPLATE\html\com_virtuemart\productdetails\default.php for
echo $this->loadTemplate('addtocart');
and replace with
echo shopFunctionsF::renderVmSubLayout('addtocart',array('product'=>$this->product));

Note : gavick use a framework and the file can be in another usbfolder
If the render is bad, then copy the addtocart.pph file from \components\com_virtuemart\sublayouts\addtocart.php or any other used file in the right template sublayouts folder