Re: ZCA Bootstrap Template
Hi All,
Running version 1.58a on a linux server running PHP Version: 8.1.31
Template Bootstrap Version 3.7.6
CKEditor version 5
Australia Post Shipping Module V2.5.7a
I have just updated my developement site to the modules above and I am getting this error after going from Bootstrap 3.72 tp 3.76.
Fatal error: Uncaught Error: Failed opening required 'includes/functions/zca_bootstrap_functions.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/xxxx/public_html/dev.outdoorking.com/includes/init_includes/init_zca_bootstrap.php:27 Stack trace: #0 /home/xxxx/public_html/dev.outdoorking.com/includes/autoload_func.php(40): require_once() #1 /home/xxxx/public_html/dev.outdoorking.com/includes/application_top.php(246): require('/home/xxxx') #2 /home/xxxx/public_html/dev.outdoorking.com/index.php(25): require('/home/xxxx') #3 {main} thrown in /home/xxxx/public_html/dev.outdoorking.com/includes/init_includes/init_zca_bootstrap.php on line 27
I am able to get into the admin area but the main page is showing the error. Any assistance on how to fix the issue as I am try to make corrections to the display on tbe development website before I place the files on the live site.
This is the error log from the admin log file is :
[04-May-2025 19:26:50 Australia/Sydney] Request URI: /, IP address: 112.141.5.62, Language id 1
#0 /includes/init_includes/init_zca_bootstrap.php(27): zen_debug_error_handler()
#1 /includes/init_includes/init_zca_bootstrap.php(27): require()
#2 /includes/autoload_func.php(40): require_once('/home/xxxx')
#3 /includes/application_top.php(246): require('/home/xxxx')
#4 /index.php(25): require('/home/xxxx')
--> PHP Warning: require(includes/functions/zca_bootstrap_functions.php): Failed to open stream: No such file or directory in /includes/init_includes/init_zca_bootstrap.php on line 27.
[04-May-2025 19:26:50 Australia/Sydney] PHP Fatal error: Uncaught Error: Failed opening required 'includes/functions/zca_bootstrap_functions.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /includes/init_includes/init_zca_bootstrap.php:27
Stack trace:
#0 /includes/autoload_func.php(40): require_once()
#1 /includes/application_top.php(246): require('/home/xxxx')
#2 /index.php(25): require('/home/xxxx')
#3 {main}
thrown in /includes/init_includes/init_zca_bootstrap.php on line 27
[04-May-2025 19:26:50 Australia/Sydney] Request URI: /, IP address: 112.141.5.62
--> PHP Fatal error: Uncaught Error: Failed opening required 'includes/functions/zca_bootstrap_functions.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /includes/init_includes/init_zca_bootstrap.php:27
Stack trace:
#0 /includes/autoload_func.php(40): require_once()
#1 /includes/application_top.php(246): require('/home/xxxx')
#2 /index.php(25): require('/home/xxxx')
#3 {main}
thrown in /includes/init_includes/init_zca_bootstrap.php on line 27.
Re: ZCA Bootstrap Template
You've apparently either deleted or failed to upload the file /includes/functions/zca_bootstrap_functions.php from the template's distribution zip-file.
Re: ZCA Bootstrap Template
I will upload the file again and see what happens.
.Uploaded the file and now get a blank page on the front page.
Re: ZCA Bootstrap Template
Hi All,
Just to let you know that it appears to be my error by not uploading three of files from the zip folder.
Sorry to waste peoples time because of my error.
Thank again Lat9 for the assistance locating the files.
Re: ZCA Bootstrap Template
Hallo,
After hours or searching and googling, I have finally landed here and hope someone can help me.
We have just installed the new v2.1.0 using the Bootstrap Template.
Can someone please tell us where to change the font sizes! We have checked the CSS files, but can't find them.
What are we missing?
thanks for your help.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
Dustie
Hallo,
After hours or searching and googling, I have finally landed here and hope someone can help me.
We have just installed the new v2.1.0 using the Bootstrap Template.
Can someone please tell us where to change the font sizes! We have checked the CSS files, but can't find them.
What are we missing?
thanks for your help.
Copy the file (from your bootstrap template clone) /includes/templates/your-bootstrap/css/dist-site_specific_styles.php to a file named site_specific_styles.php in the same /css sub-directory and make your edits there.
The 'base' font sizes are controlled by bootstrap's CSS files. See this (https://getbootstrap.com/docs/4.6/ge.../introduction/) Bootstrap 4.6 documentation for additional details.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
lat9
Copy the file (from your bootstrap template clone) /includes/templates/your-bootstrap/css/dist-site_specific_styles.php to a file named site_specific_styles.php in the same /css sub-directory and make your edits there.
The 'base' font sizes are controlled by bootstrap's CSS files. See this (
https://getbootstrap.com/docs/4.6/ge.../introduction/) Bootstrap 4.6 documentation for additional details.
Thank you for your reply.
I opened up the file you mentioned - includes/templates/your-bootstrap/css/dist-site_specific_styles.php
But all I see is the following.
<?php
/*
* BOOTSTRAP 3.6.4
*
* Create a file called "site_specific_styles.php" to contain any changes
* to base css provided by this template. Place site-specific content
* between the opening and closing style tags.
*
* Refer to https://github.com/lat9/ZCA-Bootstra...ecific-styling
* for additional information.
*/
?>
<style>
/* Your content here ... */
</style>
Is there no one specific file that has all the fonts and sizes in it already, which I can just customise?
I went to the link you sent, but sadly I am still not finding a simple file that has the fonts for easy changing.
I am still missing something :(
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
Dustie
Thank you for your reply.
I opened up the file you mentioned - includes/templates/your-bootstrap/css/
dist-site_specific_styles.php
But all I see is the following.
<?php
/*
* BOOTSTRAP 3.6.4
*
* Create a file called "site_specific_styles.php" to contain any changes
* to base css provided by this template. Place site-specific content
* between the opening and closing style tags.
*
* Refer to
https://github.com/lat9/ZCA-Bootstra...ecific-styling
* for additional information.
*/
?>
<style>
/* Your content here ... */
</style>
Is there no one specific file that has all the fonts and sizes in it already, which I can just customise?
I went to the link you sent, but sadly I am still not finding a simple file that has the fonts for easy changing.
I am still missing something :(
There's not one file; the font sizes are initialized by the base Bootstrap CSS/JS: https://getbootstrap.com/docs/4.6/co...and-paragraphs
You'll need to add your site-specific CSS styling to the /css/site_specific_styles.php file.
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
lat9
Another possibly helpful link: https://www.w3schools.com/bootstrap4...typography.asp
Re: ZCA Bootstrap Template
Quote:
Originally Posted by
lat9
thank you very much.. this is helpful