Welcome, Guest. Please login or register.
Did you miss your activation email?
April 23, 2014, 11:06:23 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
177458 Posts in 24325 Topics by 6877 Members
Latest Member: chickenjoe
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Module Version Checker Error  (Read 1592 times)
enigmah

Offline Offline

Posts: 8


« on: January 14, 2008, 07:24:07 PM »

Hi folks,

I'm a beginner and I got a problem with the Module Version Checker 0.7 and WB 2.6.7.
It seams that there is something wrong with my path variable in the tool.php. So the slash after the server address appears twice.

Code:
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 87

Fatal error: Call to undefined function curl_init() in ../../modules/modcheck/tool.php on line 91

During the installation of wb I make an error on entering the sites address. I put an slash at the end -> http://www.test.com/ instead of leaving it out -> http://www.test.com
I already corrected this error in the config.php but now it seams to appear no again.
What can I do?

THX
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6991


WWW
« Reply #1 on: January 14, 2008, 08:03:24 PM »

The cURL Function of PHP needs to be available on your Webserver. It seems that it isn't.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

enigmah

Offline Offline

Posts: 8


« Reply #2 on: January 15, 2008, 09:41:40 AM »

The server use PHP 5.1.6
Ok, this is the error code when I uncomment some comment lines for debugging.

Code:
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.

Code:
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?
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 8244



WWW
« Reply #3 on: January 15, 2008, 12:06:27 PM »

Hello,

ask your hoster, as he is the one who has configured his server.

Matthias
Logged
enigmah

Offline Offline

Posts: 8


« Reply #4 on: January 15, 2008, 02:23:38 PM »

Thanks for your help, I'll do so

------closed------
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!