VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: elleclouds on December 23, 2015, 21:30:55 PM

Title: Manually confirm order status leads to blank white screen and error 500
Post by: elleclouds on December 23, 2015, 21:30:55 PM
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
Title: Re: Manually confirm order status leads to blank white screen and error 500
Post by: 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?
Title: Re: Manually confirm order status leads to blank white screen and error 500
Post by: elleclouds on December 24, 2015, 03:01:35 AM
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
Title: Re: Manually confirm order status leads to blank white screen and error 500
Post by: GJC Web Design on December 24, 2015, 12:24:21 PM
Your template then isn't latest VM3 ready....

if commercial ask the developer
Title: Re: Manually confirm order status leads to blank white screen and error 500
Post by: elleclouds on December 27, 2015, 18:29:34 PM
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?
Title: Re: Manually confirm order status leads to blank white screen and error 500
Post by: 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.
Title: Re: Manually confirm order status leads to blank white screen and error 500
Post by: elleclouds on December 27, 2015, 19:24:55 PM
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?
Title: Re: Manually confirm order status leads to blank white screen and error 500
Post by: GJC Web Design on December 27, 2015, 21:26:57 PM
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..
Title: Re: Manually confirm order status leads to blank white screen and error 500
Post by: Studio 42 on December 28, 2015, 14:00:08 PM
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