Autoloader not activating autoload files
I appear to have an issue with the autoloader - and I don't know if it's the template that has triggered it, or something else.
When I've tried to add some of the new plugins for 1.5.7 over the last 4 weeks, all that require an autoloader file to trigger them to show up on my website, whether admin or shop side, are not working.
My template is Westminster_new 2.1 that I updated over Christmas, with some colour tweaks made by me.
I'm totally confuzzled as all the forums relating to the plugins are showing that this isn't a general issue... so I'm, obviously special! :p
All plugins that don't require an autoloader file are working fine.
Suggestions of where I start the Autopsy Process...?
TIA
Tarn :-)
Re: Autoloader not activating autoload files
Quote:
Originally Posted by
Elemi
I appear to have an issue with the autoloader - and I don't know if it's the template that has triggered it, or something else.
When I've tried to add some of the new plugins for 1.5.7 over the last 4 weeks, all that require an autoloader file to trigger them to show up on my website, whether admin or shop side, are not working.
My template is Westminster_new 2.1 that I updated over Christmas, with some colour tweaks made by me.
I'm totally confuzzled as all the forums relating to the plugins are showing that this isn't a general issue... so I'm, obviously special! :p
All plugins that don't require an autoloader file are working fine.
Suggestions of where I start the Autopsy Process...?
TIA
Tarn :-)
You could start by adding the following to the very top of your admin's /includes/configure.php:
Code:
define('DEBUG_AUTOLOAD', true);
Note that that's a boolean true, no quotes around the value! That will cause the next refresh of your admin to spit out the progress of the auto-load procedure.
I'll suggest first logging into the admin so that the output doesn't affect your ability to log in.
Re: Autoloader not activating autoload files
Quote:
Originally Posted by
lat9
You could start by adding the following to the very top of your admin's /includes/configure.php:
Code:
define('DEBUG_AUTOLOAD', true);
Note that that's a
boolean true, no quotes around the value! That will cause the next refresh of your admin to spit out the progress of the auto-load procedure.
I'll suggest first logging into the admin so that the output doesn't affect your ability to log in.
Thanks, however this option didn't work...
Re: Autoloader not activating autoload files
Quote:
Originally Posted by
Elemi
Thanks, however this option didn't work...
Please elaborate on what is meant by: didn't work.
Does this mean that when the suggested change was made while already logged into the Admin and a navigation occurred (preferably one that would be expected to trigger one of the observers discussed) that the specific file did not appear in the list, that no list was provided, or something else such as a complete blank screen?
Re: Autoloader not activating autoload files
Quote:
Originally Posted by
mc12345678
Please elaborate on what is meant by: didn't work.
Does this mean that when the suggested change was made while already logged into the Admin and a navigation occurred (preferably one that would be expected to trigger one of the observers discussed) that the specific file did not appear in the list, that no list was provided, or something else such as a complete blank screen?
a complete blank screen :-(
Re: Autoloader not activating autoload files
Quote:
Originally Posted by
Elemi
a complete blank screen :-(
My favorite question: Are there any debug-logs?
Re: Autoloader not activating autoload files
Quote:
Originally Posted by
lat9
My favorite question: Are there any debug-logs?
mmmm.... this one!
[25-Jan-2022 12:47:53 Pacific/Auckland] PHP Fatal error: require_once(): Failed opening required 'includes/init_includes/init_xsell_config.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/amoraromatherapy/public_html/includes/autoload_func.php on line 37
Re: Autoloader not activating autoload files
Quote:
Originally Posted by
Elemi
mmmm.... this one!
[25-Jan-2022 12:47:53 Pacific/Auckland] PHP Fatal error: require_once(): Failed opening required 'includes/init_includes/init_xsell_config.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/amoraromatherapy/public_html/includes/autoload_func.php on line 37
Somewhere, possibly in both your admin and storefront, there's a file in the /includes/auto_loaders sub-directory that's indicated a load of that missing init_xsell_config.php file. Remove (or rename to an extension of .php~) that auto-loader file and you'll be (kind of) back in business.