Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Host Transfer - No admin

    Ok. I took advice on getting rid of Godaddy. Could never get Linkpoint among other things to work. I saved backup file and followed zencart directions. I had difficulties with bluehost. Took two days working with them for zencart installation instructions for transfer of host. They helped with getting my site www.burnerbooks.com up, but can not get admin to work.

    Need help with these errrors:
    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/burnerbo/public_html/includes/classes/shopping_cart.php:3601) in /home/burnerbo/public_html/includes/functions/sessions.php on line 108

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/burnerbo/public_html/includes/classes/shopping_cart.php:3601) in /home/burnerbo/public_html/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/burnerbo/public_html/includes/classes/shopping_cart.php:3601) in /home/burnerbo/public_html/admin/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /home/burnerbo/public_html/includes/classes/shopping_cart.php:3601) in /home/burnerbo/public_html/admin/includes/functions/general.php on line 21


    I looked at them in notepad and all seemed ok. Any suggetions?

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Host Transfer - No admin

    open
    includes/classes/shopping_cart.php

    place curser at bottom of page right behind the last ?> ( in anything BUT notepad )
    Hit delete 10 times, save and re-upload....

    you have white space at the end of the file
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: Host Transfer - No admin

    I did that and did not work. Still have same errors.

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

    Default Re: Host Transfer - No admin

    Did you run the 'fix cache key' file, available from the Downloads section?

  5. #5
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: Host Transfer - No admin

    Yes, I ran it from the downloads section for www.burnerbooks.com and then did an uninstall.

    I just ran another with the admin file and errors came up with fix cache key file. I did an uninstall and new errors:

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/burnerbo/public_html/includes/classes/class.smtp.php:2039) in /home/burnerbo/public_html/includes/functions/sessions.php on line 108

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/burnerbo/public_html/includes/classes/class.smtp.php:2039) in /home/burnerbo/public_html/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/burnerbo/public_html/includes/classes/class.smtp.php:2039) in /home/burnerbo/public_html/admin/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /home/burnerbo/public_html/includes/classes/class.smtp.php:2039) in /home/burnerbo/public_html/admin/includes/functions/general.php on line 21
    .

  6. #6
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Host Transfer - No admin

    there are other problems also.......all urls on your site look alot like the following:
    Code:
    http://www.burnerbooks.com//index.php?main_page=index&cPath=2
    notice the double //
    That shouldn't be there.....please post your configure.php files (hide the usernames and passwords)
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  7. #7
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: Host Transfer - No admin

    I went into includes/classes/class.smtp and made sure no extra lines at end. I finally got admin to work, but password will not work. I went into config from host and looked at password and copies, but still does not work.

    Thank you for your help with getting admin.

  8. #8
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: Host Transfer - No admin

    Here is my admin/includes/configure.php

    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 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://www.your_domain.com -
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.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
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://www.burnerbooks.com');
    define('HTTPS_SERVER', 'http://www.burnerbooks.com');
    define('HTTP_CATALOG_SERVER', 'http://www.burnerbooks.com');
    define('HTTPS_CATALOG_SERVER', 'http://www.burnerbooks.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/burnerbo/public_html//admin/');
    define('DIR_FS_CATALOG', '/home/burnerbo/public_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', 'zen_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', '');
    define('DB_SERVER_PASSWORD', '');
    define('DB_DATABASE', 'burnerbo_zc01');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, 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/burnerbo/public_html//cache');

    // EOF

  9. #9
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Host Transfer - No admin

    Code:
    define('DIR_WS_ADMIN', '//admin/');
    define('DIR_WS_CATALOG', '//');
    define('DIR_WS_HTTPS_ADMIN', '//admin/');
    define('DIR_WS_HTTPS_CATALOG', '//');
    these are all wrong, they need to be:

    Code:
    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    You'll need to make these changes in both the includes/configure.php and admin/includes/configure.php

    oops there are more changes to make.......go through both of those files and look for // and change to / cause there are more of them
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  10. #10
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Host Transfer - No admin

    make sure that you are not deleting // from comments,
    Zen cart PCI compliant Hosting

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Host transfer - advice
    By LucasD in forum General Questions
    Replies: 1
    Last Post: 1 Feb 2011, 05:24 AM
  2. Transfer to new host
    By IvyRose in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 2 Apr 2007, 01:27 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