Results 1 to 3 of 3
  1. #1

    Default Class 'breadcrumb' not found in...

    This is in my error.log
    Code:
    PHP Fatal error: Class 'breadcrumb' not found in .../includes/autoload_func.php on line 80 
    PHP Fatal error: Class 'breadcrumb' not found in .../includes/autoload_func.php on line 80 
    PHP Fatal error: Class 'breadcrumb' not found in .../includes/autoload_func.php on line 80 
    PHP Fatal error: Class 'breadcrumb' not found in .../includes/autoload_func.php on line 80
    could anyone enlighten me as to what this means? the line of code it is reffering to is this

    Code:
    $$objectName = new $className();
    and that is taken from the larger bit of code in the file
    Code:
          case 'classInstantiate':
          $objectName = $entry['objectName'];
          $className = $entry['className'];
          if (isset($entry['classSession']) && $entry['classSession'] === true) {
            if (isset($entry['checkInstantiated']) && $entry['checkInstantiated'] === true) {
              if (!isset($_SESSION[$objectName])) {
                $_SESSION[$objectName] = new $className();
                $debugOutput .= 'if (!$_SESSION[' . $objectName . ']) { ';
                $debugOutput .= '$_SESSION[' . $objectName . '] = new ' . $className . '();';
                $debugOutput .= ' }<br />';
              }
            } else {
              $_SESSION[$objectName] = new $className();
              $debugOutput .= '  $_SESSION[' . $objectName . '] = new ' . $className . '();<br />';
            }
          } else {
                    ***********THIS NEXT LINE OF CODE IS THE PROBLEM***********
            $$objectName = new $className();
            $debugOutput .= '$' . $objectName . ' = new ' . $className . '();<br />';
          }
          break;
    This is for a client of mine,
    Thanks for any help

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Class 'breadcrumb' not found in...

    That would happen if the breadcrumb.php class file didn't get loaded. Check to be sure the file is present and complete. Perhaps it failed to upload properly?

    /includes/classes/breadcrumb.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3

    Default Re: Class 'breadcrumb' not found in...

    Dr. Byte,
    Thank you for that information. It turns out that I was missing my breadcrumbs.php...odd, so I put a fresh one in from the zipped download from the zen cart source forge site. The site is version 1.3..6 so that is the version i used to replace the missing breadcrumb.php


    As it turned out I ended up having a few missing files...weird but I wouldnt know why since I was not the one handling this project when everything went hay wire.

    Anyways, Thank you for your help and I will reply to this thread again if i have any issues

 

 

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. Replies: 0
    Last Post: 9 May 2010, 05:17 AM
  5. Class 'queryFactory' not found
    By gperina in forum Installing on a Windows Server
    Replies: 4
    Last Post: 15 Aug 2007, 04:17 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