Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default Fatal error after upgrade to 1.3.5 renaming phpbb file

    I have upgraded from 1.3 to 1.3.5 and am getting the following error:
    Fatal error: Cannot instantiate non-existent class: phpbb in /home/oneweew/public_html/weetestcatalog/includes/autoload_func.php on line 79
    I followed the forum and renamed the file "class.phpBB.php" to "class.phpbb.php" in "includes/classes" but continue to get this error on the main page of the cart. Any further help with this would be greatly appreciated.

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

    Default Re: Fatal error after upgrade to 1.3.5

    Renaming files using the same letters but with different case often can be problematic (most noticably on Windows systems).

    Please rename the file to class.phpbb.renamed.php
    and then rename it back to class.phpbb.php

    If that fails to resolve the issue, delete the file and re-upload it.
    .

    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
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Fatal error after upgrade to 1.3.5

    I nenamed as instructed. Didn't work!! So I tried step by step as per upgrade html file, by creating a fresh install, new database imported from old database, changed all files that were modified that showed up in WinMerge, upgraded the database with "zc_install" while performing ALL of this in IE and in a new directory as explained in a post. Still didn't get rid of the error. I'm thinking that I'm going to have to stick to 1.3 and just deal with any security issues. I have done upgrades on other carts and it wasn't ANYTHING like this. I just had to overwrite some files and it was done!! I really like this cart for customization but the upgrades are a nightmare. If anyone has any input on this I would REALLY appreciate it.

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

    Default Re: Fatal error after upgrade to 1.3.5

    Look, while you seem to have had some bad experiences upgrading, the process is really quite straightforward.

    In the case of your phpbb issue, here's how it works:

    1. /includes/auto_loaders/config.core.php
    line 60-61:
    Code:
      $autoLoadConfig[0][] = array('autoType'=>'class',
                                    'loadFile'=>'class.phpbb.php');
    note the lower-case filename.

    2. if you for SOME reason have other files in the /includes/auto_loaders/overrides folder or just the auto_loaders folder that contain any references to loading some other version of the phpbb class file, then you'll have to convert those to lowercase too.

    3. /includes/autoload_func.php
    lines 52-60:
    Code:
          if (isset($entry['classPath'])) {
            $classPath = $entry['classPath'];
          } else {
            $classPath = DIR_FS_CATALOG . DIR_WS_CLASSES;
          }
          /**
           * include a class definition as specified by autoloader array
           */
          if (file_exists($classPath . $entry['loadFile'])) include($classPath . $entry['loadFile']);
    in a nutshell, this checks the appropriate path, checks whether the file exists (/includes/classes/class.phpbb.php) and include()'s it.

    If it cannot find the file in order to include it, then the phpbb class is never defined. Thus the error message you're reporting.

    So ... either the file does not exist, or it's got the wrong name, or the permissions on it are set such that it's not readable.
    .

    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.

  5. #5
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Fatal error after upgrade to 1.3.5 renaming phpbb file

    Thank you for the explaination, however everything checked out but still didn't work. So I decided to do a fresh complete install with version 1.3.5. I moved my template over to the new directory along with any override files. This isn't a big hassle because it's a new store without a client database and only one product at this time, so I'm not really losing anything with a new database that hasn't been updated. HOWEVER I seem to have a new problem that I can't figure out. The main page won't expand to accomodate the additional sideboxes that I have been enabling in the admin panel. There isn't a height attribute in the CSS body tag, so I know it's not that. You can see my old site that expanded properly at https://www.oneweeworld.com/weecatalog/
    and you can see what my problem is at https://www.oneweeworld.com/oneweecatalog/
    I have about 5 other sideboxes enabled that aren't displaying because the page won't expand to accomodate them. Could you please shed some light on this for me?

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

    Default Re: Fatal error after upgrade to 1.3.5 renaming phpbb file

    What are all your settings in the Admin->Tools->Layout Boxes Controller ?
    .

    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.

  7. #7
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Fatal error after upgrade to 1.3.5 renaming phpbb file

    I basically am copying the settings I had for the admin panel in 1.3
    The ones that are ON are as follows:
    These are above the horizontal dividing line:
    sideboxes/document_categories.php ON LEFT 0 0 OFF
    sideboxes/categories.php ON LEFT 10 10 ON
    sideboxes/whats_new.php ON LEFT 20 0 OFF
    These are below the horizontal dividing line:
    sideboxes/best_sellers.php ON RIGHT 30 70 ON
    sideboxes/manufacturer_info.php ON RIGHT 35 95 ON
    sideboxes/product_notifications.php ON RIGHT 55 85 ON
    sideboxes/languages.php ON RIGHT 70 50 ON
    sideboxes/currencies.php ON RIGHT 80 60 ON
    sideboxes/whos_online.php ON RIGHT 200 200 ON

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

    Default Re: Fatal error after upgrade to 1.3.5 renaming phpbb file

    Based on those settings, I see no problems, at least not in IE6.

    I see:
    categories
    languages
    currencies
    whos-online

    Since you have no data to show in the others, they're not showing.
    .

    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.

  9. #9
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Fatal error after upgrade to 1.3.5 renaming phpbb file

    Ahh!! Feeling very stupid right now.

    New cart is displaying properly once I put some content in it.

    Thank you very much for straightening this out for me.

  10. #10
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: Fatal error after upgrade to 1.3.5 renaming phpbb file

    I see this on the bottom of your page...

    Shopping Cart Furnished by 3rd Dimension Media

    hmmmmm........no credit to zen cart
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 12
    Last Post: 26 Jun 2013, 02:14 AM
  2. v139h Fatal Error after upgrade
    By csaling in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 25 May 2012, 04:47 PM
  3. 1.3.6 Fatal Error at checkout after upgrade - help please
    By jeffmic in forum Upgrading from 1.3.x to 1.3.9
    Replies: 13
    Last Post: 30 Jan 2007, 12:25 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