Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    Jul 2007
    Posts
    6
    Plugin Contributions
    0

    Default SQL issue viz mySQL db v5, or other problem?

    Hi,

    I wonder if anyone might be able to help. I did a fresh install on Unix/apache using suExec (therefore no permissions issues). Ensured all files uploaded OK. Did installation but during the process got a "MySQL 5 not fully supported" warning. My host's tech admins tell me there are no issues running Zencart under v.5 on their servers.

    On completing installation (into site root) I get:

    Fatal error: Cannot instantiate non-existent class: notifier in /home/express/www/www/includes/autoload_func.php on line 79

    I am no PHP'er, so cannot figure out the problem. Seems to me it's not an SQL issue. Any suggestions?

    Any help will be greatly appreciated.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SQL issue viz mySQL db v5, or other problem?

    Quote Originally Posted by australdata View Post
    Fatal error: Cannot instantiate non-existent class: notifier in /home/express/www/www/includes/autoload_func.php on line 79
    This suggests that some of the class files in the /includes/classes folder may not be fully uploaded.

    Did you use v1.3.7 or v1.3.7.1 ? There are a few small fixes in v1.3.7.1 that might also help prevent that error ... although the most common cause of the error you mention is just that several of the /includes/classes files are not uploaded properly ... either missing or only 0 bytes, etc.
    .

    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
    Jul 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: SQL issue viz mySQL db v5, or other problem?

    DrByte, thanks for your reply

    I thought that I might have some files missing and have gone through each and every folder (all 5 zillion of them!) to check. I had a few missing, but did not consider the zero bytes issue. I did upload the very latest file set.

    I will go through it all again. Will come back to post outcome.

    Thanks for your help.


  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SQL issue viz mySQL db v5, or other problem?

    Sometimes the approach documented in this link can be helpful too:
    http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    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
    Jul 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: SQL issue viz mySQL db v5, or other problem?

    Thanks DrByte,

    I've looked up wiki and I've downloaded and used Winmerge. No errors.

    I've seen your name in config.core.php! Not that I had been looking for it, but while trying to backtrace the error message, I looked at this config.core.php and noted:

    /**
    *
    * require(DIR_WS_CLASSES . 'class.base.php');
    * require(DIR_WS_CLASSES . 'class.notifier.php');
    * $zco_notifier = new notifier()'
    * require(DIR_WS_CLASSES . 'mime.php');
    * require(DIR_WS_CLASSES . 'email.php');
    * require(DIR_WS_CLASSES . 'boxes.php');
    * require(DIR_WS_CLASSES . 'category_tree.php');
    * require(DIR_WS_CLASSES . 'cache.php');
    * require(DIR_WS_CLASSES . 'sniffer.php');
    * require(DIR_WS_CLASSES . 'shopping_cart.php');
    * require(DIR_WS_CLASSES . 'navigation_history.php');
    * require(DIR_WS_CLASSES . 'currencies.php');
    * require(DIR_WS_CLASSES . 'message_stack.php');
    * require(DIR_WS_CLASSES . 'template_func.php');
    * require(DIR_WS_CLASSES . 'split_page_results.php');
    * require(DIR_WS_CLASSES . 'breadcrumb.php');
    * require(DIR_WS_CLASSES . 'language.php');
    *
    */


    I am assumed at first that all of these classes have to be loaded when entering the site. So I searched both the downloaded files and the uploaded-then-downloaded files from the server - I didn't find:

    email.php and mime.php


    Do these files have to be present?

    Looking just below these lines in the said script, I see:

    $autoLoadConfig[0][] = array('autoType'=>'class',
    'loadFile'=>'class.base.php');

    I gather these are instructions to load the files, but there is no referrence to the two "missing" files. I know that with the /* and the */ before and after these rows it means these lines are not to be acted on (i.e. ignored). In which case I am barking up the wrong tree about the "missing" two files being the issue here.

    As you can tell, I am still none the wiser how to fix the problem. At this stage the best solution seems to just delete everything and not install a cart at all

    Anyone?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SQL issue viz mySQL db v5, or other problem?

    The "email.php" and "mime.php" were old scripts used in a prior version of Zen Cart. Apparently we haven't gotten their references out of the comments yet.
    .

    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
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SQL issue viz mySQL db v5, or other problem?

    In your /includes/application_top.php, around line 18 or so, you'll see this:
    Code:
    /**
     * boolean if true the autoloader scripts will be parsed and their output shown. For debugging purposes only.
     */
    define('DEBUG_AUTOLOAD', false);
    Change that define statement to true
    Then refresh your browser.
    What do you see ?
    .

    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.

  8. #8
    Join Date
    Jul 2006
    Posts
    123
    Plugin Contributions
    0

    Default Re: SQL issue viz mySQL db v5, or other problem?

    Hi all,

    After editting that false to true and refresh... I now get...

    actionPoint=>0 include('/home/express/www/wwwincludes/classes/class.base.php');
    actionPoint=>0 include('/home/express/www/wwwincludes/classes/class.notifier.php');

    Fatal error: Cannot instantiate non-existent class: notifier in /home/express/www/www/includes/autoload_func.php on line 79


    I changed it back as it was....

    Should we try and install a previous version ? Is this happening to everyone ?

  9. #9
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SQL issue viz mySQL db v5, or other problem?

    Quote Originally Posted by brisbanetimeout View Post
    Is this happening to everyone ?
    No. It typically only happens when files don't upload properly.
    .

    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.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SQL issue viz mySQL db v5, or other problem?

    Try replacing your /includes/autoload_func.php with the one attached, as it provides a bit of additional debug info.

    Then set the DEBUG_AUTOLOAD to true again.
    Attached Files Attached Files
    .

    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.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. mysql SQL Install file does not exist
    By Unicorn in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 16 Aug 2010, 09:37 PM
  2. other language, other template problem
    By westdesign.be in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Jan 2007, 07:47 PM

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