Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 49
  1. #11
    Join Date
    Jul 2007
    Location
    Chicago & Arkansas I split time LOL
    Posts
    149
    Plugin Contributions
    0

    Default Re: Guy's I really need some help here! I have been trying to fix this for a week!!!!

    tried it with nothing! then I tried it with /public_html, the I tried it /petestown still the same? Right now its just petestown and t hats in the virtual url spot CORRECT?

  2. #12
    Join Date
    Oct 2006
    Posts
    5,486
    Plugin Contributions
    12

    Default Re: Guy's I really need some help here! I have been trying to fix this for a week!!!!

    I'm sorry, I made a mistake on my last post.
    Anyway, your link now is:
    http://www.petestown.com/petestownindex.php
    it should be http://www.petestown.com/index.php only
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #13
    Join Date
    Jul 2007
    Location
    Chicago & Arkansas I split time LOL
    Posts
    149
    Plugin Contributions
    0

    Default Re: Guy's I really need some help here! I have been trying to fix this for a week!!!!

    You were talking about the virtual URL path part of the config file I am guessing I tried it without anything and then with public_html and the with just /petestown thats whats there now and its still the same

  4. #14
    Join Date
    Oct 2006
    Posts
    5,486
    Plugin Contributions
    12

    Default Re: Guy's I really need some help here! I have been trying to fix this for a week!!!!

    I am talking about your zencart config file.

    Because public_html is your current folder, it's the folder of your website, so you can't put http://www.petestown.com/public_html. Am I making any sense here?

    Once you use the correct path and still experience this problem then your apache virtual host config file is not set correctly. But now, lets try to fix the zen config file first.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  5. #15
    Join Date
    Jul 2007
    Location
    Chicago & Arkansas I split time LOL
    Posts
    149
    Plugin Contributions
    0

    Default Re: Guy's I really need some help here! I have been trying to fix this for a week!!!!

    No I don't understand that? This is not /var/www/html/ so it is not the servers root. It is redirect to a user folder! So yes it is the public_html folder for that user and the one that that the url is pointing to but if thats all that will ever be in that users folder then how does it effect what it see's? It should still execute it should it not?

  6. #16
    Join Date
    Oct 2006
    Posts
    5,486
    Plugin Contributions
    12

    Default Re: Guy's I really need some help here! I have been trying to fix this for a week!!!!

    Attach your configure file here. And i'll make changes to that, and we will see how it works.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  7. #17
    Join Date
    Jul 2007
    Location
    Chicago & Arkansas I split time LOL
    Posts
    149
    Plugin Contributions
    0

    Default Re: Guy's I really need some help here! I have been trying to fix this for a week!!!!

    Well I made them, I took and created another directory petescart and placed it inside of the public_html file. www.petestown.com Now I have another error at the top of the page regarding the database! ANd I changed the path in the Virtual Server to reflect this here is the new ADMIN CONFIG and the Regular Config is below that
    <?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
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // 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://www.petestown.com');
    define('HTTPS_SERVER', 'https://www.petestown.com');
    define('HTTP_CATALOG_SERVER', 'http:www.petestown.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.petestown.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', '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_ADMIN', '/petescart/admin/');
    define('DIR_WS_CATALOG', '/petescart/');
    define('DIR_WS_HTTPS_ADMIN', '/petescart/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/petescart/');

    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/petestown/public_html/petescart/admin/');
    define('DIR_FS_CATALOG', '/home/petestown/public_html/petescart/');

    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', 'localhost');
    define('DB_SERVER_USERNAME', 'xxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxxxxxx');
    define('DB_DATABASE', 'petesdb');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    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', 'file');
    define('DIR_FS_SQL_CACHE', '/home/petestown/public_html/petescart/cache');

    <?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
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    define('HTTP_SERVER', 'http://www.petestown.com');
    define('HTTPS_SERVER', 'https://www.petestown.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', '/petescart/');
    define('DIR_WS_HTTPS_CATALOG', '/petescart/');

    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', '/');

    // * 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/petestown/public_html/petescart/');

    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', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'xxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxxxxxx');
    define('DB_DATABASE', 'petesdb');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    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', 'file');
    define('DIR_FS_SQL_CACHE', '/home/petestown/public_html/petescart/cache');

    ?>

  8. #18
    Join Date
    Jan 2004
    Posts
    58,289
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Guy's I really need some help here! I have been trying to fix this for a week!!!!

    1. Why are you redirecting "petestown.com" to "76.245.94.169" instead of resolving directly?
    2. Why are you trying to run it from a subdirectory ?
    3. Why the complicated vhost setup ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  9. #19
    Join Date
    Jul 2007
    Location
    Chicago & Arkansas I split time LOL
    Posts
    149
    Plugin Contributions
    0

    Default Re: Guy's I really need some help here! I have been trying to fix this for a week!!!!

    Hi Dr Byte,

    The URL's are forwarded from 1on1 to this serverIts a custom in hose server here at the store. We are going to have a few stores on here. So I have a static IP the one you see. Having on static IP and several or a few stores we have researched and found that creating multiple apache Virtualy host is the way to do it. When I first started it was in the root and working great. I just coppied that to the new directory after I set up the virtual server and thats how this mess began.it finds it and sends it where it needs to be obviously but it has lost the style sheet and the communication with database. It seems like its there but its all just not communicating
    Rich

  10. #20
    Join Date
    Jan 2004
    Posts
    58,289
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Guy's I really need some help here! I have been trying to fix this for a week!!!!

    Your IP forwarding is losing the subdirectory information.
    That's what's causing the stylesheet to not load.

    http://www.petestown.com/petestown is forwarding to http://76.245.94.169
    And, since the stylesheet doesn't exist without the subdirectory, it cannot load it.

    You need to either reconfigure your ip forwarding or reconfigure your vhosts.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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 2 of 5 FirstFirst 1234 ... LastLast

Similar Threads

  1. IH2 - How to fix IE showtrail rollover, and add prod desc to alt?
    By multitech in forum All Other Contributions/Addons
    Replies: 14
    Last Post: 26 Oct 2009, 01:44 PM
  2. Replies: 1
    Last Post: 22 Feb 2007, 09:52 AM
  3. Netscape Fix? Views strange.
    By jenbrink@fuse.net in forum General Questions
    Replies: 4
    Last Post: 21 Feb 2007, 11:05 PM
  4. 1.36 Country Dropdown - how do I fix?
    By kimsonvu in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 19 Jan 2007, 06:25 PM
  5. Not sure how to fix this?
    By nochio in forum General Questions
    Replies: 2
    Last Post: 20 Jun 2006, 11:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •