Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    help question 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!

    All plugins that don't require an autoloader file are working fine.

    Suggestions of where I start the Autopsy Process...?

    TIA
    Tarn :-)
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,472
    Plugin Contributions
    88

    Default Re: Autoloader not activating autoload files

    Quote Originally Posted by Elemi View Post
    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!

    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.

  3. #3
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Default Re: Autoloader not activating autoload files

    Quote Originally Posted by lat9 View Post
    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...
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  4. #4
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Autoloader not activating autoload files

    Quote Originally Posted by Elemi View Post
    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?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Default Re: Autoloader not activating autoload files

    Quote Originally Posted by mc12345678 View Post
    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 :-(
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,472
    Plugin Contributions
    88

    Default Re: Autoloader not activating autoload files

    Quote Originally Posted by Elemi View Post
    a complete blank screen :-(
    My favorite question: Are there any debug-logs?

  7. #7
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    234
    Plugin Contributions
    0

    Default Re: Autoloader not activating autoload files

    Quote Originally Posted by lat9 View Post
    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
    Elemi

    The Art of Bespoke Aromatherapy
    www.AmorAromatherapy.co.nz

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,472
    Plugin Contributions
    88

    Default Re: Autoloader not activating autoload files

    Quote Originally Posted by Elemi View Post
    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.

 

 

Similar Threads

  1. v151 my overrides not activating
    By claybuddies in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 6 Dec 2013, 01:22 PM
  2. Don't load non-php files in admin autoloader
    By swguy in forum Bug Reports
    Replies: 0
    Last Post: 6 Dec 2010, 02:27 AM
  3. [Not a bug] Salemaker not activating new sales (1.3.8a)
    By Alex Clarke in forum Bug Reports
    Replies: 2
    Last Post: 11 Sep 2009, 09:35 AM
  4. Free Shipper not activating
    By misterpaterson in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 22 Jun 2008, 05:54 PM
  5. PnP showing up in admin but not activating in store
    By x-tremeentertainment in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 9 Jul 2006, 06:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR