AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: Roy Wahl on May 03, 2021, 08:38:26 PM

Title: I performed a fresh softaculous install and get blank pages
Post by: Roy Wahl on May 03, 2021, 08:38:26 PM
Blank Pages after Softaculous install of AbanteCart leads to blank page at store front and at admin. I find a single error in the log:
 Unknown Error:  AbanteCart core v.1.3.0 Call to undefined function mime_content_type() in <b>/home/******/public_html/store/storefront/view/default/template/common/head.tpl</b> on line <b>42</b>

head.tpl line 42 reads:
<link href="resources/<?php echo $icon; ?>" type="<?php echo mime_content_type(DIR_RESOURCE . $icon)?>" rel="icon" />

I see no associated server error. I need help fixing this seemingly simple error.

Storefront page source appears thus:
<meta charset="UTF-8">
<!--[if IE]>
   <meta http-equiv="x-ua-compatible" content="IE=Edge" />
<![endif]-->
<title>Your Store</title>
<meta name="keywords" content="keyword1,keyword2,keyword3" />
<meta name="description" content="Web Store Meta Description" />
<meta name="generator" content="AbanteCart v1.3.0 - Open Source eCommerce solution" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="store location" />

<link href="resources/image/18/73/4.png" type=" 

end of file reached inside of the tag
Title: Re: I performed a fresh softaculous install and get blank pages
Post by: Basara on May 04, 2021, 03:17:30 AM
Hello.
You need to enable fileinfo PHP extension in order to use mime_content_type
Title: Re: I performed a fresh softaculous install and get blank pages
Post by: Roy Wahl on May 04, 2021, 09:31:27 AM
Thank you Basara. That solution makes me happy.
Title: Re: I performed a fresh softaculous install and get blank pages
Post by: skinmi on August 07, 2022, 09:12:14 AM
How do I solve this installation problem?
Title: Re: I performed a fresh softaculous install and get blank pages
Post by: Basara on August 08, 2022, 01:35:36 AM
How do I solve this installation problem?
You need to enable in your hosting setting the fileinfo PHP extension or ask your hosting support to help you