Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24
  1. #11
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: Image handler error on local install

    Ooooh! Now I noticed that I can't see my local shop either. I'm going to http://192.168.1.106/shop/

    http://192.168.1.106/shop/admin is where I do see the login screen but can't login so far. Keeps telling me wrong username or password.
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

  2. #12
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: Image handler error on local install

    Well, I saved my two configure files and then pasted the backup copy of the shop folder over the first one, replaced the config files and now I was able to login to the Admin. But I stll can't see the shop.

    From the Admin I click on the "Online Catalog" button in the upper right corner and it takes me here: http://192.168.1.106/shop/index.php?main_page= but no shop.

    I imagine it's something in the config files so I'll probably poke around there next.
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

  3. #13
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: Image handler error on local install

    Well, I've been messing with this for hours. I feel so close! I can login to Admin but I still can't get the shop to show. I hope it's okay to post my config files (without username and password, of course). Maybe someone can see where I'm making a mistake. I hope!

    --------------------------------------------------------
    C:\wamp\www\shop\includes\configure.php
    --------------------------------------------------------

    <?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://192.168.1.106');
    define('HTTPS_SERVER', 'http://localhost');

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

    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', 'c:/wamp/www/shop/');

    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', 'username');
    define('DB_SERVER_PASSWORD', 'password');
    define('DB_DATABASE', 'database_name');
    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', '/C:/wamp/www/shop/cache');

    ?>



    --------------------------------------------------------
    C:\wamp\www\shop\admin\includes\configure.php
    --------------------------------------------------------


    <?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://192.168.1.106');
    define('HTTPS_SERVER', 'https://localhost');
    define('HTTP_CATALOG_SERVER', 'http://192.168.1.106');
    define('HTTPS_CATALOG_SERVER', 'https://localhost');

    // 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', '/shop/admin/');
    define('DIR_WS_CATALOG', '/shop/');
    define('DIR_WS_HTTPS_ADMIN', '/shop/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/shop/');

    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', 'C:/wamp/www/shop/admin/');
    define('DIR_FS_CATALOG', 'C:/wamp/www/shop/');

    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', 'username');
    define('DB_SERVER_PASSWORD', 'password');
    define('DB_DATABASE', 'database_name');
    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', '/C:/wamp/www/shop/cache');

    ?>


    Anybody see what's wrong here?

    Thank you for any help,
    Rebekah
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

  4. #14
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Image handler error on local install

    If you don't have SSL cert installed on localhost, first configure.php file should read
    Code:
    define('HTTP_SERVER', 'http://localhost');
      define('HTTPS_SERVER', 'https://localhost');
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'false');
    am also assuming, for security reasons, you have
    not entered here on forums, correct settings for both files at
    Code:
    define('DB_SERVER_USERNAME', 'username');
    define('DB_SERVER_PASSWORD', 'password');
    define('DB_DATABASE', 'database_name');

  5. #15
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: Image handler error on local install

    I did notice one ENABLE_SSL said "false" and one said "true". I just downloaded it from the internet server like that.

    I'll change the one to false and see what happens. Would that make the shop not show? Hmm.

    Yes, I took out my username, password, and database name on purpose for security. You're correct.

    Thanks for your reply,
    Rebekah
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

  6. #16
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: Image handler error on local install

    Well, changed it to "false" and that didn't help. Still no shop.

    Thanks again anyway. Anybody else see anything I can try?

    Rebekah
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

  7. #17
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Image handler error on local install

    define('HTTP_SERVER', 'http://192.168.1.106');
    define('HTTPS_SERVER', 'http://localhost');
    Not correct
    define('HTTP_SERVER', 'http://localhost');
    define('HTTPS_SERVER', 'https://localhost');
    is CORRECT

  8. #18
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Image handler error on local install

    Look at the php requirements for IH2 as I suspect that the WAMP does not have these installed or enabled - the image stuff libraries
    Zen-Venom Get Bitten

  9. #19
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: Image handler error on local install

    Thanks for the reply, Misty. I was using my own computer's IP in hopes that my husband can see the catalog from his laptop. I am able to login to the Admin area from a different computer on our home network using: http://192.168.1.106/shop/admin/ but http://192.168.1.106/shop/ just brings up "page cannot be displayed".


    Kobra,

    I'll look into this but I'm not sure where to start. Would that make the catalog not display the page at all? I'm not having the ImageHandler error anymore. I can see the admin login page and login fine now.

    Thanks,
    Rebekah
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

  10. #20

    Default Re: Image handler error on local install

    Sorry to be so long-posted. One more thing, this sounds stupid but I can't locate a file called php.ini. Is it actually called something else? (I did use the Windows search.)
    I personally don't use wamp, I've got Php, mysql and apache installed to view my page locally, so I don't know how it installs PHP. If it installs PHP as a seperate program, php.ini will be located in the php folder - probably under c:/program files/php or php5 or something like that.

    Wamp may have some sort of link to php.ini, if their help file has a search, you might look for the word php or something.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v151 Image handler 4 gives fatal error with v1.5.1 fresh install
    By Arunachala in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 16 May 2013, 10:37 PM
  2. image handler v3 install on 1.5
    By bn17311 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 8 Jan 2012, 01:31 PM
  3. Image Handler 2 simple install question
    By taopro in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 29 Jan 2011, 03:56 PM
  4. Image Handler II-where to install?
    By knottybynature in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 21 Feb 2008, 05:46 PM
  5. Image handler install question
    By flex22 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 26 Jul 2007, 09:50 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