VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: raunhar on April 14, 2014, 08:20:17 AM

Title: Category Page display problem after update tp 2.6
Post by: raunhar on April 14, 2014, 08:20:17 AM
Website:
http://www.houseofperfumes.co.nz/index.php

Link: Online Store

Just updated the VM to 2.6 . After that when I click on any category, it comes up with either a blank page, or without CSS . Updated the config file through Tools Renew Config.

Please suggest something
Title: Re: Category Page display problem after update tp 2.6
Post by: jenkinhill on April 14, 2014, 10:43:07 AM
What PHP version is on the server?
Title: Re: Category Page display problem after update tp 2.6
Post by: raunhar on April 14, 2014, 11:52:50 AM
PHP5.3
Title: Re: Category Page display problem after update tp 2.6
Post by: jenkinhill on April 14, 2014, 12:07:38 PM
Which 5.3? Minimum requirement for VM2.6 is 5.3.10   See release notes: http://virtuemart.net/news/latest-news/456-virtuemart-are-proud-to-release-vm2-6
Title: Re: Category Page display problem after update tp 2.6
Post by: raunhar on April 14, 2014, 12:20:50 PM
5.3.28
Title: Re: Category Page display problem after update tp 2.6
Post by: jenkinhill on April 14, 2014, 12:53:04 PM
OK, needed to check that first.

On your blank page all that is shown in page code is:

<script type="text/javascript">
window.addEvent('domready',function() {
document.getElements('form[name=ratingForm]').each(function(elm) {
if(elm.getElementById('editable').value==1) {
elm.getElement('.ratingbox').addEvent('mousemove',function(e) {
var stars=this.getElement('span.stars-orange');
var pos=this.getPosition();
var size=this.getSize();
var diff=Math.floor((e.page.x-pos.x)/size.x*5)+1;
if(diff>5) {
diff=5;
}
elm.getElement('input').value=diff;
stars.setStyle('width',diff*(size.x/5));
});
elm.getElement('.ratingbox').addEvent('click',function(e) {
elm.getElement('.ratingbox').removeEvents('click');
elm.getElement('.ratingbox').removeEvents('mousemove');
new Request.JSON({
'url':'http://www.houseofperfumes.co.nz/index.php?option=com_virtuemart&controller=productdetails&task=review',
'method':'post',
'data':elm.toQueryString(),
'onSuccess':function(json,text) {
}
}).send();
});
}
});
});
</script>


Does anything show in the server error log?  http://forum.virtuemart.net/index.php?topic=121692.0

I would suspect an installation error. You could try re-installing both components using Joomla's extensions installer.
Title: Re: Category Page display problem after update tp 2.6
Post by: raunhar on April 14, 2014, 13:02:51 PM
doing that only now.
Thanks for the help.