anam-hossain / captcha

reCAPTCHA V2 and invisible reCAPTCHA for Laravel.
MIT License
28 stars 6 forks source link

Working localy using valet but not on forge -> DigitalOcean droplet #1

Open brainmaniac opened 6 years ago

brainmaniac commented 6 years ago

Hi and thanks for a nice package.

I installed the captcha swiftly on my local computer where I use valet. When I deployed it to the server it does not work. It is just showing the text: @captcha() where the acctual captcha box shows on my local comp.

I did run composer install on the server and the package is required on the server and seem to be installed as I can find it in the vendor.

What can this be?

anam-hossain commented 6 years ago

Hey @brainmaniac, I have failed to reproduce the issue. I have tested in Valet, Homestead and Vultr (similar to Digitalocean).

Can you please share the error log?

I think, the issue might be the Anam\Captcha\ServiceProvider\CaptchaServiceProvider not loaded properly.

https://github.com/anam-hossain/captcha#integrations

brainmaniac commented 6 years ago

Hi anam-hossain,

I will do this soon. Right now I made a hack to get it working and have a deadline coming up. Getting back to this in the near future.

chrisjohnstone commented 6 years ago

I have the same issue, again on Digital Ocean.

Something to do with the @captcha directive.

@brainmaniac how did you work round this?