#!/usr/bin/env php
( ! ) Warning: Undefined variable $path in R:\Ampps\www\Cabello-Enterprises\scripts\accountancy\export-thirdpartyaccount.php on line 28
Call Stack
#TimeMemoryFunctionLocation
10.0013447640{main}( )...\export-thirdpartyaccount.php:0

( ! ) Warning: Undefined property: stdClass::$COMPANY_SHOW_ADDRESS_SELECTLIST in R:\Ampps\www\Cabello-Enterprises\htdocs\societe\class\societe.class.php on line 741
Call Stack
#TimeMemoryFunctionLocation
10.0013447640{main}( )...\export-thirdpartyaccount.php:0
20.0022497048require_once( 'R:\Ampps\www\Cabello-Enterprises\htdocs\master.inc.php )...\export-thirdpartyaccount.php:28
30.07106015064Societe->__construct( $db = class DoliDBMysqli { public $db = class mysqli { public $affected_rows = 406; public $client_info = 'mysqlnd 8.2.30'; public $client_version = 80230; public $connect_errno = 0; public $connect_error = NULL; public $errno = 0; public $error = ''; public $error_list = [...]; public $field_count = 3; public $host_info = 'localhost via TCP/IP'; public $info = NULL; public $insert_id = 0; public $server_info = '8.0.45'; public $server_version = 80045; public $sqlstate = '00000'; public $protocol_version = 10; public $thread_id = 115025; public $warning_count = 0 }; public $type = 'mysqli'; public $forcecharset = 'latin1'; public $forcecollate = 'latin1_swedish_ci'; private ${DoliDB}_results = NULL; public $connected = TRUE; public $database_selected = TRUE; public $database_name = 'cabello-enterprises'; public $database_user = 'cesar'; public $database_host = 'localhost'; public $database_port = '3306'; public $transaction_opened = 0; public $lastquery = 'SELECT name as name, value as value, entity FROM llx_const WHERE entity IN (0,1) ORDER BY entity'; public $lastqueryerror = NULL; public $lasterror = NULL; public $lasterrno = NULL; public $ok = TRUE; public $error = NULL; private $_results = class mysqli_result { } } )...\master.inc.php:244
Access denied.
You try to access to a page, area or feature of a disabled module or without being in an authenticated session or that is not allowed to your user.

It seems that Dolibarr is not used through an authenticated session. Take a look at Dolibarr setup documentation to know how to manage authentications (htaccess, mod_auth or other...).