Sorry.... it was me. Must have been tired
I have tried the patch for 1.3.7, but when I try to click on the download link, an empty page appear
Very big problem I have here, but thanks for all your time :)
Best Regards :)
Sorry.... it was me. Must have been tired
I have tried the patch for 1.3.7, but when I try to click on the download link, an empty page appear
Very big problem I have here, but thanks for all your time :)
Best Regards :)
Blank pages are often a result of a PHP error or a conflict between code versions.
A tool to help you diagnose such errors can be seen here:
https://www.zen-cart.com/tutorials/index.php?article=82 - esp step 2a
.
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.
Have tried that now, and it show some warnings and so on at front pages. But when clicking download no error messages at all apears. Just an empty white page while trying to reach this link:
http://www.domain.com/index.php?main...rder=146&id=84
Hope you still have the time and ideas of what to do :)
Thank you so much for you time
Kind Regards :)
Nothing shows in the logs when you get that blank page?
.
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.
No only a blank page as if it cant find the link
It seems like the problem is here:
if (DOWNLOAD_BY_REDIRECT != 'true' or $link_create_status==false ) {
// not downloading by redirect; instead, we stream it to the browser. This happens if the symlink couldn't happen, or if set as default in Admin
if (DOWNLOAD_IN_CHUNKS != 'true') {
// This will work on all systems, but will need considerable resources
header("Content-Length: " . $zv_filesize);
$zco_notifier->notify('NOTIFY_DOWNLOAD_WITHOUT_REDIRECT___COMPLETED');
readfile(DIR_FS_DOWNLOAD . $downloads->fields['orders_products_filename']);
} else {
// loop with fread($fp, xxxx) to allow streaming in chunk sizes below the PHP memory_limit
header("Content-Length: " . $zv_filesize);
$handle = fopen(DIR_FS_DOWNLOAD . $downloads->fields['orders_products_filename'], "rb");
while (!feof($handle)) {
echo(fread($handle, 4096));
flush();
}
fclose($handle);
$zco_notifier->notify('NOTIFY_DOWNLOAD_WITHOUT_REDIRECT_VIA_CHUNKS___COMPLETED');
}
}
If I try to remove this the file i damaged and cant be opened at all. If I copy the code from the other file (the one from your link) it is damaged too.
I I let the code be as it is I got the same problem as described in the beginning.
Download by redirect is set to false
Download by streaming is set to false
I hope you have the time to help, and thank you for all the time you have used to help me.
Kind Regards :)
What programs are you using to edit these files?
And what FTP program do you use for transferring files?
.
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.