The server use PHP 5.1.6
Ok, this is the error code when I uncomment some comment lines for debugging.
ink http://addons.websitebaker.org//modules/modcheck/server.php
server: http://addons.websitebaker.org
path:
folder: modules/modcheck/server.php
File Mode
Warning: file_get_contents(http://addons.websitebaker.org//modules/modcheck/server.php) [function.file-get-contents]: failed to open stream: Connection timed out in ../../modules/modcheck/tool.php on line 88
Curl Mode
Fatal error: Call to undefined function curl_init() in ../../modules/modcheck/tool.php on line 92
There are two slashes behind the domain. They appear because of the empty path variable. So I decided to delete the path variable... with the following result.
link http://addons.websitebaker.org/modules/modcheck/server.php
server: http://addons.websitebaker.org
path:
folder: modules/modcheck/server.php
File Mode
Warning: file_get_contents(http://addons.websitebaker.org/modules/modcheck/server.php) [function.file-get-contents]: failed to open stream: Connection timed out in ../../modules/modcheck/tool.php on line 89
Curl Mode
Fatal error: Call to undefined function curl_init() in ../../modules/modcheck/tool.php on line 93
It's like you said the error seams not to depend on the slashes. There is someting wrong with the two functions. Both are for the same aim.
At First the script tries to use file_get_contents which failes and then it jumps to the secound possible function curl_init which failes also. The secound one doesn't seam to be available. And what's with the first one?