Just discovered that my comment votes are not working for the comments at the bottom of the product page. When I click on a thumbs up or thumbs down button I get a message saying that... "An error has occurred, please try again later"
I have checked that there are no javascript errors, and also viewed the request and response.
The request is fine...
hikashop_vote_type=useful&value=1&hikashop_vote_id=1&hikashop_vote_user_id=14
As is the request url...
http://fizzfab.com/store/vote/save/tmpl-component
It even appears that the request is working as it gets a 200 response code in return, but when checking the response body instead of sending though the expected response it's sending through the page source for what looks like an empty page...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:fb="http://ogp.me/ns/fb#" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr">
<head>
<base href="http://fizzfab.com/store/vote/save/tmpl-component" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="3D printing, 3D models, 3D design, physibles, fabster, maker, thingiverse" />
<meta name="description" content="FizzFab 3D Printing, Fabster and Maker community. Forums, physibles, models and more." />
<meta name="generator" content="Joomla! - Open Source Content Management" />
<title>Store</title>
<link href="http://fizzfab.com/store/vote/save/tmpl-component" rel="canonical" />
<link rel="stylesheet" href="/media/com_hikashop/css/frontend_custom.css?v=221" type="text/css" />
<style type="text/css">
.gkcol { width: 220px; }
</style>
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/media/system/js/core.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js" type="text/javascript"></script>
<script src="/plugins/system/jqueryeasy/jquerynoconflict.js" type="text/javascript"></script>
<script src="/media/com_hikashop/js/hikashop.js?v=221" type="text/javascript"></script>
<script src="/plugins/system/infinite_scroll/js/jquery.infinitescroll.min.js" type="text/javascript"></script>
<script type="text/javascript">
window.InfiniteConfig = {
container : 'body',
nextSelector: '.hikashop_next_link',
itemSelector: '.hikashop_products',
contentSelector: '.hikashop_products_listing_main',
navSelector : '.hikashop_products_pagination_bottom',
baseURL : '/localhost',
url : 'http://fizzfab.com/store/vote/save/tmpl-component/?=',
limitStart : 0,
limit : 20,
finishedMsg : 'Sorry no more products',
msgText : '<center>Loading...</center>',
customComponentName : ''
}
</script>
<script type='text/javascript'>
/*<![CDATA[*/
var jax_live_site = 'http://fizzfab.com/index.php';
var jax_token_var='431ab3a07d5571dd4f79678da1ca6522';
/*]]>*/
</script><script type="text/javascript" src="http://fizzfab.com/plugins/system/azrul.system/pc_includes/ajax_1.5.pack.js"></script>
<script type="text/javascript" src="http://fizzfab.com/templates/gk_music_free/js/prefixfree.js"></script>
</head>
<body class="contentpane">
<div id="system-message-container">
<div id="system-message">
</div>
</div>
</body>
</html>
Not sure why the response is incorrect, I get exactly the same response with URL rewriting off and the .htaccess removed so it would appear that the request is being sent to the correct place.
Any ideas? I've been making quite a few mods to the site so it is likely something that I have done (or undone
) but cannot pinpoint the cause of this.
Let me know if you want to take a look at my store and I will PM you some access details so that you can take a look at the site. Store access is currently not public.
TIA
/DM