problem with form.html

Problems installing LinkMan?
Post Reply
ROmeNYRR

problem with form.html

Post by ROmeNYRR »

Version of script: latest
Version of PHP: 4.1.2
Hosting company: atlantic.net

whenever i tree to add a link from form.html and i hit submit, the page just goes blank. i dont recieve an update of links on the admin page. ive tried many different things but everytime i hit submit ijust get a blank page on addlink.php.. help :(
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

URL of your script:

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
rome

Post by rome »

http://roblawproductions.com/links/links.php. i love the simplicity of your prog, but i really need that form :(. help :)
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

The addlink.php works ok until the script tries to open the URL to check for the reciprocal link. Your hosting company probably has "allow_url_fopen" disabled in the PHP settings and thus LinkMan can't open remote URLs to check for reciprocal link.

To be sure you can upload this file to your LinkMan folder (the PHP file inside the Zip file):
http://www.phpjunkyard.com/extras/phpinfo.zip

Open that file in your browser and check what is the status of allow_url_fopen variable. It is probably off.

If it IS off you won't be able to get LinkMan (or another similar script) working on your server as I doubt your host will be willing to enable it because of you. Solution? Get a better hosting company :wink:

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
rome

Post by rome »

thanks for the reply... i think i have that command on, but i dont know whats up with it :(.. let me know what you think

http://roblawproductions.com/phpinfo.php
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

Yes, you have that command on.

Ahhh, sorry, NOW I know what is wrong even though I could have known from the beginning. Your PHP is version 4.1.2 (you told me, but I didn't put much attention to it) which is an old version from February 2002. LinkMan formally requires PHP version 4.3.x as older versions don't have all the functions LinkMan requires (for example file_get_contents()).

If you run the server you should install the latest stable version (4.3.11 at the moment) as it has more functions and many bugs fixed. If you don't run it you should contact your hosting company any ask them to update their PHP installation. They should do it for free (I wonder why they haven't already).

PHP 4.3.11 can be downloaded from:
http://www.php.net/downloads.php

Once you have PHP 4.3.x LinkMan should work without a problem, just make sure you keep the allow_url_fopen enabled.

Hope this helps.
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
Chad

wow, thanks

Post by Chad »

I also have this exact problem.

I am able to add links manually thru the admin, but the addlinks.php doesn't work because of this.

I just got off the phone with my hosting company, and the girl took down the suggestion but didn't say they'd upgrade.

~ anyway, I'm glad this post was here ... I was about to tear my hair out.

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

Post by Klemen »

Tell your hosting company that having such an old version is not secure and very lazy of them to say the least. They SHOULD update it without hesitating, if they don't I suggest you find a new host.
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