My Linkman 1.5 is not updating newly submitted links???

Problems installing LinkMan?
jessemullinax
Posts: 23
Joined: Mon Jan 19, 2009 6:00 pm

My Linkman 1.5 is not updating newly submitted links???

Post 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
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
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
jessemullinax
Posts: 23
Joined: Mon Jan 19, 2009 6:00 pm

what file are you talking about?

Post 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
jessemullinax
Posts: 23
Joined: Mon Jan 19, 2009 6:00 pm

I have posted linkman15 outside the cgi-bin

Post by jessemullinax »

does this help?

http://www.2lbin.com/linkman15/links.php


Thanks,

Jesse
jessemullinax
Posts: 23
Joined: Mon Jan 19, 2009 6:00 pm

Post 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
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post 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?
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
jessemullinax
Posts: 23
Joined: Mon Jan 19, 2009 6:00 pm

Post 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
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I was able to submit a test link using your website as the URL and reciprocal link URL.
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
jessemullinax
Posts: 23
Joined: Mon Jan 19, 2009 6:00 pm

Post 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?
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
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
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
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
jessemullinax
Posts: 23
Joined: Mon Jan 19, 2009 6:00 pm

In installed Linkman16 and....

Post 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
DC
Posts: 138
Joined: Sun Dec 09, 2007 9:28 am

Post 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
Last edited by DC on Sun Apr 19, 2009 3:26 pm, edited 2 times 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] ...
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post 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!
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
jessemullinax
Posts: 23
Joined: Mon Jan 19, 2009 6:00 pm

Great Job!

Post 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?
Post Reply