Solved

Free for all links

Posted on 1998-09-03
11
209 Views
Last Modified: 2013-12-25
I got a problem.
I have put together matt's script for free links.
Everything is working fine until i submit the link.
I'm being redirected to links.html page and i refresh but
nothing is displayed. I have chmoded links.pl 755 and
links.html 777. What is the problem ??
0
Comment
Question by:rogge
11 Comments
 
LVL 4

Expert Comment

by:martinag
ID: 1828501
How if you open links.html in Notepad/VI or any other text editor?
Does it contain anything?

How if you view the source in your browser?
Does it contain anything?

Could you point us to an URL?

Martin
0
 

Author Comment

by:rogge
ID: 1828502
Yes ..i checked ..  and it contained all the html tags. I even viewd it in cute ftp.
( I do not use Telnet.)
I  tryed a brand new links.html file from matt's .. my old one was slightly modifyed by me ..but it still didn't work.

Sorry i can not piont you to the url right now. I deleted the files but i will have them up and running again tonight.
Rogge
0
 
LVL 4

Expert Comment

by:martinag
ID: 1828503
>> nothing is displayed
Is _nothing_ displayed or is nothing from your new post displayed?

Anyway, I am suspecting that you are missing an ending </TABLE>
Go through links.html and count all the <TABLE> tags.
Then count all the </TABLE> tags.
If you have got less </TABLE> than <TABLE> that is why nothing shows up.

Martin
0
 

Author Comment

by:rogge
ID: 1828504
I have uploaded links.html again .. a brand new one .. and install it ..
I checked the database.txt after i have submited a link and it has recorded the sumiting ..
but still nothing in links.html
here is the URL., please check yourself.
http://oad.nu/myssilen/link/links.html
Can't it be that it only works in UNIX ??

Roger
 
0
 
LVL 4

Expert Comment

by:martinag
ID: 1828505
I tried adding my site and it was added to database.txt alright.

I have checked some "Free for all links" pages around the net and they all looks just like your.

Have you edited the script anything?

Martin
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 4

Expert Comment

by:martinag
ID: 1828506
About your UNIX/NT theory...The script can open database.txt so there should not be anything wrong with the system.

Martin
0
 

Author Comment

by:rogge
ID: 1828507
No ..haven't edit nothing .. either in the pl file or in the html file ..
Yesterday i was in Matt's suport area för Free links and i wasen't the only one with this
problem .. almost eveyone asked this questions ..

I tryed some diffrent approches to ..
chmoded all 777 .. i even chmoded the link cataloge ..
*humm*

Roger
0
 
LVL 4

Expert Comment

by:martinag
ID: 1828508
Do you use version 2.2 of the script?
All versions prior to 2.2 aren't NT-compatible.
(Look in your links.pl at the top row for the version number)

Martin
0
 
LVL 5

Expert Comment

by:b2pi
ID: 1828509
Are you by any chance behind a proxy server with a truly massive
cache? (hint, hint)
0
 

Expert Comment

by:CYO
ID: 1828510
did you chmod 777 the directory. I been on many serversand sometimes I have to chmod the directory that I want it to change trying chmod your http://oad.nu/myssilen/link/ directory
0
 
LVL 3

Accepted Solution

by:
johnpjohn earned 100 total points
ID: 1828511
U need to add this to the beginning of ur links page
This is because script is looking for a start point which is done by the below code. Do use  it and reply back of the same.
SELECT THE BELOW AND PASTE IT TO UR PAGE

<!--begin-->
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now