Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2006
    Location
    Summer:Ontaio, Winter:Texas
    Posts
    211
    Plugin Contributions
    0

    Default New Install on ISP "myhosting.com"

    I tried 4 times to install on my ISP myhosting.com (SoftCom Technology Consulting ). Twice from their set-up, twice I download clean version and ftpe'd it over. each time I get an error trying to view and/or use Admin.
    Server is Apache/2.0.54 (Debian GNU/Unix)

    ***\Warning: is_dir() [ function.is-dir]: open_basedir restriction in effect. File(//includes/classes) is not within the allowed path(s): (/var/www/domains/test.pridepak.com/:/usr/share/phpmyadmin: /etc/phpmyadmin:/var/www/myfilemanager:/var/www/myinstaller:/usr/local/lib/php) in /var/www/domains/test.pridepak.com/docs/ZenCart/includes/application_top.php on line 67

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/domains/test.pridepak.com/docs/ZenCart/includes/application_top.php: 67) in /var/www/domains/test.pridepak.com/docs/ZenCart/includes/application_top.php on line 67

    Warning: file_exists() [ function.file-exists]: open_basedir restriction in effect. File(/includes/classes/class.base.php) is not within the allowed path(s): (/var/www/domains/test.pridepak.com/:/usr/share/phpmyadmin: /etc/phpmyadmin:/var/www/myfilemanager:/var/www/myinstaller:/usr/local/lib/php) in /var/www/domains/test.pridepak.com/docs/ZenCart/includes/autoload_func.php on line 60

    Warning: file_exists() [ function.file-exists]: open_basedir restriction in effect. File(/includes/classes/class.notifier.php) is not within the allowed path(s): (/var/www/domains/test.pridepak.com/:/usr/share/phpmyadmin: /etc/phpmyadmin:/var/www/myfilemanager:/var/www/myinstaller:/usr/local/lib/php) in /var/www/domains/test.pridepak.com/docs/ZenCart/includes/autoload_func.php on line 60

    Fatal error: Class 'notifier' not found in /var/www/domains/test.pridepak.com/docs/ZenCart/includes/autoload_func.php on line 79

    **
    Any help please...?? I am new to Zen Cart. Using StoreFront2000 with FP2003 on Windows server.. and trying to switch
    Tx Veronika
    Last edited by Kim; 29 Dec 2006 at 06:27 PM.

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

    Default Re: New Install on ISP "myhosting.com"

    Please post your admin/includes/configure.php (without any passwords)
    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
    Dec 2006
    Location
    Summer:Ontaio, Winter:Texas
    Posts
    211
    Plugin Contributions
    0

    Default Re: New Install on ISP "myhosting.com"

    I just manualy altered this file (and also the one in includes); but still have an error.

  4. #4
    Join Date
    Dec 2006
    Location
    Summer:Ontaio, Winter:Texas
    Posts
    211
    Plugin Contributions
    0

    Default Re: New Install on ISP "myhosting.com"

    I guess I don't know how to attache a file
    so here it is again, this time paste it...


    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers |
    // | |
    // | http://www.zen-cart.com/index.php |
    // | |
    // | Portions Copyright (c) 2003 osCommerce |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license, |
    // | that is bundled with this package in the file LICENSE, and is |
    // | available through the world-wide-web at the following url: |
    // | http://www.zen-cart.com/license/2_0.txt. |
    // | If you did not receive a copy of the Zen Cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to |
    // | license AT zen-cart DOT com so we can mail you a copy immediately. |
    // +----------------------------------------------------------------------+
    // $Id: dist-configure.php 4095 2006-08-08 02:32:01Z drbyte $
    //
    // 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
    // HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    /*
    * URL's 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://test.pridepak.com');
    define('HTTPS_SERVER', 'https://127.0.0.1');
    define('HTTP_CATALOG_SERVER', 'http://test.priepak.com');
    define('HTTPS_CATALOG_SERVER', 'https://localhost');
    // 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', '/admin/');
    define('DIR_FS_CATALOG', '/');
    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', 'zen_');
    define('DB_SERVER', 'mysql01');
    define('DB_SERVER_USERNAME', 'test_pridepak_co');
    define('DB_SERVER_PASSWORD', 'XXXXXXXXXX');
    define('DB_DATABASE', 'test_pridepak_co');
    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', 'none');
    define('DIR_FS_SQL_CACHE', '/docs/ZenCart/cache');
    ?>

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: New Install on ISP "myhosting.com"

    Yes, you have made a number of manual edits to the file.

    These all require a complete physical path, but yours are not:
    Code:
    define('DIR_FS_ADMIN', '/admin/');
    define('DIR_FS_CATALOG', '/');
    define('DIR_FS_SQL_CACHE', '/docs/ZenCart/cache');
    I'm not certain, but your DIR_FS_SQL_CACHE may be correct. If so, set the others similarly:
    Code:
    define('DIR_FS_ADMIN', '/docs/ZenCart/admin/');
    define('DIR_FS_CATALOG', '/docs/ZenCart/');
    .

    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.

  6. #6
    Join Date
    Dec 2006
    Location
    Summer:Ontaio, Winter:Texas
    Posts
    211
    Plugin Contributions
    0

    Default Re: New Install on ISP "myhosting.com"

    thanks... by the time I saw your comment ISP/help re-install it, but gave me a wrong id/pass for admin! Ofcourse this good person left for the day and next person..well you guess ..I have no idea where/how to reset it.

  7. #7
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: New Install on ISP "myhosting.com"

    Assuming your Zen Cart is now functioning, you can try the following FAQ...
    https://www.zen-cart.com/tutorials/index.php?article=2

  8. #8
    Join Date
    Dec 2006
    Location
    Summer:Ontaio, Winter:Texas
    Posts
    211
    Plugin Contributions
    0

    Default Re: New Install on ISP "myhosting.com"

    Actually I dropped ther table and insterted (as per some other post);;
    DROP TABLE IF EXISTS zen_admin;
    CREATE TABLE zen_admin (
    zen_admin_id int(11) NOT NULL auto_increment,
    zen_admin_name varchar(32) NOT NULL default '',
    zen_admin_email varchar(96) NOT NULL default '',
    zen_admin_pass varchar(40) NOT NULL default '',
    zen_admin_level tinyint(1) NOT NULL default '1',
    PRIMARY KEY (zen_admin_id),
    KEY idx_admin_name_zen (zen_admin_name),
    KEY idx_admin_email_zen (zen_admin_email)
    ) TYPE=MyISAM;
    than run

    INSERT INTO zen_admin (zen_admin_name, zen_admin_email, zen_admin_pass, zen_admin_level) VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);
    now I get:

    1054 Unknown column 'admin_name' in 'where clause'
    in:
    [select * from zen_admin where admin_name='demo' or admin_name='Admin']
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.


    I will try your info next. Thank you

  9. #9
    Join Date
    Dec 2006
    Location
    Summer:Ontaio, Winter:Texas
    Posts
    211
    Plugin Contributions
    0

    Default Re: New Install on ISP "myhosting.com"

    All is well now. Thank you all... Learning at my age is not easy...

 

 

Similar Threads

  1. v154 Suddenly today I'm getting the "new install" prompt
    By Maynards in forum General Questions
    Replies: 4
    Last Post: 26 Jan 2016, 03:05 AM
  2. Display "Best Sellers" like "What's New" or "Specials" lists.
    By jsmooth in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Jun 2010, 12:06 AM
  3. How to remove ellipses ("...") after "All Products" and "New Products" on home page?
    By jthurman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 May 2010, 03:30 PM
  4. Replies: 5
    Last Post: 11 Sep 2009, 04:51 AM
  5. "nokoria.com" to show "nokoria.com/shopping" without redirecting
    By gems14k in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Aug 2006, 10:23 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR