Get the book

Go Back   Zen Cart Support > Setting Up Your Zen Cart Products > Attributes - Product Options

Attributes - Product Options Discussion about setting up attributes for your products.

Reply
 
Thread Tools Display Modes
Old 11th August 2006, 11:24 PM   #51
joanorsky
New Zenner
 
Join Date: Jul 2006
Posts: 25
Default Re: Downloaded file error message

And with the Redirect OFF ... the small file around 100k does not work either?
With redirect OFF all files download as normal. But all are corrupted.. (bummer )
With redirect ON it doesn't even downloads a file!


And with Streaming ON and Redirect OFF ... the small file still does not work?
Still doesn't works. Well it downloads.. but the file is corrupted.. sniff sniff..

Who are you hosting with?
I am hosted by powweb.com. Btw.. i already opened a problem issue with them.. but i don't think that it will help, since i suspect that it is not a server side problem.. well .. ijust don't know..

Could you also post from the server without the username and password the file:
/includes/configure.php[/quote]
Sure.. here it goes :

<?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
// 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://www.compra-a-mim.com');
define('HTTPS_SERVER', 'https://www.compra-a-mim.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', '/home/users/web/b1470/pow.joanorsky/htdocs/cam/');

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
// ******************
// Muahahaha... for my eyes only... muahahah
// ******************
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // 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', 'database');
define('DIR_FS_SQL_CACHE', '/home/users/web/b1470/pow.joanorsky/sessions');

?>
joanorsky is offline   Reply With Quote
Old 11th August 2006, 11:28 PM   #52
Ajeh
Oba-san
 
Ajeh's Avatar
 
Join Date: Sep 2003
Location: Ohio
Posts: 51,209
Default Re: Downloaded file error message

Are you sure these two settings are correct?
Quote:
define('DIR_FS_CATALOG', '/home/users/web/b1470/pow.joanorsky/htdocs/cam/');
Quote:
define('DIR_FS_SQL_CACHE', '/home/users/web/b1470/pow.joanorsky/sessions');
Also, what are your Configuration ... Session Settings ... since we are looking at these ...
__________________
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

Are you using the latest? Perhaps you've a problem that's fixed in --> [Upgrade today: v1.3.8a]
Officially PayPal-Certified! Just click here
Ajeh is online now   Reply With Quote
Old 12th August 2006, 02:30 PM   #53
joanorsky
New Zenner
 
Join Date: Jul 2006
Posts: 25
Default Re: Downloaded file error message

yes... those settings are correct. We are hosting several sites.. and that one ("cam") is related to www.compra-a-mim.com!

Regarding the sessions .. they are also correct!

php.ini refers :

PHP Code:
Argument passed to save_handler.  In the case of filesthis is the path
where data files are storedNoteWindows users have to change this
variable in order to use PHPs session functions.
session.save_path = /home/users/web/b1470/pow.joanorsky/sessions

We're using the sessions directory on a unreachable address (except for the server internal operations) for a security reasons. The sessions are working perfectly!
joanorsky is offline   Reply With Quote
Old 13th August 2006, 06:58 AM   #54
DrByte
Sensei
 
DrByte's Avatar
 
Join Date: Jan 2004
Location: Ontario, Canada
Posts: 39,865
Default Re: Downloaded file error message

which browsers have you tested this with? What sort of internet connection are you using?

I can't duplicate the problem, and have tried with several different hosts.
Not pointing fingers, but I'm very mindful that lots of people have troubles with ipowweb hosting and systems like Zen Cart.
__________________
Zen Cart - putting the dream of business ownership within reach of anyone!
DrByte is offline   Reply With Quote
Old 14th August 2006, 05:10 AM   #55
joanorsky
New Zenner
 
Join Date: Jul 2006
Posts: 25
Default Re: Downloaded file error message

which browsers have you tested this with?
IE, Mozilla FireFox. Always the same error though..

What sort of internet connection are you using?
I've used several connections. Regular Dialup of 56Kb/s, Mobile conections of 156 Kb/s, 386Kb/s, 1.8 Mb/s, 2.4Mb/s, ADSL of 16Mb/s and T1 (LAN).. also used bentleywalker's Hughes SatComms to test this issue. Always with no success.. sniff ... snifff..

I can't duplicate the problem, and have tried with several different hosts.
Not pointing fingers, but I'm very mindful that lots of people have troubles with ipowweb hosting and systems like Zen Cart.
Is it possible for you to show us your generic server configurations? Or point one of the hosting companies that you are using ?
Isn't there any Apache streamming directive that should be set active in order to use the zencart's download algorithm? This is just too much strange..

Last edited by joanorsky; 14th August 2006 at 05:13 AM.
joanorsky is offline   Reply With Quote
Old 15th August 2006, 12:14 AM   #56
joanorsky
New Zenner
 
Join Date: Jul 2006
Posts: 25
Default Re: Downloaded file error message

Found some suggestions on this forum.
The credit is not mine... but i can't remember the original poster. I'll try to give him the credit for it.

Here it goes.. ... code is only a suggestion: http://www.zen-cart.com/forum/showthread.php?t=43132

Worked for my tests.. but will test it some more... meanwhile.. feel free to test it as well
joanorsky is offline   Reply With Quote
Old 15th August 2006, 02:38 AM   #57
nailsquare
New Zenner
 
Join Date: Jul 2006
Posts: 38
Default Re: Downloaded file error message

hm...excuse me..
where is the "redirect" button??

i can't find this option
so i guess that's why mine doesn't work
nailsquare is offline   Reply With Quote
Old 15th August 2006, 02:45 AM   #58
joanorsky
New Zenner
 
Join Date: Jul 2006
Posts: 25
Default Re: Downloaded file error message

Quote:
Originally Posted by nailsquare
hm...excuse me..
where is the "redirect" button??

i can't find this option
so i guess that's why mine doesn't work

It's on Admin >> Configuration >> Attribute Settings >> Set "Download by Redirect" to false (it's the second option counting from the top)
joanorsky is offline   Reply With Quote
Old 15th August 2006, 03:36 AM   #59
nailsquare
New Zenner
 
Join Date: Jul 2006
Posts: 38
Default Re: Downloaded file error message

Quote:
Originally Posted by joanorsky
It's on Admin >> Configuration >> Attribute Settings >> Set "Download by Redirect" to false (it's the second option counting from the top)
oh thx you so much
i was on da attribute controller
haha..... spent a lot of even...even using "FIND"
thx~~
nailsquare is offline   Reply With Quote
Old 15th August 2006, 03:37 AM   #60
nailsquare
New Zenner
 
Join Date: Jul 2006
Posts: 38
Default Re: Downloaded file error message

oops...it's still not working....
i've checked other settings..
should be okay...

hm... guess there's sth wrong wtih my website...
nailsquare is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +1. The time now is 02:53 PM.

Learn tips, tricks & secrets for your Zen Cart™
Sign up for our FREE Newsletter

Powered by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content and Graphics Copyright (c) 2006, 2007, 2008, 2009, 2010 Zen Ventures, LLC - all rights reserved
Get Zen Cart E-Commerce Shopping Cart at SourceForge.net. Fast, secure and Free Open Source software downloads