[Skip to main content](#vessel-content)

#   Fatal error:

##

- **[Seitz](/forum/user/322-seitz "View Seitz's Profile")**
- [![Seitz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/322-seitz "View Seitz's Profile") Topic Author
- [ Offline](/forum/user/322-seitz)

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 8 months ago [\#8124](#8124) by [Seitz](/forum/user/322-seitz "View Seitz's Profile")  *[Fatal error:](/forum/3-bug-report/8124-fatal-error#8124 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")* was created by *[Seitz](/forum/user/322-seitz "View Seitz's Profile")*

Hello,

i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:

"Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250"

My memory_limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?

Kind regards and thank you for help... Jo

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8125](#8125) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8125 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

Hi,

Indeed, for security reasons (so that no one can download the file with just the link to it), the files uploaded in HikaShop are not directly accessible from the outside. So, the only way to access them is to go through HikaShop's code which checks that the user has the right to download it, then load that file in memory and send its content directly to the browser.

So, if you want to allow the download of files in HikaShop, your PHP memory limit needs to be above the size of the files (+ the memory used by joomla and hikashop ).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Seitz](/forum/user/322-seitz "View Seitz's Profile")**
- [![Seitz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/322-seitz "View Seitz's Profile") Topic Author
- [ Offline](/forum/user/322-seitz)

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 8 months ago [\#8126](#8126) by [Seitz](/forum/user/322-seitz "View Seitz's Profile")  Replied by *[Seitz](/forum/user/322-seitz "View Seitz's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8126 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

Oh, that was a fast answering...

I understand. Unfortunately it's not possible to get memory_limt bigger than 64MB from my hoster. Is there a way to deactivate the user check and download the file directly?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8128](#8128) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8128 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

You can edit the file show of the view order for the front end via the menu Display-&gt;Views. There, you can change the line:
$fileHtml = '&lt;a href="'.hikashop::completeLink('order&amp;task=download&amp;file_id='.$file-&gt;file_id.'&amp;order_id='.$this-&gt;order-&gt;order_id).'"&gt;'.$file-&gt;file_name.'&lt;/a&gt;';
by:
$fileHtml = '&lt;a href="'.HIKASHOP_LIVE.'media/com_hikashop/upload/safe/'.$file-&gt;file_path.'"&gt;'.$file-&gt;file_name.'&lt;/a&gt;';

And also, delete the file .htaccess in the folder media/com_hikashop/upload/safe so that the files upload folder can be accessible from the outside.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Seitz](/forum/user/322-seitz "View Seitz's Profile")**
- [![Seitz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/322-seitz "View Seitz's Profile") Topic Author
- [ Offline](/forum/user/322-seitz)

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 8 months ago [\#8131](#8131) by [Seitz](/forum/user/322-seitz "View Seitz's Profile")  Replied by *[Seitz](/forum/user/322-seitz "View Seitz's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8131 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

Ok, thank you. But in that case it's not possible to have access to files outside "htdocs", is that right?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8132](#8132) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8132 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

Indeed. Apache does not allow anyone to access files outside your web folder for obvious reasons.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Seitz](/forum/user/322-seitz "View Seitz's Profile")**
- [![Seitz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/322-seitz "View Seitz's Profile") Topic Author
- [ Offline](/forum/user/322-seitz)

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 8 months ago [\#8134](#8134) by [Seitz](/forum/user/322-seitz "View Seitz's Profile")  Replied by *[Seitz](/forum/user/322-seitz "View Seitz's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8134 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

But in other case hikashop can access to files outside htdocs. What can i do to give anyone who get the downloadlink, the rights to download the file outside htdocs?
You see, it's realy important for me.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8135](#8135) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8135 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

When you point to a file directly like http://my_website.com/myfile.zip apache give you back that file directly. Apache prevent anyone from accessing files outside the htdocs directory, there is nothing you can do unless you configure apache differently. But if you can't even change the memory limit of PHP, I doubt that you are allowed to change that either. It's not related to HikaShop, that's something which is related to the way your server is configured.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Seitz](/forum/user/322-seitz "View Seitz's Profile")**
- [![Seitz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/322-seitz "View Seitz's Profile") Topic Author
- [ Offline](/forum/user/322-seitz)

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 8 months ago [\#8136](#8136) by [Seitz](/forum/user/322-seitz "View Seitz's Profile")  Replied by *[Seitz](/forum/user/322-seitz "View Seitz's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8136 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

I understand you, but why is it possible for example with mediashop (other joomla shopsystem), to download files much bigger then memory_limit, from outside htdocs? Thank you again!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8138](#8138) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8138 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

They probably use another technique than us to load and send the file content.

We use the standard joomla function for that and it first loads everything in memory before giving it back to us so that we can send it to the browser.

But we could also use directly the PHP file handling functions to load the file piece by piece and send each piece to the browser before freeing the memory before loading the next one.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Seitz](/forum/user/322-seitz "View Seitz's Profile")**
- [![Seitz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/322-seitz "View Seitz's Profile") Topic Author
- [ Offline](/forum/user/322-seitz)

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 8 months ago [\#8139](#8139) by [Seitz](/forum/user/322-seitz "View Seitz's Profile")  Replied by *[Seitz](/forum/user/322-seitz "View Seitz's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8139 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

This would be the perfect solution! Is it very difficult to realize that in Hikashop? Maybe you can give me an approach?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8140](#8140) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8140 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

Could you try to replace the file amdinistrator/components/com_hikashop/classes/file.php by the one in the archive enclosed ?
We made some modifications to handle the download by chunks instead of using joomla's built-in functions.
It's not tested so there by by some glitches. Please report to us how it goes.

####  *This attachment is hidden for guests.
Please log in or register to see it.*

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Seitz](/forum/user/322-seitz "View Seitz's Profile")**
- [![Seitz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/322-seitz "View Seitz's Profile") Topic Author
- [ Offline](/forum/user/322-seitz)

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 8 months ago [\#8156](#8156) by [Seitz](/forum/user/322-seitz "View Seitz's Profile")  Replied by *[Seitz](/forum/user/322-seitz "View Seitz's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8156 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

I replaced the file.php. Now when i try to start a download (File of 80MB), a window opens and ask me correctly if i want to open or save. But instead of file it shows me the name of the file directory. When i klick ok, download goes just for a second, than Firefox says that the download is finished, but nothing is really downloaded.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8158](#8158) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8158 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

Please try with this one then.

####  *This attachment is hidden for guests.
Please log in or register to see it.*

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Seitz](/forum/user/322-seitz "View Seitz's Profile")**
- [![Seitz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/322-seitz "View Seitz's Profile") Topic Author
- [ Offline](/forum/user/322-seitz)

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 8 months ago [\#8171](#8171) by [Seitz](/forum/user/322-seitz "View Seitz's Profile")  Replied by *[Seitz](/forum/user/322-seitz "View Seitz's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8171 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

Great, now it really downloads the file! I do it 5 times, unfortunately after every download the size of the downloaded file was to smal and corrupt!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8176](#8176) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8176 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

Could you give us an FTP access to your website and an access on the front end so that we can access an order page and download the file ? That way, we'll be able to test that problem more easily because on our end it's working fine and the file is not corrupt.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Seitz](/forum/user/322-seitz "View Seitz's Profile")**
- [![Seitz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/322-seitz "View Seitz's Profile") Topic Author
- [ Offline](/forum/user/322-seitz)

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 8 months ago [\#8181](#8181) by [Seitz](/forum/user/322-seitz "View Seitz's Profile")  Replied by *[Seitz](/forum/user/322-seitz "View Seitz's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8181 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

ok, how can i do that?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8182](#8182) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8182 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

You can use our contact form: [ www.hikashop.com/en/support/contact-us.html](http://www.hikashop.com/en/support/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Seitz](/forum/user/322-seitz "View Seitz's Profile")**
- [![Seitz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/322-seitz "View Seitz's Profile") Topic Author
- [ Offline](/forum/user/322-seitz)

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 8 months ago [\#8188](#8188) by [Seitz](/forum/user/322-seitz "View Seitz's Profile")  Replied by *[Seitz](/forum/user/322-seitz "View Seitz's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8188 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

Done!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8202](#8202) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error:](/forum/3-bug-report/8124-fatal-error#8202 "Hello,  i uploaded a file of 80 MB to a Directory outside htdocs. When User try to download it from Hikashop-link, he gets a allowed memory size error:  &quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80310247 bytes) in /home/vhosts/5000157844/world-of-cinema.net/htdocs/libraries/joomla/filesystem/file.php on line 250&quot;  My memory&#95;limit = 64MB, isn't that enough to download a 80MB File?? I tried other shop-system and download-module and i can download files about 2GB without any problems. What hikashop is doing, is it first try to load file into memory?  Kind regards and thank you for help... Jo")*

We got your email and we're going to look at that ![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MTI0LWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.480 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
