Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: I performed a fresh softaculous install and get blank pages  (Read 3817 times)

Offline Roy Wahl

  • Newbie
  • *
  • Posts: 2
  • Karma: +1/-0
    • View Profile
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
« Last Edit: May 03, 2021, 09:01:54 PM by Roy Wahl »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5819
  • Karma: +274/-2
    • View Profile
Re: I performed a fresh softaculous install and get blank pages
« Reply #1 on: May 04, 2021, 03:17:30 AM »
Hello.
You need to enable fileinfo PHP extension in order to use mime_content_type

Offline Roy Wahl

  • Newbie
  • *
  • Posts: 2
  • Karma: +1/-0
    • View Profile
Re: I performed a fresh softaculous install and get blank pages
« Reply #2 on: May 04, 2021, 09:31:27 AM »
Thank you Basara. That solution makes me happy.

Offline skinmi

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: I performed a fresh softaculous install and get blank pages
« Reply #3 on: August 07, 2022, 09:12:14 AM »
How do I solve this installation problem?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5819
  • Karma: +274/-2
    • View Profile
Re: I performed a fresh softaculous install and get blank pages
« Reply #4 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

 

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.