AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: vxmark on June 01, 2014, 07:19:06 PM
-
Hi all,
I really love AbanteCart cart, one of the best I've ever seen. Easy to work with, looks great.
But, I have an issue.
I'm showing 2 manufactures in the manufacture slid bar that do not exist and I'm getting an error in the error log
Error: Error in data of page with controller: 'pages/product/manufacturer'. Please check for key_value present where key_param was set
Can some one help? Thanks.
I'm on ver. 1.1.9 new install with minor product, manufacture, cat. built.
-
Hello.
This is a bug. I repost it to AbanteCart github bug tracker (https://github.com/abantecart/abantecart-src/issues/22).
Thank you
-
I also posted this issue and it appears that it is in the to-be fixed on git-hub. But it is now 16 days there - any update on when this might be fixed?
Thanks
Lee
-
Fix is ready:
https://github.com/abantecart/abantecart-src/commit/f45bee4742a9b6db2caf3975340ebf28f6a9c83d
Thank you for patience.
-
Forgot to mention.
This fix it to hide the real problem.
There is a reason for Custom Listing to be called custom. It is static. You need to remove old data from custom listing if it is no longer available.
Fix will hide missing data for you, but will not remove any data from custom listing setting.
Worth to know.
-
Thank for the fix.
I am missing some critical piece in understanding your note on Custom Block. I have 20 manufacturers that I wish to use within the product listings. Within the custom block it shows there 20 to add/edit. I have chosen 10 to show on the home page in the brands scrolling block. That is where the placeholders for the non-selected mfgs were showing.
Your note would lead me to think that I must only have brands within the entire cart and they must all be selected. Is that correct?
I am assuming the fix will overcome this, but am concerned about how you characterized the "fix" as a patch due to poor block content management.
But I do appreciate the "fix"
Lee
-
oops something went amiss:
Then I inserted the code as shown my home page now gives this error
Parse error: syntax error, unexpected T_IF in /public_html/....../storefront/controller/blocks/listing_block.php on line 329
Here's the code snippet from my altered file:
$data_source['storefront_method']),
array($item['id']));
}
+
+ // Skip if data source is vanished but still set in the listing.
+ $result = array_filter($result);
}
+
/*if($data_source['rl_object_name'] ){
$resource = new AResource('image');
}*/
if($result){
//add thumbnails to custom list of items. 1 thumbnail per item
$result = $this->_prepareCustomItems($data_source, $result);
}
-
llegrand, you need to remove pluses.
-
thank you, that detail of removing the + was what I needed to know. All works well now.
Ah, so many things to still learn!
Lee