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 :cry: )
With redirect ON it doesn't even downloads a file! :cry:
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 :laugh:
// ******************
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');
?>
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 ...
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 files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's 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!
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.
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.. :cry:
:lamo:
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
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
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)
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~~
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...
:no: