Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 46
  1. #31
    Join Date
    Feb 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Http 500 internal server error

    Thanks so much, Ajeh.

    I have substituted ##### for identifiers:
    PHP Code:
    <?php
    /**
     * @package Configuration Settings circa 1.3.9
     * @copyright Copyright 2003-2010 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * File Built by zc_install on 2010-07-19 11:48:50
     */
    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER''http://bylargesse.com');
    define('HTTPS_SERVER''https://bylargesse.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL''true');

    //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_CATALOG''/');
    define('DIR_WS_HTTPS_CATALOG''/');

    define('DIR_WS_IMAGES''images/');
    define('DIR_WS_INCLUDES''includes/');
    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_DOWNLOAD_PUBLIC'DIR_WS_CATALOG 'pub/');
    define('DIR_WS_TEMPLATES'DIR_WS_INCLUDES 'templates/');

    define('DIR_WS_PHPBB''/phpBB2/');

    // * 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_CATALOG''/home/#####/public_html/store');

    define('DIR_FS_DOWNLOAD'DIR_FS_CATALOG 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC'DIR_FS_CATALOG 'pub/');
    define('DIR_WS_UPLOADS'DIR_WS_IMAGES 'uploads/');
    define('DIR_FS_UPLOADS'DIR_FS_CATALOG DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES'DIR_FS_CATALOG 'email/');

    // define our database connection
    define('DB_TYPE''mysql');
    define('DB_PREFIX''zen'); // prefix for database table names -- preferred to be left empty
    define('DB_SERVER''bylargesse.com');
    define('DB_SERVER_USERNAME',######_zc1'root');
    define('DB_SERVER_PASSWORD''##########'');
    define('
    DB_DATABASE', '######_zc1'');
    define('USE_PCONNECT''false');
    define('STORE_SESSIONS''db');
    // use 'db' for best support, or '' for file-based storage
    // 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''none');
    define('DIR_FS_SQL_CACHE',
     
    '/home/#######/public_html/cache');

    ?>

  2. #32
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Http 500 internal server error

    You are using:
    Code:
    define('DIR_FS_CATALOG', '/home/#####/public_html/store');

    But I do not believe you are using your Store in the directory:
    /store

    are you?

    If not, that should be:
    Code:
    define('DIR_FS_CATALOG', '/home/#####/public_html/');
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #33
    Join Date
    Feb 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Http 500 internal server error

    Thank, Ajeh.

    I removed /store. Still getting a blank page.

  4. #34
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Http 500 internal server error

    Check and see what your current (most recent) debug log is in the:
    /cache

    directory ... be sure to refresh your FTP when looking in there ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

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

    Default Re: Http 500 internal server error

    I have marked in RED some oddities I noticed.

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen'); // prefix for database table names -- preferred to be left empty
    define('DB_SERVER', 'bylargesse.com');
    define('DB_SERVER_USERNAME',######_zc1'root');
    define('DB_SERVER_PASSWORD', '##########'');
    define('DB_DATABASE', '######_zc1'');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // use 'db' for best support, or '' for file-based storage
    // 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', 'none');
    define('DIR_FS_SQL_CACHE',
    '/home/#######/public_html/cache');



    Compare to what I think they should be.

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_'); // prefix for database table names -- preferred to be left empty
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', '######_zc1root');
    define('DB_SERVER_PASSWORD', '##########');
    define('DB_DATABASE', '######_zc1');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // use 'db' for best support, or '' for file-based storage
    // 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', 'none');
    define('DIR_FS_SQL_CACHE', '/home/#######/public_html/cache');


    Although I do not know what type of Server your account is on nor how it is setup for database usage, the above oddities are worth checking out to see if changes are required. Check with your Hoster if not sure.

  6. #36
    Join Date
    Feb 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Http 500 internal server error

    Thanks Ajeh,

    My most recent debug log is:

    [24-Mar-2011 18:55:49] PHP Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/drea2221/public_html/index.php on line 43
    [24-Mar-2011 18:55:49] PHP Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/drea2221/public_html/index.php on line 43
    [24-Mar-2011 18:55:49] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/drea2221/public_html/index.php on line 43

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

    Default Re: Http 500 internal server error

    On a technical level, you're seeing DIR_WS_TEMPLATES mentioned in the error messages because the define() statement for that isn't being loaded properly.
    And, since it's defined in your /includes/configure.php file, that points to you having problems in that file.

    And, as Website Rob has pointed out, you have a number of syntax problems in your /includes/configure.php file. Start by sorting those out.

    Also note that your admin side is controlled by a DIFFERENT file: /admin/includes/configure.php. While its contents are *similar* to the /includes/configure.php file, THEY ARE DIFFERENT, and not interchangeable. If you've mixed up the files, then things aren't going to work.
    .

    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. #38
    Join Date
    Feb 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Http 500 internal server error

    My Thanks to everyone who has posted a suggestion. Unfortunately, even after fixing my syntax issues in the configure.php file, I am still getting a blank page when attempting to connect to my online catalog. Found below is the most recent error from my debug file. As always, any suggestions would be appreciated.

    [24-Mar-2011 18:55:49] PHP Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/drea2221/public_html/index.php on line 43
    [24-Mar-2011 18:55:49] PHP Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/drea2221/public_html/index.php on line 43
    [24-Mar-2011 18:55:49] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/drea2221/public_html/index.php on line 43

  9. #39
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Http 500 internal server error

    Could you go to your Tools ... Developers Tool Kit ... and in the bottom input box enter:
    DIR_WS_TEMPLATES

    select Catalog in the dropdown and click search ...

    Do you see:
    /includes/configure.php

    Line #35 : define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

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

    Default Re: Http 500 internal server error

    largesse1,
    Your post on March 26 is saying that the "latest" error log is dated March 24. Is that just because you didn't try accessing your site on March 26 at all?
    .

    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 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. v139h HTTP 500 Internal Server Error
    By racinjason in forum General Questions
    Replies: 12
    Last Post: 27 Jan 2012, 11:39 PM
  2. HTTP 500 Internal Server Error
    By goalsurfer in forum General Questions
    Replies: 7
    Last Post: 12 Aug 2011, 07:29 PM
  3. Http 500 internal server error
    By LILIAN in forum Basic Configuration
    Replies: 1
    Last Post: 26 Mar 2011, 07:41 PM
  4. HTTP 500 Internal Server Error
    By stoyka in forum Installing on a Windows Server
    Replies: 3
    Last Post: 23 Dec 2010, 04:58 PM
  5. HTTP 500 internal server error
    By YvonneK in forum Basic Configuration
    Replies: 1
    Last Post: 31 Aug 2009, 01:52 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