Question: File Not found in Export excel

File Not found in Export excel

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 Severi

MV

Mitul Vasa

Asked

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

  • MS

    Mian Saleem

    Answered

    May I know what version are you using?

  • MV

    Mitul Vasa

    Answered

    2020 Stock Manager Advance (v3.4.23 )

  • MS

    Mian Saleem

    Answered

    Please update to latest version. The change log can be found at https://tecdiary.net/changelogs/stock-manager-advance-with-all-modules Thank you

  • MV

    Mitul Vasa

    Answered

    That will solve my problem?

  • MS

    Mian Saleem

    Answered

    Yes, I hope so as there is no such issue in current version.

  • MS

    Mian Saleem

    Answered

    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

  • MV

    Mitul Vasa

    Answered

    Could there be any folder which has permission issue?

  • MS

    Mian Saleem

    Answered

    No.I don’t think there could be any file permissions issue. Is there any errors in your server error logs?

  • C

    cihad

    Answered

    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

  • MS

    Mian Saleem

    Answered

    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