Page 1 of 1
Links Not showing
Posted: Thu Jun 02, 2011 3:52 am
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?
Re: Links Not showing
Posted: Sat Jun 04, 2011 11:28 am
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.
Re: Links Not showing
Posted: Mon Jun 13, 2011 10:32 am
by needhits
Sorry taken so long.
The file is empty. Nothing in it.
Re: Links Not showing
Posted: Tue Jun 14, 2011 7:01 pm
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
Re: Links Not showing
Posted: Tue Jun 28, 2011 12:54 am
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
Links Not Showing
Posted: Wed Apr 11, 2012 1:05 am
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
Re: Links Not showing
Posted: Sat Apr 21, 2012 2:27 pm
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
Re: Links Not showing
Posted: Sun Apr 22, 2012 11:31 am
by Klemen
Have you been modifying any files?
Backup your existing files then see if a clean reinstall helps.
Re: Links Not showing
Posted: Sun Apr 22, 2012 2:45 pm
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
Re: Links Not showing
Posted: Sun Apr 22, 2012 3:07 pm
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.
Re: Links Not showing
Posted: Thu Apr 26, 2012 11:50 am
by needhits
I got the program to work. Can post non premium links now. I just 0777 everything.
I have used and donated for script before - I Love Your Scripts!!
Re: Links Not showing
Posted: Thu Apr 26, 2012 6:01 pm
by Klemen
No idea why setting all to 0777 would work, but I'm glad it does lol
