1 (edited by acaboy69 04/23/2020 06:04:50 pm)

Topic: Wrong path on reports, Error 404

When we create a new report i receive: 404 Not Found with nginx server... but the situation its about path.

The Frontaccounting its in our server in a directory in of root web access named frontleon...

When we run the report the path with problem its this, check the URL:
http://xxx.yyy.zzz/company/0/pdf_files/AMW6YAFR9HD6hiCD-AjZcQxx.pdf

And the correct path its:
http://xxx.yyy.zzz/frontaccounting/company/0/pdf_files/AMW6YAFR9HD6hiCD-AjZcQxx.pdf

I check permissions, i check owners, db, everything...

Somebody know where its the problem?

2 (edited by kvvaradha 04/24/2020 09:54:41 am)

Re: Wrong path on reports, Error 404

It's simply the pdf file path. So check in the end() function inside pdf_report.inc to give path for the file. And also company_path function you need to check it. We have not faced such an issue. Simply giving you the way to figureout a solution. The returned file url is wrong. So the path is the only problem not the permission of files or permission of user

Subscription service based on FA
HRM CRM POS batch Themes

Re: Wrong path on reports, Error 404

Check your nginx document root and FA webroot if any in your webserver conf file that you may need an alias for depending on the url you used to install FA.

The nginx configuration file is generally at /etc/nginx/nginx.conf.