Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Mar 2007
    Location
    West Palm Beach, FL.
    Posts
    95
    Plugin Contributions
    0

    Default Re: Image not being added to products since using easypopulate

    a) the image field is set to image name (not sure if thats the answer you are looking for)
    b) yes the image path does exist but If I add any new directories on the server inside the main image folder I cannot see the folder when I click the drop-down when adding or editing a product.
    c) after attempting to add the image through zc no the image does not exist on the server. I have also tried to place the image there manually using my ftp tool successfully but the image still does not show up on the front end.
    d) I don't have 2 exact products behaving differently. I attempted to install easy populate csv and after attempting that install every product I try to add appears like the one in question.

  2. #12
    Join Date
    Mar 2007
    Location
    West Palm Beach, FL.
    Posts
    95
    Plugin Contributions
    0

    Default Re: Image not being added to products since using easypopulate

    Quote Originally Posted by DrByte View Post
    If you have two products which are behaving differently then it's a problem with your data (and that probably means your easypopulate imported it blindly without validation because it assumed you put the right data in your import source), so let's back up and compare EVERYTHING about those two products.

    a) what EXACTLY is the image field set to in both?
    b) does that image path exist on your server?
    c) do the files actually exist on the server at that path?
    d) what else is different between the two products, other than description/price?
    Do you think I should try restoring from backup? I do have the a backup of everything including the database.

  3. #13
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Image not being added to products since using easypopulate

    Quote Originally Posted by [email protected] View Post
    a) the image field is set to image name (not sure if thats the answer you are looking for)
    I was more interested in specifics of both products.

    Quote Originally Posted by [email protected] View Post
    b) yes the image path does exist but If I add any new directories on the server inside the main image folder I cannot see the folder when I click the drop-down when adding or editing a product.
    I'm not all that surprised. It doesn't show sub-sub-sub directories.

    Quote Originally Posted by [email protected] View Post
    c) after attempting to add the image through zc no the image does not exist on the server. I have also tried to place the image there manually using my ftp tool successfully but the image still does not show up on the front end.
    Those are two different issues. Even uploading the image separately makes no difference if you don't put it into the exact place you told Zen Cart to look for it.

    Quote Originally Posted by [email protected] View Post
    d) I don't have 2 exact products behaving differently. I attempted to install easy populate csv and after attempting that install every product I try to add appears like the one in question.
    You said you have some products that behave correctly, and others which do not.
    I was asking about the difference between those two products (or maybe you'd rather I said "between those two scenarios"). Specifics are needed.

    I'm pretty sure you're just not putting the right path in for the image. You CAN type in the path, without using the dropdown.


    Also, what's the complete (except for passwords) content of both your admin and non-admin configure.php files? Post the content here.
    .
    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.

  4. #14
    Join Date
    Mar 2007
    Location
    West Palm Beach, FL.
    Posts
    95
    Plugin Contributions
    0

    Default Re: Image not being added to products since using easypopulate

    Quote Originally Posted by DrByte View Post
    I was more interested in specifics of both products.

    I'm not all that surprised. It doesn't show sub-sub-sub directories.

    Those are two different issues. Even uploading the image separately makes no difference if you don't put it into the exact place you told Zen Cart to look for it.

    You said you have some products that behave correctly, and others which do not.
    I was asking about the difference between those two products (or maybe you'd rather I said "between those two scenarios"). Specifics are needed.

    I'm pretty sure you're just not putting the right path in for the image. You CAN type in the path, without using the dropdown.


    Also, what's the complete (except for passwords) content of both your admin and non-admin configure.php files? Post the content here.
    Admin Configure
    <?php
    /**
    * @package Configuration Settings circa 1.5.1
    * @copyright Copyright 2003-2012 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 2013-01-10 12:59:06
    */


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

    /**
    * WE RECOMMEND THAT YOU USE SSL PROTECTION FOR YOUR ENTIRE ADMIN:
    * To do that, make sure you use a "https:" URL for BOTH the HTTP_SERVER and HTTPS_SERVER entries:
    */
    define('HTTP_SERVER', 'http://genuinepc.com');
    define('HTTPS_SERVER', 'https://genuinepc.com');
    define('HTTP_CATALOG_SERVER', 'http://genuinepc.com');
    define('HTTPS_CATALOG_SERVER', 'https://genuinepc.com');

    // secure webserver for admin? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_ADMIN', 'false');

    // secure webserver for storefront? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_CATALOG', '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)
    $t1 = parse_url(HTTP_SERVER);$p1 = $t1['path'];$t2 = parse_url(HTTPS_SERVER);$p2 = $t2['path'];

    define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
    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)
    define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../') . '/');
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/hermes/bosweb/web231/b2319/ipw.ntspbcom/public_html/zengpc/');

    //the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
    define('DIR_FS_LOGS', '/hermes/bosweb/web231/b2319/ipw.ntspbcom/public_html/zengpc/logs');

    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_CHARSET', 'utf8');
    define('DB_SERVER', '');
    define('DB_SERVER_USERNAME', '');
    define('DB_SERVER_PASSWORD', '');
    define('DB_DATABASE', 'zengpc');

    // 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', '/hermes/bosweb/web231/b2319/ipw.ntspbcom/public_html/zengpc/cache');


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


    Non-admin Configure
    <?php
    /**
    * @package Configuration Settings circa 1.5.1
    * @copyright Copyright 2003-2012 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 2013-01-10 12:59:06
    */


    /*************** 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.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://genuinepc.com');
    define('HTTPS_SERVER', 'https://genuinepc.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', '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_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', '/');

    // * 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', '/hermes/bosweb/web231/b2319/ipw.ntspbcom/public_html/zengpc/');

    //the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
    define('DIR_FS_LOGS', '/hermes/bosweb/web231/b2319/ipw.ntspbcom/public_html/zengpc/logs');

    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_CHARSET', 'utf8');
    define('DB_SERVER', '');
    define('DB_SERVER_USERNAME', '');
    define('DB_SERVER_PASSWORD', '');
    define('DB_DATABASE', 'zengpc');

    // 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', '/hermes/bosweb/web231/b2319/ipw.ntspbcom/public_html/zengpc/cache');

    // EOF

  5. #15
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Image not being added to products since using easypopulate

    Those look pretty much fine.

    So, pick two products, one whose image appears as you expect it to, and one which doesn't.

    What's the image path showing in your admin edit screen?
    What's the actual path to the image according to your FTP server?
    Then figure out the actual real URL to directly show the image ... such as www.example.com/images/fred.jpg ... for both, and post both of those here. I'm gonna click on that link, and if the link doesn't bring up an image, then that's something you'll need to fix before we go further, by uploading it correctly via FTP.
    .
    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. #16
    Join Date
    Mar 2007
    Location
    West Palm Beach, FL.
    Posts
    95
    Plugin Contributions
    0

    Default Re: Image not being added to products since using easypopulate

    Quote Originally Posted by DrByte View Post
    Those look pretty much fine.

    So, pick two products, one whose image appears as you expect it to, and one which doesn't.

    What's the image path showing in your admin edit screen?
    What's the actual path to the image according to your FTP server?
    Then figure out the actual real URL to directly show the image ... such as www.example.com/images/fred.jpg ... for both, and post both of those here. I'm gonna click on that link, and if the link doesn't bring up an image, then that's something you'll need to fix before we go further, by uploading it correctly via FTP.
    this is the path for the one that doesn't work (Image Name: lenovo/133419.jpg)
    this is the one that does work (Image Name: acer/B113-M-6460.jpg)

    I have to add all the images manually using ftp. The problem is not zencart, when I attempted to install easy populate csv it set off an error on my server so my host knows what the problem is and is working to fix it.

    Thank you for all your help, your time is greatly appreciated.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Image attributes not being added?
    By ptowers49 in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 24 Feb 2014, 02:24 AM
  2. v139h No taxes being added to shipping since upgrade
    By johnbendall in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 2 May 2012, 02:10 PM
  3. Replies: 4
    Last Post: 30 Mar 2010, 04:28 PM
  4. Products not being added to Cart
    By richard2336 in forum General Questions
    Replies: 3
    Last Post: 14 Sep 2009, 04:13 PM
  5. products not being added to cart
    By wagnerguy in forum Basic Configuration
    Replies: 2
    Last Post: 27 Apr 2009, 05:21 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