Can't open URL

Problems installing LinkMan?
Post Reply
robbiez
Posts: 6
Joined: Thu Apr 30, 2009 8:08 pm

Can't open URL

Post by robbiez »

Script URL: http://www.thepictureframingexperts.co. ... /link.html
Version of script: 1.7
Hosting company: 1and1
URL of phpinfo.php: http://www.thepictureframingexperts.co.uk/phpinfo.php
URL of session_test.php: http://www.thepictureframingexperts.co.uk/test.php
What terms did you try when SEARCHING for a solution: various and I have read many posts

Write your message below:

I am sorry for repeating other posts but I have read through every topic related to my problem.
In the admin panel I have a message saying users will not be able to submit a link as allow_remote_url is off.

Allow_remote_url is turned on - check the phpinfo.

I have also tried the simple script posted by Klemen that should display Googles homepage - this works as well and can be seen at the link above.

What am I missing??

Thanks
Robbiez
DC
Posts: 138
Joined: Sun Dec 09, 2007 9:28 am

Post by DC »

Does everything else work fine?
Not sure why that would be when it seems it is set to On ...


DC
Last edited by DC on Fri May 01, 2009 2:21 pm, edited 1 time in total.
To Code Or Not To Code That Is The Question?

Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
robbiez
Posts: 6
Joined: Thu Apr 30, 2009 8:08 pm

Post by robbiez »

When you say it works fine - myself or people wishin to submit links are unable to as they receive a Can't Open URL message.
I have ensured correct URL are being used.

Thanks
DC
Posts: 138
Joined: Sun Dec 09, 2007 9:28 am

Post by DC »

Ah it sounded like you ment it only showed up in the admin thats why I mentioned what I did, not sure on that one as I see it is indeed on in your
info I will edit the other so as not to confuse anyone.

I hope Klem has some ideas and a good answer for you on that one.

DC
To Code Or Not To Code That Is The Question?

Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

How about if you copy the test page into the linkman folder - does it still work? It's possible you have a htaccess or something blocking allow_url_fopen locally.
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
robbiez
Posts: 6
Joined: Thu Apr 30, 2009 8:08 pm

Post by robbiez »

I have put the test page in the linkman folder and now get an error:

http://www.thepictureframingexperts.co. ... n/test.php

Rob
robbiez
Posts: 6
Joined: Thu Apr 30, 2009 8:08 pm

Post by robbiez »

I do have a htaccess file that contains various rewrite rules and "AddType x-mapp-php5 .php" but there is no reference to allow_url_fopen

Thanks

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

Post by Klemen »

So LinkMan was right after all :wink:

You can either remove the htaccess or upload the phpinfo file in the linkman folder, see what php.ini gets called under "Loaded Configuration File" and enable allow_url_fopen in that php.ini file.
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
robbiez
Posts: 6
Joined: Thu Apr 30, 2009 8:08 pm

Post by robbiez »

So LinkMan was right after all
I wouldn't consider suggesting it was wrong in the first place!!

I have 'cured' the problem by placing a copy of the php.ini file in the linkman folder. I had put the phpinfo file in the linkman folder and that showed the all_url_fopen to be off.

I presume there are no issues with having duplicate php.ini file in different folder.

Thanks for your help
Rob
robbiez
Posts: 6
Joined: Thu Apr 30, 2009 8:08 pm

Post by robbiez »

A few beers are on route
Post Reply