captcha icon indicating copy to clipboard operation
captcha copied to clipboard

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

Open brainmaniac opened this issue 7 years ago • 3 comments

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?

brainmaniac avatar Oct 31 '17 13:10 brainmaniac

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

anam-hossain avatar Nov 01 '17 00:11 anam-hossain

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.

brainmaniac avatar Nov 08 '17 09:11 brainmaniac

I have the same issue, again on Digital Ocean.

Something to do with the @captcha directive.

@brainmaniac how did you work round this?

chrisjohnstone avatar Feb 27 '18 20:02 chrisjohnstone