Report this

What is the reason for this report?

Connection blocked on my server?

Posted on October 26, 2014

Hello,

currently I have a plugin running on my virtual server, within the php of this plugin it uses curl to get data from another url not situated on this server. Currently something seems to be stopping this, has this happened to anyone and do you have any suggestion?

Thanks, Fab



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @info812022,

Usually in this situation, you’ll need to provide a little bit more information just to make sure you get a relevant answer. Anyway, what I’ll recommend is to actually use the var_dump(); function to see where exactly it fails.

The var_dump() function is used to dump information about a variable. This function displays structured information such as type and value of the given variable. Arrays and objects are explored recursively with values indented to show structure. This function is also effective with expressions.

You can read more about this here :

https://www.php.net/manual/en/function.var-dump.php

Regards, KFSys

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.