Forums / Templates, Stylesheets, Page Layout / Problem uploading images

Problem uploading images

Locked

Started by fhceramics on 5 Sep 2006, 1:19 AM · Views: 3,790

Results 1 to 20 of 24
This thread is locked. New replies are disabled.
5 Sep 2006, 1:19 AM
#1
fhceramics avatar

fhceramics

New Zenner

Join Date:
Sep 2006
Posts:
10
Plugin Contributions:
0

Problem uploading images

:wacko: I'm new to Zen Cart, having just installed my first time, had a few small glitches but found errors quickly. I am experiencing one problem that I can not figure out, and could be something simple that as a newbie I'm missing. I've tried putting in manufacturers and products. The text and price sections seem to work fine, but with the images, the upload seems to work fine (no error messages) but when I go to view, I get Image Does Not Exist and when I check the directory where it supposedly uploaded to, there is no image, the folder is set to 777 so that isn;t the problem. Any help would be greatly appreciated and thanks in advance.

Thanks in advance.
Wayne
https://www.fhceramics.com
Quality ceramic and craft products at affordable prices

5 Sep 2006, 1:26 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem uploading images

Make sure that while you "think" you set the directories on /images and all subdirectories in there to 777 that it actually happened ...

Some hosting sites do not allow this via your FTP and you may be telling it do this, but it may not actually be happening ...

When Adding/Editing the product ... do you get an error message at the top of the page regarding the image?

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 Sep 2006, 2:51 AM
#3
fhceramics avatar

fhceramics

New Zenner

Join Date:
Sep 2006
Posts:
10
Plugin Contributions:
0

Re: Problem uploading images

I've checked through the ftp and hosts file manager, both show the directory and everything inside is set to 777. And no error messages appear either during the product adding or the manufacturer. That is why I'm stumped.

Thanks in advance.
Wayne
https://www.fhceramics.com
Quality ceramic and craft products at affordable prices

5 Sep 2006, 2:59 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Problem uploading images

Just on a hunch, can you check your hosting account's "errorlog" and show the last 30 lines from it?

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

5 Sep 2006, 3:15 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem uploading images

On another hunch ... could you check your server that you have disk space left?

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 Sep 2006, 3:51 AM
#6
fhceramics avatar

fhceramics

New Zenner

Join Date:
Sep 2006
Posts:
10
Plugin Contributions:
0

Re: Problem uploading images

Ajeh:

On another hunch ... could you check your server that you have disk space left?
LOL...only have 400GB of free space...no thats not the problem. There are also no errors showing up in my error log.

Thanks in advance.
Wayne
https://www.fhceramics.com
Quality ceramic and craft products at affordable prices

5 Sep 2006, 3:52 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem uploading images

What browser are you using?

Have you tried with FireFox or IE?

If you close all browser sessions and clear cache and cookies and start with a clean browser?

What kind of server? windows or unix?

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 Sep 2006, 3:53 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Problem uploading images

Local server or hosted?
what are the permissions related to PHP and the /tmp folder on the server?
is there any disk-quota threshold set for the /tmp folder?
PHP version?
Post a link to your zc_install/techsupp.php file

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

5 Sep 2006, 4:09 AM
#9
fhceramics avatar

fhceramics

New Zenner

Join Date:
Sep 2006
Posts:
10
Plugin Contributions:
0

Re: Problem uploading images

Server Host: cgi1603.int.bizland.net (127.0.0.1) Database Host: mysql14.powweb.com (10.1.40.114)
Server OS: Linux 2.4.32-grsec Database: MySQL 4.1.18-standard-log
Server Date: 09/04/2006 23:59:51 Database Date: 09/04/2006 23:59:52
Server Up Time:
PHP Version: 4.4.4 (Zend: 1.3.0)
HTTP Server: Apache here is the version info. I'm using IE v. 6, and ws-ftp pro 2006, and not sure where to look for the zc_install/techsupp.php file. Have refreshed browser, cleared cache and even did a reboot of my system to clear everything.

Thanks in advance.
Wayne
https://www.fhceramics.com
Quality ceramic and craft products at affordable prices

5 Sep 2006, 4:29 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Problem uploading images

Could you post your file, from the server, for:
/admin/includes/configure.php

without your username and password?

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 Sep 2006, 4:34 AM
#11
fhceramics avatar

fhceramics

New Zenner

Join Date:
Sep 2006
Posts:
10
Plugin Contributions:
0

Re: Problem uploading images

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
https://www.fhceramics.com
Quality ceramic and craft products at affordable prices

5 Sep 2006, 4:35 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

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.

5 Sep 2006, 4:37 AM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Problem uploading images

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

define('DIR_FS_ADMIN', '/home/users/web/b2833/pow.bcbigwolf/Zencart/[B]htdocs//admin/'[/B]);
define('DIR_FS_CATALOG', '/home/users/web/b2833/pow.bcbigwolf/Zencart/[B]htdocs//[/B]');

....

define('DIR_FS_SQL_CACHE', '/home/users/web/b2833/pow.bcbigwolf/Zencart[B]/htdocs//cache[/B]');

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

5 Sep 2006, 4:37 AM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 Sep 2006, 4:41 AM
#15
fhceramics avatar

fhceramics

New Zenner

Join Date:
Sep 2006
Posts:
10
Plugin Contributions:
0

Re: Problem uploading images

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
https://www.fhceramics.com
Quality ceramic and craft products at affordable prices

5 Sep 2006, 4:50 AM
#16
fhceramics avatar

fhceramics

New Zenner

Join Date:
Sep 2006
Posts:
10
Plugin Contributions:
0

Re: Problem uploading images

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
https://www.fhceramics.com
Quality ceramic and craft products at affordable prices

5 Sep 2006, 4:52 AM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

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.

5 Sep 2006, 4:53 AM
#18
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

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.

5 Sep 2006, 4:59 AM
#19
fhceramics avatar

fhceramics

New Zenner

Join Date:
Sep 2006
Posts:
10
Plugin Contributions:
0

Re: Problem uploading images

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
https://www.fhceramics.com
Quality ceramic and craft products at affordable prices

5 Sep 2006, 5:02 AM
#20
fhceramics avatar

fhceramics

New Zenner

Join Date:
Sep 2006
Posts:
10
Plugin Contributions:
0

Re: Problem uploading images

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
https://www.fhceramics.com
Quality ceramic and craft products at affordable prices