Page 1 of 3 123 LastLast
Results 1 to 10 of 29
  1. #1
    Join Date
    Aug 2005
    Location
    Miramar, FL
    Posts
    41
    Plugin Contributions
    0

    Default Need HELP please!

    I have been trying for the past 2 days to install zencart and to no avail. I've uploaded and deleted files so many times that I've lost count. After going through the installation I receive this message when I go to the site - www.mykeepsakekreations.com:

    Warning: main(includes/application_top.php): failed to open stream: Permission denied in /home/content/j/f/u/jfullermkk/html/index.php on line 26

    Warning: main(includes/application_top.php): failed to open stream: Permission denied in /home/content/j/f/u/jfullermkk/html/index.php on line 26

    Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/lib/php') in /home/content/j/f/u/jfullermkk/html/index.php on line 26

    On the index.php page this is what's on line 26:
    require('includes/application_top.php');

    I get this message in the admin:

    Warning: main(/home/content/j/f/u/jfullermkk/html/includes/autoload_func.php): failed to open stream: Permission denied in /home/content/j/f/u/jfullermkk/html/admin/includes/application_top.php on line 145

    Warning: main(/home/content/j/f/u/jfullermkk/html/includes/autoload_func.php): failed to open stream: Permission denied in /home/content/j/f/u/jfullermkk/html/admin/includes/application_top.php on line 145

    Fatal error: main(): Failed opening required '/home/content/j/f/u/jfullermkk/html/includes/autoload_func.php' (include_path='.:/usr/local/lib/php') in /home/content/j/f/u/jfullermkk/html/admin/includes/application_top.php on line 145

    On the admin/includes/application_top.php page this is what's on line 145:
    require(DIR_FS_CATALOG . 'includes/autoload_func.php');

    Would someone please help me??? I am so FRUSTRATED with this and don't know how to fix the problem. I feel like giving up if this is going to take me another 2 days to try and figure out. Thanks in advance!

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Need HELP please!

    This seems to be file permission issue
    Make sure you have 755 permission set for files!

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Need HELP please!

    further, please post your /includes/configure.php file contents, without the password
    .

    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.

  4. #4
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Need HELP please!

    Since this is, also, about a permission denied error message, you can also check the installation documentation, from the docs folder, of the latest Zen-Cart package version you have downloaded. It will specify which permission settings needs to be set in order to run Zen-Cart properly.

  5. #5
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Need HELP please!

    Quote Originally Posted by superprg
    This seems to be file permission issue
    Make sure you have 755 permission set for files!
    Make sure that you DO NOT have permissions of 755 set for files. There's no need to have any files with permissions higher than 644.

    Vger

  6. #6
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Need HELP please!


    There's no need to have any files with permissions higher than 644.
    Except during the Zen-Cart installation process:

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

    files needs to be set to CHMOD 666 on most web servers. Otherwise, these two files won't be able to be written automatically once the installation will be nearly completed.

  7. #7
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Need HELP please!

    Except during the Zen-Cart installation process:

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

    files needs to be set to CHMOD 666 on most web servers.
    This is a post-install problem. For the install itself I'd recommend 755 on those two files, and reset afterwards to 644 on Windows servers, or 444 or 400 on Apache.

    It seems that the problem is related to permissions on the 'includes' folder. Please check that they are 755.

    Vger

  8. #8
    Join Date
    Aug 2005
    Location
    Miramar, FL
    Posts
    41
    Plugin Contributions
    0

    Default Re: Need HELP please!

    Thanks so so much guys for responding so quickly. I installed ZenCart back in May for another business, and it is working just fine, and I did the same steps for this install and it won't work. Permissions on the configure.php files were set to 644 after install.

    Here's the admin/includes/configure.php contents:
    <?php
    //
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    */
    define('HTTP_SERVER', 'http://mykeepsakekreations.com');
    define('HTTPS_SERVER', 'https://mykeepsakekreations.com');
    define('HTTP_CATALOG_SERVER', 'http://mykeepsakekreations.com');
    define('HTTPS_CATALOG_SERVER', 'https://mykeepsakekreations.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/home/content/j/f/u/jfullermkk/html/admin/');
    define('DIR_FS_CATALOG', '/home/content/j/f/u/jfullermkk/html/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'mysql99.secureserver.net'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '');
    define('DB_SERVER_PASSWORD', '');
    define('DB_DATABASE', 'keepsake');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'database');
    define('DIR_FS_SQL_CACHE', '/home/content/j/f/u/jfullermkk/html/cache');

    ?>

    For some reason I have not been able to access the includes/configure.php file. I keep getting a little 'x' next to the file and an error message that says "Can't change the directory to /includes: Permission denied".

  9. #9
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Need HELP please!

    Very well. Please post your URL pointing to your techsupp.php file.

    Note: You will find this file from your downloaded package within the zc_install folder.

  10. #10
    Join Date
    Aug 2005
    Location
    Miramar, FL
    Posts
    41
    Plugin Contributions
    0

    Default Re: Need HELP please!

    I was only able to enter 14000 characters so I had to cut the file contents in half and post twice.

    <file contents removed for sake of brevity>
    Last edited by DrByte; 10 Jul 2006 at 07:35 AM.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v150 I need help with my product listing please help im going insane!!
    By Darion in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 10 Sep 2012, 04:16 AM
  2. v150 I need help with my product listing please help im going insane!!
    By Darion in forum General Questions
    Replies: 1
    Last Post: 10 Sep 2012, 02:12 AM
  3. please help need help for reviews and tips page
    By abs007 in forum General Questions
    Replies: 2
    Last Post: 9 Apr 2009, 02:14 PM
  4. Need help with color scheme - URGENT PLEASE HELP
    By nepton in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 18 Nov 2008, 03:48 AM
  5. Mcafee scan says I need to fix I need help please??
    By touchclothing in forum General Questions
    Replies: 2
    Last Post: 30 Sep 2008, 08:57 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