Page 1 of 2
My Linkman 1.5 is not updating newly submitted links???
Posted: Thu Apr 02, 2009 10:46 pm
by jessemullinax
Script URL:
http://www.2lbin.com/cgi-bin/linkman15/2lbinlinks.php
Version of script: 1.5
Hosting company: Experthost.com
URL of phpinfo.php:
http://www.2lbin.com/cgi-bin/linkman15/phpinfo.php
URL of session_test.php:
http://www.2lbin.com/cgi-bin/linkman15/session_test.php
What terms did you try when SEARCHING for a solution: updating links, links not working, links
Write your message below:
Everything is writable and ive checked to make sure setting is set up right but i must be missing something...
Anyone know why?
i get an email telling me someone submitted a link but when i log into the admin area, there is no sign of a link ever beening updated. i then have to manually add the copy.
Help purdy please
Jesse
Posted: Fri Apr 03, 2009 12:50 pm
by Klemen
Have you made any changes to the addlink.php file?
If not...
Are you on a Windows or Linux server (the phpinfo file you posted can't be found...)? It's a long shot but try installing LinkMan outside the cgi-bin folder, I've seen some hosts apply strange security policies to that folder.
what file are you talking about?
Posted: Fri Apr 03, 2009 9:57 pm
by jessemullinax
i dont see that file located in the most recent download of the linkman15
i just have
addlink.php
banned_websites.txt
footer.txt
form.html
go.php
img folder
index.php
linkinfo.txt
links.php
pagerank.php
readme.htm
settings.php
style.css
update.php
I have posted linkman15 outside the cgi-bin
Posted: Fri Apr 03, 2009 10:24 pm
by jessemullinax
Posted: Fri Apr 03, 2009 10:26 pm
by jessemullinax
I just got the email back from the support of my host. we have our own dedicated server and he said:
hello,
All permissions are setup correctly on the server. If you are getting any errors please send me exact URL and also steps showing how I can duplicate problem on our end.
If you have any questions, please feel free to get back to us.
Regards,
Monika
Ticket Details
===================
Ticket ID: TNF-691586
Department: Technical Support
Priority: Medium
Status: Closed
Posted: Sat Apr 04, 2009 9:19 am
by Klemen
That file can be found in the "READ THIS BEFORE POSTING A NEW QUESTION!!" thread.
Have you tried installing LinkMan outside the cgi-bin folder?
Posted: Mon Apr 06, 2009 3:28 pm
by jessemullinax
Yes here is the link to where the LinkMan15 is installed outside the cgi-bin
http://www.2lbin.com/linkman15/links.php
i tried to test it but i cannot figure out how to assimilate a linkback
Thanks,
Jesse
Posted: Tue Apr 07, 2009 2:31 pm
by Klemen
I was able to submit a test link using your website as the URL and reciprocal link URL.
Posted: Fri Apr 10, 2009 10:13 pm
by jessemullinax
Klemen, thanks so much for helping me and i saw u were able to post a test link however after implementing your linkman15 into my template by doing a server side php include on the link.php inside this template page i cant get a link to post again.
http://www.2lbin.com/linkman15/2lbinlinks.php
Perhaps this is the cause of my original problem.
What do you think?
Posted: Sat Apr 11, 2009 8:17 am
by Klemen
It's hard to troubleshoot without limited information and no access to the server/script. There are 2 things you can try:
1. if not already turn ON Debug mode in your settings, try submitting a link again and see if you get any new error messages
2. make a clean install of LinkMan in a test folder. Verify that it works 100% then make a small change, see if it works, another small change, see if it works, ... until LinkMan stops working. This way you will know what change breaks the code and stops posting links.
Posted: Wed Apr 15, 2009 8:26 pm
by Klemen
Jesse, I was able to troubleshoot a similar problem, try downloading the latest version (1.6) and see if it works for you then.
In installed Linkman16 and....
Posted: Fri Apr 17, 2009 7:10 pm
by jessemullinax
the 1st link works like a charm however the upon submitting the second link and after approvalthe link seems to be posted half way into the prior link. for example, here is the linkinfo.txt code after adding 2 links using the linkman in my website here:
http://www.2lbin.com/linkman16/2lbinlinks.php
http://www.2lbin.com/linkman16/linkinfo.txt
Thanks
Posted: Fri Apr 17, 2009 11:09 pm
by DC
Hi I too have been playing with the newer version ... I consider this problem a glitch as it seems some code is missing. We can let Klem tell us if im correct? but here what I feel fixes the problem, its funny because to recreate this problem I too set it to approve links and what I found is that its not writing our newlines, so thats why you have the err and thats why your file is all on one line this shouldn't be on one line so heres what i did ...
IMPORTANT: This problem has been fixed in v1.7
I took these lines from the prev version
if($settings['system'] == 2) {$newline="\r\n";}
elseif($settings['system'] == 3) {$newline="\r";}
else {$newline="\n";}
and I added them to the approve.php file as this controls how our nls are written to our txt file. ...
this is how I modified it.
right after the first exit()
add this
if($settings['system'] == 2) {$newline="\r\n";}
elseif($settings['system'] == 3) {$newline="\r";}
else {$newline="\n";}
then around line 116 and 124
I changed this line
fputs($fp,$replacement);
To this
fputs($fp,$replacement.$newline);
Then in settings.php
add this
// 1 = UNIX (Linux), 2 = Windows, 3 = Machintosh
$settings['system']=1;
now it should write the lines to the file correctly!
Klem can you address this problem? in my opin this should work
Let me know? feel free to edit my post to what you feel is the correct fix for this problem, if you have a better way or you feel this will not work correctly for some reason.
DC
Posted: Sat Apr 18, 2009 10:24 am
by Klemen
You're right, it is a bug (the newline gets trimmed in approve.php). I updated LinkMan to 1.7, see if it works fine for you now ($settings['system'] isn't being used anymore so I used a different approach).
Thanks for the heads-up!
Great Job!
Posted: Tue Apr 21, 2009 3:30 pm
by jessemullinax
Works better than ever! Great Job:)
http://www.2lbin.com/linkman17/2lbinlinks.php
After i get implemented fully in all the sites, do you have a link where i can send a donation for all the help?