News:

Looking for documentation? Take a look on our wiki

Main Menu

Large Image Files - Safe Directory

Started by hshs, February 05, 2015, 01:46:28 AM

Previous topic - Next topic

hshs

Hi,

Any insight on this one would be appreciated. Virtuemart version is 3.0.2 with PHP 5.4.23

I created a safe directory as recommended. I also increased the file upload size and max post size in the php.ini file as I am going to be selling large digital files. When I use the Media Files section of Virtuemart to upload the files it uploads them to the safe directory with no problem - regardless of file size. If I upload a large file such as 25MB it uploads the file but we can't get back into the Media Manager Section of Virtuemart - it returns a blank page. If I delete the file in the safe directory it's fine again and we can access that section of the Virtuemart Control Panel. If I upload a small file such as 5 or 6MB through the Media Files section there are no issues at all. It works great. Can someone shed some light on why it's returning a blank page with large files and what I can do to correct the issue please? There is nothing in the script error log or error log.

Thanks again!

jenkinhill

Check the error log on the server for the cause of the blank page as that will show if there is a php limit being exceeded. http://forum.virtuemart.net/index.php?topic=121692.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

hshs

Hi,

Thank you for the response. I appreciate it. I had increased the memory limit to 256MB and that did not help. I have also looked at the script error log and server error log and there is no entry. The really strange aspect of this is that it only happens when the file sizes are above 7 or 8MB. I could not find any other setting in the php.ini file that would cause it. I also tried the vmdebug mode and again no error messages when accessing the media files... It's a really strange issue and I'm sure it's something I have overlooked but not sure what that is.

GJC Web Design

Apache errors on a shared host are often not available to you - you must ask your host....
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

For large files you would need to substantially increase:Upload_max_filesize  - 1500 M
Max_input_time  - eg 1000
Memory_limit    - eg 1024M
Max_execution_time -  eg 3600
Post_max_size - eg 2000 M

Usually such levels are only achievable on a dedicated server to which you have full root access.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

hshs

Thank you for your help. The suggested changes to the php.ini file were made and it did not solve the issue. I elected to go with another shopping cart solution and wanted to write to thank you for the responses.