Forum Replies Created
-
AuthorPosts
-
As an update:
The library file was not installed on the server. I had to install it and then add it to the config.Thanks for pointing me into the right direction.
I followed the instructions to a “T” and i get the error
Fatal error: Class’ZipArchive’ not found in/home/webdev3/public_html/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 113
This is the code for font-manager.class.php Line 13 is function __construct()
_________________________________________________________________________________________________
<?phpclass avia_font_manager{
var $paths = array();
var $svg_file;
var $font_name = ‘unknown’;
var $svg_config = array();
static $charlist = array();
static $charlist_fallback = array();
static $iconlist = array();function __construct()
{
$this->paths = wp_upload_dir();if(is_ssl())
{
$this->paths[‘baseurl’] = str_replace(‘http://’, ‘https://’, $this->paths[‘baseurl’]);
}$this->paths[‘fonts’] = ‘avia_fonts’;
$this->paths[‘temp’] = trailingslashit($this->paths[‘fonts’]).’avia_temp’;
$this->paths[‘fontdir’] = trailingslashit($this->paths[‘basedir’]).$this->paths[‘fonts’];
$this->paths[‘tempdir’] = trailingslashit($this->paths[‘basedir’]).$this->paths[‘temp’];
$this->paths[‘fonturl’] = trailingslashit($this->paths[‘baseurl’]).$this->paths[‘fonts’];
$this->paths[‘tempurl’] = trailingslashit($this->paths[‘baseurl’]).trailingslashit($this->paths[‘temp’]);
$this->paths[‘config’] = ‘charmap.php’;Will this code get stripped when an updated is pushed out?
-
AuthorPosts