ERROR Can't open remote URL!

Problems installing LinkMan?
Guest

Post by Guest »

im getting the same problem http://www.mofosex.com/links/phpinfo.php

i get the cannot open url and also when i have added my url to a friends site that has a recip back to me it tells me that i have dont have a recip.

thanks a bunch
sfera
Posts: 5
Joined: Thu Nov 03, 2005 6:59 pm

Post by sfera »

Anonymous wrote:im getting the same problem http://www.mofosex.com/links/phpinfo.php

i get the cannot open url and also when i have added my url to a friends site that has a recip back to me it tells me that i have dont have a recip.

thanks a bunch

and also my host is dreamhost.com :)
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

From your phpinfo file I see the "allow_url_fopen" is disabled. No script will be able to open URLs (check reciprocal links) with that setting set to off, try asking your hosting company to enable it. LinkMan needs this setting ON to work (it is on by default in PHP installation).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
sfera
Posts: 5
Joined: Thu Nov 03, 2005 6:59 pm

Post by sfera »

ok i have contacted them ill see what i can do.
sfera
Posts: 5
Joined: Thu Nov 03, 2005 6:59 pm

Post by sfera »

aslo deos this script say it didnt find a recip after it counts a certain amount of characters? i submitted my url on a friends site and that is what it told me. not sure its a problem with me or them.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Not sure what you mean?

allow_url_fopen is definitely disabled, you should have that enabled first, we'll work from there if the problem persists.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Guest

Post by Guest »

here is what my host said to me, I dont understand how to do what they are asking.

Unforutnately going over the intricate details of this setup is not
something I can help you with, as we do not provide official support
with
these things. I can, however, give you some quick pointers to the
right
info.

This requires downloading the php source from php.net, and compiling it
with the options you want, then utilizing an Apache .htaccess file you
redirect the scripts in the site or subdirectory to the correct php
interpreter.

Some of our customers have put some usefull info in our wiki regarding
php compiles here:
http://wiki.dreamhost.com/index.php/Cus ... pile_PHP_4

Also see the documentation on Apache.org here:
http://httpd.apache.org/docs/1.3/

Finally, the php documentation here:
http://www.php.net/docs.php

Let me know if you need anything else.
sfera
Posts: 5
Joined: Thu Nov 03, 2005 6:59 pm

Post by sfera »

forget to log in so that prev message was mine not guest
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Are you on a shared host or do you rent your own dedicated server (and have root access)?

If you are on a shared ost thethe HOSTING COMPANY needs to enable allow_url_fopen, if you are on dedicated find file "php.ini" (in /etc/php/cgi), edit it with a plain text editor and activate the allow_url_fopen directive (just find allow_url_fopen within the file and read instructions above it).

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
sfera
Posts: 5
Joined: Thu Nov 03, 2005 6:59 pm

Post by sfera »

i am on shared, if you look at the response above from me host this is what they said. am i able to drop a php.ini file in this directory or something?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

If u're on a shared host without root access you can't do a thing about it. Your host has to.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
slater
Posts: 1
Joined: Sat Mar 11, 2006 10:18 pm

Post by slater »

Same problem with my script, allow_url_fopen is ON!

http://www.astrel.co.uk/test.php - for php info

http://www.astrel.co.uk/links.php - for submission page

andy.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Well I have successfully added Google to your LinkMan so it does work. The problem could be that you probably have a closing / in your URL in settings.php $settings['site_url'] variable.

Try changing

$settings['site_url']="http://www.astrel.co.uk/";

to

$settings['site_url']="http://www.astrel.co.uk";

Note that I have removed the last /

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
milesa
Posts: 3
Joined: Mon Mar 13, 2006 10:42 pm

about phpinfo

Post by milesa »

Dear Klement,

I have the same problem "can't open remote URL". I was downloaded phpinfo, uploud it on server, but... I don't know to read it: http://www.bighealth.mobstop.com/phpinfo.php

Can you help me?

Thx
Milesa
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Please give me the URL of your LinkMan and I will test it.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply