Author Topic: Problem with Mustache  (Read 3934 times)

Offline marcjuneau

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Problem with Mustache
« on: November 13, 2020, 02:16:46 PM »
Hello, I have updated to v.1.2.16 and since I cant get any message to work. All messages generated makes this error in the log.

AbanteCart core v.1.2.16 Class 'Mustache_Engine' not found in <b>/home/axesstek/public_html/store/core/lib/mail.php</b> on line <b>209</b>

Anyone had this problem ?

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Problem with Mustache
« Reply #1 on: November 14, 2020, 03:44:55 PM »
What is a PHP version that you have?
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 marcjuneau

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: Problem with Mustache
« Reply #2 on: November 22, 2020, 10:15:51 AM »
7.4

Offline dvagner

  • Core/UI Developer
  • Jr. Member
  • **
  • Posts: 73
  • Karma: +28/-1
    • View Profile
Re: Problem with Mustache
« Reply #3 on: November 23, 2020, 05:41:15 AM »
Check your local files:

https://github.com/abantecart/abantecart-src/tree/master/public_html/core/vendors
it should contain Mustache folder with files

Offline marcjuneau

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: Problem with Mustache
« Reply #4 on: November 23, 2020, 08:12:26 PM »
They are all there... still error...

Offline dvagner

  • Core/UI Developer
  • Jr. Member
  • **
  • Posts: 73
  • Karma: +28/-1
    • View Profile
Re: Problem with Mustache
« Reply #5 on: November 25, 2020, 06:10:49 AM »
Check init.php in core
it should contain:

define('DIR_VENDORS', DIR_CORE.'/vendors/');

require DIR_VENDORS.'/Mustache/Autoloader.php';
Mustache_Autoloader::register();

Offline marcjuneau

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: Problem with Mustache
« Reply #6 on: November 26, 2020, 10:20:32 AM »
OK I have the define, but nothing else... oups :(

Offline dvagner

  • Core/UI Developer
  • Jr. Member
  • **
  • Posts: 73
  • Karma: +28/-1
    • View Profile
Re: Problem with Mustache
« Reply #7 on: November 27, 2020, 06:19:40 AM »
is everything okay now?

Offline marcjuneau

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: Problem with Mustache
« Reply #8 on: November 28, 2020, 02:10:31 PM »
Yes :) I was troubled because I added the lines but save file failed.... I have use the one from the repo and it's working well now... don't know why this file in particular didn't update properly at the update....  Thank you so much.

 

Powered by SMFPacks Social Login Mod