Sunday 23 December 2012

Fatal error: Call to undefined function field_attach_load() in C:\commerce_kickstart-7.x-2.0\includes\entity.inc on line 321

There is a new Commerce Kickstart.
Installing it is slow but possible. An option is not to use the special shopkeepers' toolbar. I chose not to, because I have been trying some of the videos on http://nodeone.se/sv/learn-drupal and wanted to use the same default tooblar, but without it I didn't manage to follow the product-adding instructions.

  • With hindsight, I could have googled "Toolbar_magicmenu" and installed the .gz file by clicking "modules" on the admin menu and using the box where you can paste-in the url of a module to install before pressing "install", and probably something after like "enable". Next, "Commerce_Kickstartmenu".
  • With a reset option to go back to the default install, I can try to do just that, using a confirmation button which says "Kill Me!", as you do.

Having killed my product-less site, I try again:

Fatal error: Call to undefined function field_attach_load() in C:\commerce_kickstart-7.x-2.0\includes\entity.inc on line 321

Two or three attempts to use control+backarrow, retype second password and click return all fail.

Attempt: I cut the question mark and everything after it from the url and pressed return. This takes me back one stage further in the installation process to a page beginning "

Welcome

Thank you for choosing Commerce Kickstart!

I click the "get started" button and fill-in the usual name for the test site. Result? (from memory)
Fatal error: Call to undefined function field_attach_load() in C:\commerce_kickstart-7.x-2.0\includes\entity.inc on line 321

bugger.

On googling the error message I find that Commerce Guys have been producing this syrup-voiced set of videos as though Drupal worked, while some 57 different people in one thread alone out of two or three. Solutions are often highly technical and require knowledge of databases and php files. I am using the most basic installation on an Aquia stack, using a Windows XP computer but it seems that software vendors are unaware of the problem and just use glib meaningless phrases like "right out of the box" instead of addressing problems.

One of the solutions posted was to "clear the database cache". I am using Aquia Drupal Stack Installer as suggested in the Tom Geller Youtube video. There is a button for databases. I found one table in this base for cache and deleted the contents. Some success: I now have a basic drupal default logon screen, but no username and password. Another table in the base - the last on the list I think - had "placeholder" for user 1 and password, so I added that and an email and tried again. Is this the start of a revived Commerce Kickstart? No.


Fatal error: Call to undefined function field_attach_load() in C:\commerce_kickstart-7.x-2.0\includes\entity.inc on line 321

I can find the file on my hard disc and have a look. Line 321 is the third last of this paragraph:

  protected function attachLoad(&$queried_entities, $revision_id = FALSE) {
    // Attach fields.
    if ($this->entityInfo['fieldable']) {
      if ($revision_id) {
        field_attach_load_revision($this->entityType, $queried_entities);
      }
      else {
        field_attach_load($this->entityType, $queried_entities);
      }
    }  


Using Notepad++ as a handy bit of free editing software I try turning "FALSE" into "TRUE" in the file above. No difference in outcomes. I try deleting contents of the cache again. Same again. This is a bit like trying to fly without any wings and I have no idea what I am doing

here are some Ubercart instuctions. Ubercart hopes to be a shortcut to writing ecommerce sites using Drupal.
Transcribed videos: -
[Drupal 7 / Ubercart video tutorial 7 of 10 showed how to use the default catalog module]
[Drupal 7 / Ubercart video tutorial 8 of 10 showed an alternative flexible method of showing a catalog]
[Drupal 7 / Ubercart video tutorial 9 of 10 shows how to use product kits, stock, and order states]
[Drupal 7 / Ubercart video tutorial 10 of 10 shows a simple checkout, reports, and suggests a theme


8 comments:

  1. Replies
    1. Good day everyone.

      I want to share a little bit of testimony about how I was able to get my financial breakthrough after a long time of heartbreak from so called scammers, DARK WEB CYBER HACKERS helped me became what I am right now after I made $500,000 USD from their bank transfer hack service, they are legit everyone needs to work with them contact them via this details

      Email: darkwebcyberhackers@gmail.com

      Text & Call or WhatsApp: +18033921735

      Visit: https://darkwebcycberhackers.com/

      Contact them today and be free of debt and be stable financially DARK WEB CYBER HACKER ARE THE BEST .

      Delete
  2. I resolved after upgrade php 5.2->5.3

    ReplyDelete
  3. Prediksi togel hongÄ·ong dan togel singapore Akurat 100% dan Arti Tafsir Mimpi

    https://www.klik4d.biz/prediksi-togel-akurat-hk-tanggal-25-desember-2019//

    https://www.klik4d.biz/kumpulan-makna-mimpi-natal-dalam-togel/


    INFO Pendaftaran Togel : http://159.89.197.59/register/
    INFO Prediksi Togel : https://www.klik4d.site

    Agen Togel BOLAVITA
    BONUS POTONGAN GAMES TOGEL ONLINE

    PERMAINAN TOGEL KLIK4D :
    2D = 29,25%
    3D = 59,25%
    4D = 66%

    PERMAINAN TOGEL Isin4D :
    2D = 30%
    3D = 59%
    4D = 66%

    Bolavita Sekarang Bisa Deposit Via OVO & GO-Pay.
    Sekarang Bosku Sudah Bisa Deposit Via Pulsa XL & TSEL Minimal Deposit 25rb.

    Boss Juga Bisa Kirim Via :
    Telegram : +62812-2222-995
    Wechat : Bolavita
    WA : +62812-2222-995
    Line : cs_bolavita

    ReplyDelete
  4. Hi...
    From now through the end of April, you can triple your impact with all individual donations, new memberships, and membership upgrades, up to $100,000. In addition to project founder Dries and Vanessa Buytaert's generous matching gift, a coalition of Drupal businesses will match your contribution as well.
    you can take the more information then click here Amazon Telefoonnummer

    ReplyDelete
  5. Are you new to stocks and cyptocurrency/Bitcoin trading and want to be successful in your trade if yes then get help from the most down to earth and reliable expert trader I has been managing trading account for some time now and I can proudly say I make Good withdrawals weekly of $5000 Kindly reply back for more information on how to trade Contact via whatsapp +447883246472 email: tdameritrade077@gmail.com

    ReplyDelete