Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Help with error needed  (Read 7259 times)

Offline vxmark

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Help with error needed
« 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.
« Last Edit: June 01, 2014, 07:20:46 PM by vxmark »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5824
  • Karma: +275/-2
    • View Profile
Re: Help with error needed
« Reply #1 on: June 17, 2014, 07:29:28 AM »
Hello.
This is a bug. I repost it to AbanteCart github bug tracker.
Thank you

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: Help with error needed
« Reply #2 on: July 02, 2014, 08:33:12 PM »
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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Help with error needed
« Reply #3 on: July 03, 2014, 10:42:21 AM »
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Help with error needed
« Reply #4 on: July 03, 2014, 10:47:01 AM »
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.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: Help with error needed
« Reply #5 on: July 03, 2014, 02:35:37 PM »
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

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: Help with error needed (fix didn't do it for me)
« Reply #6 on: July 03, 2014, 04:35:02 PM »
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);
        }

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Help with error needed
« Reply #7 on: July 07, 2014, 09:21:05 PM »
llegrand, you need to remove pluses.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: Help with error needed (SOLVED)
« Reply #8 on: July 15, 2014, 01:24:34 PM »
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

 

Powered by SMFPacks Social Login Mod