Dolibarr lost look and feel after changing from folder to subdomain

Hi guys,

I have a brand new installation of Dolibarr, when I installed it I did it on https://www.example.com/dolibarr, but I just gave it a subdomain pointing to that folder (https://dolibarr.example.com) and it lost the look and feel, I did change the URL in conf/conf.php to the new one and cleared my browser’s cache, but it did not improve, what else do i have to do to make it look the way it’s supposed to?

Thanks.

Never mind, it started looking normal after a second clear of cache from browser, but I started enabling modules and when I enabled Services, the dashboard won’t show and Apache got this in it’s log:

[Fri Sep 02 13:12:12.645149 2022] [fcgid:warn] [pid 14496:tid 176] [client 192.168.x.x:22836] mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Class “Product” not found in D:\Apache24\htdocs\dolibarr\core\boxes\box_services_contracts.php:88, referer: https://dolibarr.example.com/admin/modules.php?mode=commonkanban&page_y=624
[Fri Sep 02 13:12:12.645149 2022] [fcgid:warn] [pid 14496:tid 176] [client 192.168.x.x:22836] mod_fcgid: stderr: Stack trace:, referer: https://dolibarr.example.com/admin/modules.php?mode=commonkanban&page_y=624

Sorry, I couldn’t put the whole log because of the new user links limit in this forum.

I’m using Apache 2.4.53 on Windows with PHP 8.1 and MariaDB 10

Any idea how I can fix this so i can enable the Services module?

Thanks.

What is your Dolibarr version? Anything older than the current beta of 16.0.0 is not compatible with php 8.1 (it needs php 7.4 or earlier). And the beta of v16 may still show problems, until it gets released.

Actually, all I needed to do was enable Products before enabling Services, version 15.0.3 is working just fine with PHP 8.1, so I’m good.