nenes25 / eicaptcha

Captcha module for prestashop
292 stars 84 forks source link

Debug not working #259

Closed manufourc closed 6 months ago

manufourc commented 10 months ago

Check if your issue exists

Your prestashop version

1.7.7.x

Eicaptcha version

2.4.x

Do you use a specific theme ?

Customized PRS006 theme from ThemeDelights

Describe the bug

ContextErrorException Warning: file_put_contents(/var/www/vhosts/.../modules/eicaptcha/src/logs/debug.log): failed to open stream: No such file or directory in Debugger.php line 342

I think : dirname(FILE) . '/logs/debug.log',

should be replaced by : _PS_MODULEDIR . $this->module->name . '/logs/debug.log',

Screenshots

No response

Additional context

No response

nenes25 commented 6 months ago

This fix is released in v 2.4.5