Links Not showing

Problems installing LinkMan?
Post Reply
needhits
Posts: 7
Joined: Mon Mar 21, 2011 2:10 am

Links Not showing

Post by needhits »

Script URL: http://www.websitetrafficads.com/partners.php
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

I am adding links in admin area but links are not showing on page? Followed install instruction.

http://www.websitetrafficads.com/partners.php

or
http://www.websitetrafficads.com/links/links.php

NOT set to manual approval in settings also.

Any ideas?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Links Not showing

Post by Klemen »

Links aren't being added to your linkinfo.txt file, possibly because of server setup issues. If you posted the phpinfo.php file I could maybe say more, without it I have no clues.
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
needhits
Posts: 7
Joined: Mon Mar 21, 2011 2:10 am

Re: Links Not showing

Post by needhits »

Sorry taken so long.

The file is empty. Nothing in it.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Links Not showing

Post by Klemen »

Exactly what I meant.

To have an insight you will need to post a link to your "phpinfo.php" file, you candownload it in the "Read this before posting a question" topic:
viewtopic.php?f=12&t=80
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
DC
Posts: 138
Joined: Sun Dec 09, 2007 9:28 am

Re: Links Not showing

Post by DC »

Do you know if the script can open the file to write to it
some hosts do not allow fopen.

If it does not allow you to write to the file you can try my fix below.

in admin.php

Find this line ...
$html = @file_get_contents($recurl) or $html='NO';

comment that out and or replace with this line
$html = get_url($recurl) or $html='NO';


In addlink.php
You may also need to comment this out
$html = @file_get_contents($recurl);

and or replace with this.
$html = get_url($recurl);


Then add my func to the end of the admin and addlink.php script.
That should work.

//DC fopen mod ...
function get_url($url_data){
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url_data);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 10);
$get_data = curl_exec($ch);
curl_close($ch);
return $get_data;
}

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] ...
needhits
Posts: 7
Joined: Mon Mar 21, 2011 2:10 am

Links Not Showing

Post by needhits »

I can only add Featured links in my admin area. If I tray to add a regular link in the admin area it will not show on my links page:
http://www.seo-book.co/links/

I have added two none featured links in my admin and they are not showing. Any fix or what could I be doing wrong?

I also got a email notice that a person submitted a link to my program and it is not showing in the admin area?

Dave
steviem1
Posts: 2
Joined: Sat Apr 21, 2012 2:17 pm

Re: Links Not showing

Post by steviem1 »

I have exactly the same problem as needhits' above - I can only add links if they are featured, otherwise any other link added doesn't show. Did you get this resolved? If so, how did you do it?

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

Re: Links Not showing

Post by Klemen »

Have you been modifying any files?

Backup your existing files then see if a clean reinstall 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
steviem1
Posts: 2
Joined: Sat Apr 21, 2012 2:17 pm

Re: Links Not showing

Post by steviem1 »

thanks for replying, I was hoping there might be a simpler solution than to reinstall and configure it all again, but anyway thanks, I'll maybe do that
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Links Not showing

Post by Klemen »

Well if you haven't been modifying any of the files then reinstalling may not help.

What you can try instead is making a clean install in another (test) folder and see if that works well. If it does you will know the problem is with your existing installation and not a server-related issue.
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
needhits
Posts: 7
Joined: Mon Mar 21, 2011 2:10 am

Re: Links Not showing

Post by needhits »

I got the program to work. Can post non premium links now. I just 0777 everything. :D

I have used and donated for script before - I Love Your Scripts!!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Links Not showing

Post by Klemen »

No idea why setting all to 0777 would work, but I'm glad it does lol :lol:
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