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.29k stars 2.74k forks source link

traces from previous domain #24036

Closed r9guy closed 1 year ago

r9guy commented 1 year ago

Bug

Then dolibar is being restored on webserver on a new domain from backup made on old domain, the payment module has traces of old domain. such as if old domain is aaa.com and new on is bbb.com, after restoration in invoice the's a payment link showing with old domain. image I cannot find any place where I can change the domain. the company setup page has all the data correct.

Environment Version

16-17

Environment OS

Linux

Environment Web server

Apache

Environment PHP

8.1.14

Environment Database

MySQL or MariaDB 10.3.38-MariaDB-log

Environment URL(s)

No response

Expected and actual behavior

Some user interface which would be used to setup company url.

Steps to reproduce the behavior

No response

Attached files

No response

hregis commented 1 year ago

@r9guy and in your conf.php file?

r9guy commented 1 year ago

@hregis thanks for pointing out. the conf/conf.php contained $dolibarr_main_url_root='http://erp.olddomain.com';

however I would argue if this shall be parametrized from Dolibarr itself.