Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.07k stars 2.67k forks source link

PHP error message when loading company image #25103

Closed Meowchine1 closed 15 hours ago

Meowchine1 commented 1 year ago

Bug

System throws an error when loading the company logo. But logo is successfully loaded into the database.

Environment Version

18.0.0

Environment OS

Windows 10

Environment Web server

Apache 2.4.51

Environment PHP

8.0.13

Environment Database

MySQL 5.7.36

Environment URL(s)

http://mydomain/dolibarr-develop/htdocs/admin/company.php?mainmenu=home

Expected and actual behavior

Expected: Success report Actual: php error message unnamed

Steps to reproduce the behavior

  1. move to main section
  2. move Company/Organization section
  3. upload logo (png, jpg, jpeg. Size <= 2048)
  4. press save button

Attached files

No response

ksar-ksar commented 1 year ago

Hello,

Thanks for the report, but it's warning messages not error Can be hidden with $dolibarr_main_prod=1 in conf/conf.php

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).