Page 1 of 2

addlink.php on Linkman

Posted: Thu Apr 03, 2008 5:45 am
by NYCDRAGON
Script URL:
Version of script:1.4
Hosting company:bluehost
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
I believe there's a problem with this file. if i log in to the Admin section, i can add a link no problem. However there's a problem in terms of adding the link directly from my website. i've checked the settings.php to see if the problem could be in there but nothing. it doesn't even give me an error message to reference to.

check it out:
www.starlifemedia.com/contact/links/

Posted: Thu Apr 03, 2008 4:00 pm
by Klemen
The issue is that you didn't upload the addlink.php file to you links directory, this file is missing:
http://www.starlifemedia.com/contact/links/addlink.php

Posted: Fri Apr 04, 2008 3:40 am
by NYCDRAGON
It's definitely there.... i guess my question is, do i need to alter that file or could this just be a wordpress issue?

Posted: Fri Apr 04, 2008 10:01 am
by Klemen
Well your server gives a 404 "Not found" error so it's either not there or something else (htaccess rewrite maybe?) is messing with it:
http://web-sniffer.net/?url=http%3A%2F% ... =GET&uak=0

How do you access your admin panel, at what URL?

Same problem - can't add a link

Posted: Sat Apr 05, 2008 3:47 am
by robb
I downloaded and installed the latest version (1.4) today, and I am having the same problem as nycdragon. I can add a link using the Admin section, but when I try to add a link using the links.php page, I get the following message: "Error Can't open remote URL!" The site is hosted on Godaddy.

Posted: Sat Apr 05, 2008 7:02 am
by Henrie
2robb

Have you searched the forum?
Have you checked these:
viewtopic.php?t=1113
viewtopic.php?t=55

Greetings,
Henrie

Posted: Tue Apr 08, 2008 2:21 am
by NYCDRAGON
i actually use bluehost Klemen

Posted: Tue Apr 08, 2008 10:59 am
by Klemen
How do you access your admin panel, at what URL?

Posted: Wed Apr 09, 2008 4:12 am
by NYCDRAGON
oh, u mean that admin panel - i posted the link below:

http://www.starlifemedia.com/linkman14/index.php

Posted: Wed Apr 09, 2008 11:30 am
by Klemen
Ok, now edit the <form> tag of your "add a link" form to post to http://www.starlifemedia.com/linkman14/addlink.php and it should work.

addlink.php issue in Linkman 1.5

Posted: Tue Apr 07, 2009 10:34 am
by onequickmemory
Script URL:
Version of script:1.5
Hosting company:dreamhost
URL of phpinfo.php:http://www.macgrecopa.com/phpinfo.php
URL of session_test.php:N/A
What terms did you try when SEARCHING for a solution:searched every thread of this forum related to addlink.php, dreamhost(that i am aware of), Googled it to death.

I have the same problem as NYCDRAGON, adds a link fine within admin; onsite there is a problem:
http://www.macgrecopa.com/linkman/links.php

It stops at a blank page - No email sent, no update within admin panel

I have also tried to reinstall a fresh file set of linkman 1.5 using the proper method as per README which I am quite familiar with at this point. Any help would be sincerely appreciated.

*Note when using FirePHP to debug within Firefox, the server is returning a reported 500 error after the form is submitted and the addlink.php page is accessed.

Thanks,
Jeremy

Posted: Tue Apr 07, 2009 2:29 pm
by Klemen
There's a problem with your addlink.php page. When accessed directly it should give an error like this:
http://www.phpjunkyard.com/linkman/addlink.php

but it's not working at all. Check if it exists on the server and that it is chmoded to 644 (rw-r--r--).

Still No luck

Posted: Tue Apr 07, 2009 2:55 pm
by onequickmemory
I tried in both Safari and Firefox to access the page directly- no luck in either case. CHMOD 644 is the setting on the file addlink.php which does exist on the server.

http://www.macgrecopa.com/linkman/addlink.php

Thanks for the quick reply.

Posted: Tue Apr 07, 2009 3:52 pm
by Klemen
I tried sending HTTP headers directly to the page and it actually returns an internal server error. You will need to check with your host (or if you have access to Apache error logs look inside there) why is this PHP file blocked with a 500 error.

Error logs

Posted: Wed Apr 08, 2009 10:53 am
by onequickmemory
In the Apache error log there is this:

[Tue Apr 07 18:43:54 2009] [error] [client 65.116.251.178] PHP Parse
error: syntax error, unexpected '}' in
/home/dawnw/macgrecopa.com/linkman/addlink.php on line 489

It just appears to be whitespace on line 489 within the script.

Any ideas?