GPCsolutions / sentry

[Unmaintained] Send Dolibarr logs to a Sentry server
GNU General Public License v3.0
0 stars 2 forks source link

Autoload.php doens't exist #3

Open laudeco opened 6 years ago

laudeco commented 6 years ago

My autoload.php doesn't exist at the place where you are looking for ....

require __DIR__ . '/../vendor/autoload.php';

I did something wrong ?

laudeco commented 6 years ago

Ping ?

laudeco commented 6 years ago

Ping again sorry but it's blocker for me ?

rdoursenaud commented 6 years ago

The autoloader is generated by composer. Have you installed the dependencies as instructed in the README?

laudeco commented 6 years ago

Hello I installed it via your readme, but the problem is in all files you depend of : require_once dirname(__FILE__) . '/../../../vendor/autoload.php';

The autoload is not in that folder but at my side it's in : require __DIR__ . '/../../../includes/autoload.php';

By the way, I'm on Dolibarr: 7.0 Cheers L.

rdoursenaud commented 6 years ago

Oh, so you installed it via Dolibarr's composer file? Composer support in Dolibarr is a mess I don't intend to support. I should remove this install method. Please install the composer dependencies directly in the module's directory by running composer install --no-dev there and it should work. Haven't tested the module with Dolibarr 7 yet. Please let me know how it goes.