Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2007
    Location
    Ohio
    Posts
    70
    Plugin Contributions
    0

    Default Fatal Error NEED HELP

    i keep getting this error when I try to go to my store/admin

    Warning: require(/home/midrealm/public_html/store/catalog/includes/autoload_func.php) [function.require]: failed to open stream: No such file or directory in /home/midrealm/public_html/store/admin/includes/application_top.php on line 149

    Fatal error: require() [function.require]: Failed opening required '/home/midrealm/public_html/store/catalog/includes/autoload_func.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/midrealm/public_html/store/admin/includes/application_top.php on line 149



    How do I fix this, please help.

  2. #2
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Fatal Error NEED HELP

    Make sure you have the right paths in the following files.

    /includes/configure.php
    /admin/includes/configure.php

  3. #3
    Join Date
    Nov 2007
    Location
    Ohio
    Posts
    70
    Plugin Contributions
    0

    Default Re: Fatal Error NEED HELP

    I thought i did, but apparently I don't have it right for catalog and can't figure what to change it to

  4. #4
    Join Date
    Nov 2007
    Location
    Ohio
    Posts
    70
    Plugin Contributions
    0

    Default Re: Fatal Error NEED HELP

    I had tried to send my store folder to my public_html so the site would go directly to the store. but that didn't work out. so I decided just to send it back and make my front page an entrance image. however, i'm having the same prob as I i did after i relocated my zen cart files to public_html. I think I might have messed up the path to the catalog, but can't figure out how to fix it. where do I find the catalog in zen cart so I know where to direct it to ?

  5. #5
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Fatal Error NEED HELP

    It's going to be like this.

    http://yoururl.com/store/catalog

    your admin should be http://yoururl.com/store/catalog/admin

    however looking at the paths in your error message you have admin in

    http://yoururl.com/store/admin so make your admin path the same as this one.

    In other words you have your admin folder at the same level as your catalog which can be a good security measure. But you have to have your path set properly in your configure.php file.

  6. #6
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Fatal Error NEED HELP

    Ok,

    To get your store to the public_html folder, copy the files back in there like before but leave them in the old folders as well just in case.

    in /includes/configure.php
    Line 17 and 18

    Code:
    define('HTTP_SERVER', 'http://yoururl.com');
      define('HTTPS_SERVER', 'https://yoururl.com');


    Copy the admin folder to this address.

    /public_html/admin/

    But rename the folder to something else for security reasons, for now lets call it happy. so the admin folder is now the happy folder.

    in /happy/includes/configure.php change the following.

    Line 21-22

    Code:
      define('HTTP_SERVER', 'http://yoururl.com');
      define('HTTPS_SERVER', 'https://yoururl.com');
      define('HTTP_CATALOG_SERVER', 'http://yoururl.com');
      define('HTTPS_CATALOG_SERVER', 'https://yoururl.com');
    
    Line 41-44

    Code:
      
    define('DIR_WS_ADMIN', '/happy/');
      define('DIR_WS_CATALOG', '/');
      define('DIR_WS_HTTPS_ADMIN', '/happy/');
      define('DIR_WS_HTTPS_CATALOG', '/');

    Line 60-61

    Code:
    define('DIR_FS_ADMIN','/home/username/public_html/happy/');
      define('DIR_FS_CATALOG','/home/username/public_html/');

  7. #7
    Join Date
    Nov 2007
    Location
    Ohio
    Posts
    70
    Plugin Contributions
    0

    Default Re: Fatal Error NEED HELP

    hmmm, now getting server not found. would it be easier just to uninstall zen cart and start over by reinstalling it ? if that's possible

  8. #8
    Join Date
    Nov 2007
    Location
    Ohio
    Posts
    70
    Plugin Contributions
    0

    Default Re: Fatal Error NEED HELP

    Quote Originally Posted by birdoasis View Post
    Ok,

    To get your store to the public_html folder, copy the files back in there like before but leave them in the old folders as well just in case.

    in /includes/configure.php
    Line 17 and 18

    Code:
    define('HTTP_SERVER', 'http://yoururl.com');
      define('HTTPS_SERVER', 'https://yoururl.com');


    Copy the admin folder to this address.

    /public_html/admin/

    But rename the folder to something else for security reasons, for now lets call it happy. so the admin folder is now the happy folder.

    in /happy/includes/configure.php change the following.

    Line 21-22

    Code:
      define('HTTP_SERVER', 'http://yoururl.com');
      define('HTTPS_SERVER', 'https://yoururl.com');
      define('HTTP_CATALOG_SERVER', 'http://yoururl.com');
      define('HTTPS_CATALOG_SERVER', 'https://yoururl.com');
    
    Line 41-44

    Code:
      
    define('DIR_WS_ADMIN', '/happy/');
      define('DIR_WS_CATALOG', '/');
      define('DIR_WS_HTTPS_ADMIN', '/happy/');
      define('DIR_WS_HTTPS_CATALOG', '/');

    Line 60-61

    Code:
    define('DIR_FS_ADMIN','/home/username/public_html/happy/');
      define('DIR_FS_CATALOG','/home/username/public_html/');


    Ok, I got that part done. I used the admin/includes/dist-configure.php from my unzipped zen cart

  9. #9
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Fatal Error NEED HELP

    Is your site up and working now?

 

 

Similar Threads

  1. PHP Fatal error: 1062 I need help!!!
    By zch0071 in forum General Questions
    Replies: 1
    Last Post: 14 Nov 2013, 03:15 PM
  2. Fatal Error - Need Help
    By lseibert in forum General Questions
    Replies: 6
    Last Post: 3 Feb 2009, 12:29 AM
  3. Need help with very serious fatal error
    By james739 in forum General Questions
    Replies: 2
    Last Post: 24 Jan 2009, 05:54 AM
  4. Need *URGENT* HELP please!! Fatal Error order_total.php
    By gizmo_girl in forum General Questions
    Replies: 4
    Last Post: 1 Feb 2008, 07:12 PM
  5. Fatal Error... need help
    By pjb923 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 17 Jul 2006, 06:22 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