Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Class 'products_with_attributes_stock_admin' not found

    zc 1.5.5a many mods
    I've been fiddling with Dynamic Filters mod and SbyA github mod on test site. They mostly play nice together but a few strange interactions give hesitation to run live. I decided to remove both mods, then reinstall DF and fiddle til satistied, then try adding SbyA. (only few products use Sby A). This was going fairly smoothly so I took DF live, but turned off while I fiddled some more.

    I had a few test products in live site that I went to remove. SbyA had already been uninstalled and DF installed. Turns out a few test products had stock attributes and I got an error when trying to delete - odd because all option names and values had been removed after uninstalling the mod.

    But when I went back a page the product was gone. So, yeah, I repeated with several products. Each time, error, back page, gone, repeat. But then when I went to return to admin landing page - blank!

    Turns out, I had failed to manually remove one of the SbyA files - admin/incl/classes/observers/class.products_with_attributes_stock on live site (but had removed on test site)

    Error Log:

    Code:
    [21-Sep-2016 15:34:49 America/Chicago] PHP Fatal error:  Class 'products_with_attributes_stock_admin' not found in /xxxxx/xxxxx/public_html/includes/autoload_func.php on line 79
    When I replace the file, admin works properly with no errors logged, if I take it back out I get a blank page and the log error.

    Tried all above with cleared cache. Double checked test site and that file was indeed removed. In test and live I did uninstall SbyA via admin, and manually deleted files noted in instructions.

    I'm not posting this in SbyA forum as I think its more related to me mucking up something in by calling up things that don't exist or partially exist (?).

    I don't see any leftover SbyA tables in phmMyAdmin.

    Any thoughts on how to delete that file safely and/or is the log telling me I've created a bogeyman that will surely come for me in the night?

  2. #2
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Re: Class 'products_with_attributes_stock_admin' not found

    Quote Originally Posted by soxophoneplayer View Post
    ...or is the log telling me I've created a bogeyman that will surely come for me in the night?
    Found the bogeyman - there were two files I'd forgotten to remove, not one. Both were in admin/includes/ and in my crib sheet I just had /includes so when I opened that folder to delete them I presumed I already had. Sheesh.

    With both files now removed, admin panel functions without logging errors.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Class 'products_with_attributes_stock_admin' not found

    FYI, in regards to deleting product, there was an error in the admin observer where $db was not made global in a few of the functions. This was corrected yesterday thanks to jeking reporting the issue.

    But yes the trouble being seen was with partial file removal in the uninstall of SBA.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v151 Class 'tableBlock' not found
    By Sean Maher in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 13 Jul 2013, 01:45 AM
  2. Class 'queryFactory' not found on v1.3.9f
    By siliconbug in forum Installing on a Linux/Unix Server
    Replies: 24
    Last Post: 5 Jan 2012, 12:02 PM
  3. Class notifier not found
    By psychosis in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 14 Sep 2011, 08:55 PM
  4. Class 'queryFactory' not found
    By gperina in forum Installing on a Windows Server
    Replies: 4
    Last Post: 15 Aug 2007, 04:17 PM
  5. Class 'breadcrumb' not found in...
    By Capslock118 in forum General Questions
    Replies: 2
    Last Post: 7 Jun 2007, 01:56 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