LaraBug / LaraBug

Laravel error reporting tool
https://www.larabug.com
MIT License
267 stars 58 forks source link

allow_url_fopen - should be enabled to use Larabug #63

Closed sekim88 closed 1 year ago

sekim88 commented 2 years ago

Hi, this is not the issue itself but a notice. I had a problem when running Larabug on the server where I have allow_url_fopen set to Off. TestCommand does not inform about this - it shows only general info. Can you add this information to guide/notes and additional check for this in TestCommand?

Thanks

Cannonb4ll commented 2 years ago

@SebastiaanKloos @Glennmen What do you think we should do with this? Is this something important?

Glennmen commented 2 years ago

This setting is enabled by default. What is the reason you disabled it?

Also @Cannonb4ll why does Larabug need this 🤔 maybe we could rewrite it to curl or something else.

SebastiaanKloos commented 2 years ago

I agree with @Glennmen that we could rewrite this to curl

sekim88 commented 2 years ago

Hi. I Have this enabled because of security reasons.

Cannonb4ll commented 2 years ago

This setting is enabled by default. What is the reason you disabled it?

Also @Cannonb4ll why does Larabug need this 🤔 maybe we could rewrite it to curl or something else.

@Glennmen It does not need this?

img

It's probably because some third party package includes it.

So how are you going to rewrite this to curl? I don't think we can do anything about this.

Glennmen commented 2 years ago

@Cannonb4ll You searched a php.ini setting in Larabug source 😂 that is not how this works.

Cannonb4ll commented 2 years ago

@Glennmen I beg to differ: https://screenshot.webbuilds.nl/wwXGbzyjJsRYuVagHYDK

Cannonb4ll commented 2 years ago

Anyhow, what should we do with this?

Glennmen commented 2 years ago

@sekim88 Do you have curl (php-curl) installed on the server? That might be the cause.

If that is the case on Larabug side we should add php-curl as a requirement in composer.json.

sekim88 commented 2 years ago

Hi, @Glennmen, sorry for the late reply. Yes, I have curl installed. (checked by php -m). I tested enabling/disabling allow_url_fopen without changing anything more and for me, it works only when it is enabled. Thanks

Cannonb4ll commented 1 year ago

Closing due to inactivity.