Thread: Error message

Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2007
    Location
    Westcountry UK
    Posts
    3
    Plugin Contributions
    0

    help question Error message

    I got this error when I went to the URL to start the installer:

    Warning: main(includes/classes/boxes.php) [function.main]: failed to open stream: No such file or directory in /home/silverfi/public_html/test_area/zencart/zc_install/includes/application_top.php on line 41

    Warning: main(includes/classes/boxes.php) [function.main]: failed to open stream: No such file or directory in /home/silverfi/public_html/test_area/zencart/zc_install/includes/application_top.php on line 41

    Fatal error: main() [function.require]: Failed opening required 'includes/classes/boxes.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/silverfi/public_html/test_area/zencart/zc_install/includes/application_top.php on line 41
    This is my first time installing ZenCart and I've re-uploaded the files and CHMOD'ed them as per the instructions. So what's up with this?

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Error message

    What FTP client did you use?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Sep 2007
    Location
    Westcountry UK
    Posts
    3
    Plugin Contributions
    0

    Default Re: Error message

    I used Filezilla 3.0.1.

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Error message

    The error msg. is telling you that this file cannot be found.
    includes/classes/boxes.php

    Verify the file is there and if it is, delete it and reupload it. Sometimes a file gets missed in the uploading and/or it is uploaded but only partially.

  5. #5
    Join Date
    Sep 2007
    Location
    Westcountry UK
    Posts
    3
    Plugin Contributions
    0

    Default Re: Error message

    I've done that but it is still there.

    Looks like I'll have to delete the lot and try again.

  6. #6
    Join Date
    Sep 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: Error message

    You need to alter the ownership on that folder to include your server's web user. e.g. Apache2 on Debian uses www-data unless you've changed it. First, check what it is in your case, and your own username (I've called that you-user below). You can do this using ftp but if you have shell access, do this:
    ls - ls /path/to/directory/name/

    which will tell you the curent ownership and permissions on each file in that directory.

    Change the whole directory ownership like this:

    chown webuser:you-user -R /path/to/directory/name

    or just the files which have the wrong ownership like this:

    cd /path/to/directory/name

    chown webuser:you-user file1 file2 file3 . . . filen

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,708
    Plugin Contributions
    12

    Default Re: Error message

    I've been doing this stuff a while and, now you've got me confused

    You need to simply get a good, free ftp program and make sure it is set to overwrite existing files. It won't touch any settings in either configure.php as it does not contain either one. It won't overwrite any template files unless you have changed something in classic or default. AND.... since it's only the one file so far, just FTP that one file (did I mention set to overwrite?) and that error should disappear.
    Filezilla may be fine for an initial install but, I think you'll find it is not a tool of choice for upgrades or additions to the cart. Search the forum for FTP and you'll find some suggestions for a freebie.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Error message

    Umm, last I heard, Filezilla was recommended by no less than DrByte...

  9. #9
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,708
    Plugin Contributions
    12

    Default Re: Error message

    If anyone finds my brain, please hold it till I get there!

    Don't know what I was thinking on the Filezilla Knew better.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  10. #10
    Join Date
    Sep 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: Error message

    chmod changes what the user, the group, and the rest of the world can do. chown lets you make sure you have the correct user and group in the first place.

    The php error message you are getting is a typical ownership challenge. It's saying to me that somehow you have uploaded files into that directory owned by the wrong user or by the wrong group or possibly both. The web user needs to be in there for a php script to work properly. For instance, if you've gone in there as admin or root and uploaded files, ownership on any *nix system will default to admin or root. But the Apache web server is not configured to serve files owned by admin or root.

    I'm not sure if you can do this via ftp, you may need shell access to the server, but I'd try it in ftp first anyway. Just check that the file throwing up the faults is owned by the same user and group as files and scripts that are working.

    By the way, this is also a typical sysadmin mistake. If you've had assistance from your web host, they may have changed something and forgotten to re-set ownership.
    Last edited by chancer; 2 Oct 2007 at 02:46 PM. Reason: Added a bit at the end.

 

 

Similar Threads

  1. Authorize.net error message with no error message?
    By swamyg1 in forum Built-in Shipping and Payment Modules
    Replies: 12
    Last Post: 19 Nov 2010, 12:32 AM
  2. 500 Error - FastCGI error message after database installation page.
    By hungoveragain in forum Installing on a Windows Server
    Replies: 8
    Last Post: 24 Sep 2010, 03:37 PM
  3. Error message 1064 you have an error in your sql syntax
    By honrheart in forum General Questions
    Replies: 1
    Last Post: 11 Sep 2009, 02:38 AM
  4. PCI error: Potentially Exploitable Database Error Message -- links_alias table
    By srigari in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 21 Jun 2009, 12:23 AM
  5. error message 1064 you have an error in your sql syntax
    By ngsl in forum General Questions
    Replies: 0
    Last Post: 22 Aug 2008, 06:44 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