Giter VIP home page Giter VIP logo

Comments (10)

mage-eag avatar mage-eag commented on August 18, 2024

I am also using the extension with some custom columns applied on a Magento 1.7.0.2, and didn't encounter yet this problem (as well as for the other versions).
Could you debug the value of $quoteCallback and 'return Mage::helper('customgrid/collection')->callQuoteIdentifierCallback(''.$quoteCallback.'', $i);', found in the given file at line 100, and quote it here ?
There is a problem with the string used for the call to create_function(), but then it could help to determine which part is troublesome.

Thanks,
Benoît

from mage-enhanced-admin-grids.

digiscape avatar digiscape commented on August 18, 2024

I changed line 100 from

$callCallback = create_function('$i', 'return Mage::helper('customgrid/collection')->callQuoteIdentifierCallback(''.$quoteCallback.'', $i);');

too

$callCallback = create_function('$i', 'return Mage::helper('customgrid/collection')->callQuoteIdentifierCallback($quoteCallback, $i);');

And appears to be working

Another thing I noticed in style.css

button.blcg-customize span { padding-left:20px; background-image:url(images/ico_custom.gif); }
button.blcg-grid-infos span { padding-left:20px; background-image:url(images/ico_infos.gif); }
button.blcg-additional span { padding-left:20px; background-image:url(images/ico_arrow_down.gif); }
button.blcg-export span { padding-left:20px; background-image:url(images/ico_export.gif); }

These all need to have no-repeat added, but does look pretty funky :)

Thank you for providing this add-on its going to add whole lot more flexibility to Magento.

from mage-enhanced-admin-grids.

mystix avatar mystix commented on August 18, 2024

I encountered the same error on Magento 1.4.1.1.

Fix suggested by @digiscape fixed the problem nicely.

from mage-enhanced-admin-grids.

mage-eag avatar mage-eag commented on August 18, 2024

First of all, really sorry for the big lateness of my answer... for various reasons it has been months since I did not work on the project. I'll soon drop a word about it on the extension's page I guess, but anyway, I should now be back to business.

Concerning the $quoteCallback problem, the fix by @digiscape prevents the error, but breaks the intended behaviour of the method in the meantime (what's not troublesome at all in almost all cases).
Could someone dump the content of the $quoteCallback variable when the error appears ? It certainly needs to be escaped in some way, but it could help to figure how.

from mage-enhanced-admin-grids.

digiscape avatar digiscape commented on August 18, 2024

$quoteCallback value is: lambda_2

from mage-enhanced-admin-grids.

mage-eag avatar mage-eag commented on August 18, 2024

The new 1b94e4c commit changed the way quoteIdentifier() callbacks are handled, does this fix your problem ?

from mage-enhanced-admin-grids.

digiscape avatar digiscape commented on August 18, 2024

No errors, looking good thanks

from mage-enhanced-admin-grids.

mystix avatar mystix commented on August 18, 2024

Same here -- no errors. Thanks for fixing this!

from mage-enhanced-admin-grids.

mage-eag avatar mage-eag commented on August 18, 2024

Cool, thanks for the feedbacks ! :)

from mage-enhanced-admin-grids.

Jeeva-Rathinam avatar Jeeva-Rathinam commented on August 18, 2024

what is mean SQLSTATE[42S02]: Base table or view not found: 1146

from mage-enhanced-admin-grids.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.