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

    Re: Problem uploading images

    Quote Originally Posted by Ajeh
    Could you post your file, from the server, for:
    /admin/includes/configure.php

    without your username and password?
    here is the file
    <?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
    */


    // 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://zencart.fhceramics.com');
    define('HTTPS_SERVER', 'http://zencart.fhceramics.com');
    define('HTTP_CATALOG_SERVER', 'http://zencart.fhceramics.com');
    define('HTTPS_CATALOG_SERVER', 'http://zencart.fhceramics.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/users/web/b2833/pow.bcbigwolf/Zencart/htdocs//admin/');
    define('DIR_FS_CATALOG', '/home/users/web/b2833/pow.bcbigwolf/Zencart/htdocs//');

    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', 'mysql14.powweb.com'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '');
    define('DB_SERVER_PASSWORD', '');
    define('DB_DATABASE', 'fhc_zencart');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'db'

    // 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/users/web/b2833/pow.bcbigwolf/Zencart/htdocs//cache');

    ?>
    Thanks in advance.
    Wayne
    www.fhceramics.com
    Quality ceramic and craft products at affordable prices

  2. #12
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Problem uploading images

    1. how big are these images?
    2. Admin->Tools->Server Info ... what's the setting for "upload_tmp_dir" ?

    Sounds like you might be another victim of powweb's peculiar hosting configuration arrangement...
    .
    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.

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

    Default Re: Problem uploading images

    might wanna convert these // to just / ...

    Code:
    define('DIR_FS_ADMIN', '/home/users/web/b2833/pow.bcbigwolf/Zencart/htdocs//admin/');
    define('DIR_FS_CATALOG', '/home/users/web/b2833/pow.bcbigwolf/Zencart/htdocs//');
    
    ....
    
    define('DIR_FS_SQL_CACHE', '/home/users/web/b2833/pow.bcbigwolf/Zencart/htdocs//cache');
    .
    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
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Problem uploading images

    Get rid of all the // in that file on the paths ...

    Does this fix the problem?

    Does setting this up for a subdirectory vs subdomain work right?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #15
    Join Date
    Sep 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: Problem uploading images

    Quote Originally Posted by DrByte
    1. how big are these images?
    2. Admin->Tools->Server Info ... what's the setting for "upload_tmp_dir" ?

    Sounds like you might be another victim of powweb's peculiar hosting configuration arrangement...
    setting for tmp dir is 2M, file sizes for 2 pics I tried were 17K and 23K.
    Thanks in advance.
    Wayne
    www.fhceramics.com
    Quality ceramic and craft products at affordable prices

  6. #16
    Join Date
    Sep 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: Problem uploading images

    Quote Originally Posted by FHCeramics
    setting for tmp dir is 2M, file sizes for 2 pics I tried were 17K and 23K.
    Removed the // to /, with no result change
    Thanks in advance.
    Wayne
    www.fhceramics.com
    Quality ceramic and craft products at affordable prices

  7. #17
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Problem uploading images

    what is powweb tech support saying about upload permissions?
    .
    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.

  8. #18
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Problem uploading images

    if for some reason powweb hosting won't let this feature work, you can work around it by manually entering the image filenames and then uploading them separately 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.

  9. #19
    Join Date
    Sep 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: Problem uploading images

    Quote Originally Posted by DrByte
    if for some reason powweb hosting won't let this feature work, you can work around it by manually entering the image filenames and then uploading them separately via FTP
    Powweb says there is no problem and I'm also running oscommerce and not having any problems uploading with it. I have tried putting the images in the correct directories using ftp but still get the same message.
    Thanks in advance.
    Wayne
    www.fhceramics.com
    Quality ceramic and craft products at affordable prices

  10. #20
    Join Date
    Sep 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: Problem uploading images

    Quote Originally Posted by FHCeramics
    Powweb says there is no problem and I'm also running oscommerce and not having any problems uploading with it. I have tried putting the images in the correct directories using ftp but still get the same message.
    Where and how would I enter
    manually entering the image filenames
    . Would this be in the browse window?
    Thanks in advance.
    Wayne
    www.fhceramics.com
    Quality ceramic and craft products at affordable prices

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Problem in uploading images in v1.5.1
    By elvisstuff in forum General Questions
    Replies: 8
    Last Post: 11 Oct 2012, 10:03 PM
  2. v138a Problem with Uploading Images
    By Robert_P in forum Customization from the Admin
    Replies: 1
    Last Post: 26 Apr 2012, 03:28 PM
  3. Problem uploading images on new server.
    By buyashed in forum General Questions
    Replies: 4
    Last Post: 15 Feb 2010, 03:03 PM
  4. Problem uploading images
    By ozonlinesales in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 10 Nov 2007, 06:34 AM
  5. Uploading images
    By Lisa1970 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 14 Sep 2007, 08:50 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