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

    Default Includes Failing

    Hey,

    I'm installing ZenCart on a Windows Server 2003 w/ PHP version: 4.4.7 and MySQL version: 5.0.45 and Zencart install version: 1.3.8a

    I was able to install okay (the config files have the correct info in them, and the files are on the site in the correct locations), however, when I go to the zencart index or the admin index, I get the following error messages on the admin index:

    Code:
    Warning: main(/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/autoload_func.php) [function.main]: failed to open stream: No such file or directory in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\admin\includes\application_top.php on line 130
    
    Warning: main(/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/autoload_func.php) [function.main]: failed to open stream: No such file or directory in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\admin\includes\application_top.php on line 130
    
    Fatal error: main() [function.require]: Failed opening required '/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/autoload_func.php' (include_path='.;c:\php\includes') in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\admin\includes\application_top.php on line 130
    On the zencart index the error messages are not displayed, so this is what I get when I have script installed from this site that logs the error messages:

    Code:
    [25-Jun-2008 11:06:04] PHP Warning: main(/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/classes/class.base.php) [function.main]: failed to open stream: No such file or directory in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 60 
    [25-Jun-2008 11:06:04] PHP Warning: main(/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/classes/class.base.php) [function.main]: failed to open stream: No such file or directory in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 60 
    [25-Jun-2008 11:06:04] PHP Warning: main() [function.include]: Failed opening '/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/classes/class.base.php' for inclusion (include_path='.;c:\php\includes') in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 60 
    [25-Jun-2008 11:06:04] PHP Warning: main(/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/classes/class.notifier.php) [function.main]: failed to open stream: No such file or directory in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 60 
    [25-Jun-2008 11:06:04] PHP Warning: main(/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/classes/class.notifier.php) [function.main]: failed to open stream: No such file or directory in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 60 
    [25-Jun-2008 11:06:04] PHP Warning: main() [function.include]: Failed opening '/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/classes/class.notifier.php' for inclusion (include_path='.;c:\php\includes') in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 60 
    [25-Jun-2008 11:06:04] PHP Fatal error: Cannot instantiate non-existent class: notifier in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 79

    I'm somewhat at a loss here, as the files are in the propper directories, and the error messages say there is no file there, but there is.

    Any help would be appreciated.

    Thanks,
    Stephen Elmendorf
    Last edited by SniperSteve; 25 Jun 2008 at 04:24 PM.

  2. #2
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Includes Failing

    Try this.

    Open the problem file, scroll to the end and see if there any blank/extra lines after the final code. If there are - remove them and see if that fixes your problem.

    Tina

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

    Default Re: Includes Failing

    The issue is that it's seeing \\nawinfs06 as /nawinfs06 because it typically strips out backslashes and converts them to forward slashes during install-time.

    You can probably work around it by editing your configure.php files after you've finished installation and altering the path settings from /nawinfs06 back to \\nawinfs06

    Or, you can probably get around it by running it from a physical drive on your server directly, instead of serving it off an external server like you're doing.
    .

    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.

 

 

Similar Threads

  1. differences between admin/includes/configure and includes/configure?
    By waterloominis in forum General Questions
    Replies: 1
    Last Post: 22 Nov 2011, 09:22 PM
  2. Problems with includes/config.php and admin/includes.php
    By Scott83 in forum Basic Configuration
    Replies: 2
    Last Post: 23 Oct 2009, 07:09 PM
  3. difference between \includes and \admin\includes
    By arnold931 in forum Basic Configuration
    Replies: 5
    Last Post: 27 Aug 2007, 01:55 AM

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