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

Support AbanteCart eCommerce

Author Topic: Abantecart 1.3.4: Storefront page was blank with bootstrap5 template.  (Read 591 times)

Offline OneMore

  • Newbie
  • *
  • Posts: 46
  • Karma: +12/-0
    • View Profile
Hello,

As a user of AbanteCart 1.2.11, I am currently testing Abantecart 1.3.4 on localhost with PHP 8.2.12.

The storefront had a totally blank page, apart from the welcome message.
(No change if adding a category, a product, and clearing the cache.)

I the template in use was "bootstrap5" instead of "default" one.

I switched the template from "bootstrap5" to the default one, and the storefront displays OK.

Likely are some additional requirements for the bootstrap5 template to display, but this is very confusing for beginners.

I would suggest keeping only the default template in the initial installation, and let people download alternative templates if they want.

Cheers.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5837
  • Karma: +275/-2
    • View Profile
Re: Abantecart 1.3.4: Storefront page was blank with bootstrap5 template.
« Reply #1 on: February 27, 2024, 07:28:07 AM »
Hello.
The recommended php version for AbanteCart 1.3.4 is php 8.1 however check your AbanteCart error log and post last error here

Offline OneMore

  • Newbie
  • *
  • Posts: 46
  • Karma: +12/-0
    • View Profile
Re: Abantecart 1.3.4: Storefront page was blank with bootstrap5 template.
« Reply #2 on: February 29, 2024, 09:26:17 AM »
Hello Basara and thank you.

I had a look at "system/logs/error.txt" and all errors were coming from missing language translations.

I after disabling my custom French translation, the problem disappeared.

My translation is still incomplete, and may contain errors or missing files or strings.
I assume the default template was more robust as possibly not using those strings.

Code: [Select]
2024-02-27 12:11:50 - App Error:  AbanteCart core v.1.3.4 Missing default English definition XML file for custom_french/custom_french !
Trace:
#0 C:\xampp8\htdocs\abantecart134\core\engine\language.php on line 920
#1 C:\xampp8\htdocs\abantecart134\core\engine\language.php on line 656
#2 C:\xampp8\htdocs\abantecart134\core\engine\extensions.php on line 1156
#3 C:\xampp8\htdocs\abantecart134\core\engine\extensions.php on line 383
#4 C:\xampp8\htdocs\abantecart134\core\engine\language.php on line 234

2024-02-27 12:11:50 - App Error:  AbanteCart core v.1.3.4 Could not load language custom_french/custom_french from file "C:/xampp8/htdocs/abantecart134/admin/language/english/custom_french/custom_french.xml"!
Trace:
#0 C:\xampp8\htdocs\abantecart134\core\engine\language.php on line 928
#1 C:\xampp8\htdocs\abantecart134\core\engine\language.php on line 656
#2 C:\xampp8\htdocs\abantecart134\core\engine\extensions.php on line 1156
#3 C:\xampp8\htdocs\abantecart134\core\engine\extensions.php on line 383
#4 C:\xampp8\htdocs\abantecart134\core\engine\language.php on line 234

One idea in such a case would be having a failover mechanism that takes the original English string.
I didn't study if it would be easy or difficult to implement.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5837
  • Karma: +275/-2
    • View Profile
Re: Abantecart 1.3.4: Storefront page was blank with bootstrap5 template.
« Reply #3 on: February 29, 2024, 10:06:33 AM »
Hello.
"custom_french"? Are you creating your own extension or changing something in the extension code?

 

Powered by SMFPacks Social Login Mod