2
Contributors
4
Replies
16
Views
4 Years
Discussion Span
Last Post by Ronnie.Sk1ttl3s.Eke
0

Do a step by step verification. Try printing the output for the variables involved in the error, for instance $url, $shell_loc or $get_url. It is easier to iterate through each warning in order to try to identify any errors. Maybe that helps.

0

No problem. What i mean is: try to trace every error to its possible origin: check if strings are constructed correctly, check that validations do what you want them to do, etc.

For instance:

Warning: curl_init() [function.curl-init]: Could not initialize a new cURL handle in /home/anonymuw/public_html/form/bootgold.php on line 258

  • warning #1 tells you that curl-init could not be called correctly. It is possible that the $url parameter being passed is not a correctly formatted string. Try printing its contents using echo somewhere in the page.

Warning: curl_setopt() expects parameter 1 to be resource, boolean given in /home/anonymuw/public_html/form/bootgold.php on line 259

  • warning #2 is a consequence of warning #1, since the function that could not be executed returned a false argument, which is the boolean being mentioned.

And so on...

0

Thank you once again, I will pass your reply on and hopefully get someone to do it for me, haha:D
Thank you !!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.