1.5.8 with PHP 8
BootStrap 3.5.0 -- IMPORTANT
Updating OPC to 2.4.7
Part of the OPC distro includes/modules/sideboxes/YOUR_TEMPLATE/information.php. It is said to not be a core file replacement. This seems to be false if the store is using bootstrap or a bootstrap clone.
If you clone bootstrap to, say, boot_dbltoe it then essentially becomes the "YOUR_TEMPLATE" folder for 1.5.8 running bootstrap.
The directions state to rename the OPC YOUR_TEMPLATE files to whatever your current template is called which would result in the provided OPC file to be renamed to includes/modules/sideboxes/boot_dbltoe/information.php.
When that file is loaded to the store, the original bootstrap information.php is overwritten by the OPC and the following log file occurs along with a partial blank page.
Code:
[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1#1 require(/includes/templates/boot_dbltoe/sideboxes/tpl_information.php) called at [/includes/modules/sideboxes/boot_dbltoe/information.php:56]
#2 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
#3 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
#4 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
#5 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $box_id in /includes/templates/boot_dbltoe/sideboxes/tpl_information.php on line 12.
[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
#1 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
#2 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
#3 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
#4 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $column_box_default in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.
[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
#1 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
#2 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
#3 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
#4 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $column_box_default in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.
[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
#1 require() called at [/includes/modules/sideboxes/boot_dbltoe/information.php:61]
#2 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
#3 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
#4 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
#5 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: require(/includes/templates/boot_dbltoe/common): Failed to open stream: No such file or directory in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.
[27-Dec-2022 13:08:33 America/Denver] PHP Fatal error: Uncaught Error: Failed opening required 'includes/templates/boot_dbltoe/common/' (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /includes/modules/sideboxes/boot_dbltoe/information.php:61
Stack trace:
#0 /includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php(97): require()
#1 /includes/templates/boot_dbltoe/common/tpl_header.php(77): require('/home/hornkati/...')
#2 /includes/templates/boot_dbltoe/common/tpl_main_page.php(125): require('/home/hornkati/...')
#3 /index.php(94): require('/home/hornkati/...')
#4 {main}
thrown in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61
[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255
--> PHP Fatal error: Uncaught Error: Failed opening required 'includes/templates/boot_dbltoe/common/' (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /includes/modules/sideboxes/boot_dbltoe/information.php:61
Stack trace:
#0 /includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php(97): require()
#1 /includes/templates/boot_dbltoe/common/tpl_header.php(77): require('/home/hornkati/...')
#2 /includes/templates/boot_dbltoe/common/tpl_main_page.php(125): require('/home/hornkati/...')
#3 /index.php(94): require('/home/hornkati/...')
#4 {main}
thrown in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.
Replacing the OPC information.php file with the original from bootstrap 3.5.0 restores operation to the store.
Had this same problem before but was not able to replicate cause and effect till this time.
Bookmarks