Hi
In Reports when i try to Export products using Download xls, it shows browser error; FILE NOT FOUND
– Following Error in Reports / Product page –
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: reports/products.php
Line Number: 252
Backtrace:
File: /var/www/xxx.co.in/2019inventory/themes/default/admin/views/reports/products.php Line: 252 Function: _error_handler
File: /var/www/xxx.co.in/2019inventory/app/core/MY_Loader.php Line: 132 Function: _ci_load
File: /var/www/xxx.co.in/2019inventory/app/core/MY_Controller.php Line: 124 Function: view
File: /var/www/xxx.co.in/2019inventory/app/controllers/admin/Reports.php Line: 2742 Function: page_construct
File: /var/www/xxx.co.in/2019inventory/index.php Line: 273 Function: require_once
Regards, Mitul
- MSAnswered
May I know what version are you using?
- MVAnswered
2020 Stock Manager Advance (v3.4.23 )
- MSAnswered
Please update to latest version. The change log can be found at https://tecdiary.net/changelogs/stock-manager-advance-with-all-modules Thank you
- MVAnswered
That will solve my problem?
- MSAnswered
Yes, I hope so as there is no such issue in current version.
- MSAnswered
Hello,
There is no need to reply privately unless you are sharing confidential & private data.
Can you please test it on live demo. The download and demo are exact same.
Thank you
- MVAnswered
Could there be any folder which has permission issue?
- MSAnswered
No.I don’t think there could be any file permissions issue. Is there any errors in your server error logs?
- CAnswered
I have a similar problem with the latest version.
I get the following when I click on Xls: This site can’t be reachedThe webpage at http://localhost/sma/admin/reports/getSalesReport/0/xls/?v=1 might be temporarily down or it may have moved permanently to a new web address. ERR_INVALID_RESPONSE
- MSAnswered
Hello,
I am not sure what is causing this. Can you please test live demo and let me know if it’s happening there too. On my local machine, it’s downloading the file but Mitul has same issue as you. Can you please check server error logs, if there are any errors logged.
Thanks
- Login to Reply