AbanteCart Community

Shopping Cart Operations => Support => Template Support => Topic started by: marcjuneau on November 13, 2020, 02:16:46 PM

Title: Problem with Mustache
Post by: marcjuneau 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 ?
Title: Re: Problem with Mustache
Post by: abantecart on November 14, 2020, 03:44:55 PM
What is a PHP version that you have?
Title: Re: Problem with Mustache
Post by: marcjuneau on November 22, 2020, 10:15:51 AM
7.4
Title: Re: Problem with Mustache
Post by: dvagner 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
Title: Re: Problem with Mustache
Post by: marcjuneau on November 23, 2020, 08:12:26 PM
They are all there... still error...
Title: Re: Problem with Mustache
Post by: dvagner 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();
Title: Re: Problem with Mustache
Post by: marcjuneau on November 26, 2020, 10:20:32 AM
OK I have the define, but nothing else... oups :(
Title: Re: Problem with Mustache
Post by: dvagner on November 27, 2020, 06:19:40 AM
is everything okay now?
Title: Re: Problem with Mustache
Post by: marcjuneau 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.