Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Javascript Guestbook Help

Status
Not open for further replies.

JAJansenJr

Technical User
Jan 24, 2001
1
US
I recently helped a client recreate his web site on a new server from an old copy of the site I had on my computer, and now his javascript based guestbook is not working. I did some work scanning photographs and putting these up on new pages.

I know some javascript but do not see what may be keeping this guestbook from working.

Most likely, a page may be missing, in which case figuring out what to do will be tough. I suspect a page may be missing because some other pages in other parts of the site are missing. Getting the site pages from the previous server is not an option -- the reason for moving the site is that the previous server deleted the site entirely.

If I can't figure out how to repair this guestbook it will be necessary to reprogram an entirely new guestbook.

Any and all suggestions deeply and gratefully received.

If you cannot spot what the difficulty is but can recommend guestbook javascript code which would perform similarly to what is up that would be great.

The site is at and the links to the guestbook are on the home page.

JAJansenJr
JAJansenJr@MSN.COM
 
The only way I can see possible to have a guestbook is to use server side code to implement it. Javascript is a client side language for the most part (it can be used server side too). In order to store your guests you are also going to need database access to store information. To communicate with the database you will also need to use a server side language such as ASP or PHP. I guess what I'm saying is that it will be a little more complicated than "coding a javascript guestbook". Since you left your old server and are going to host the site on a new one, make sure the new site allows you to run server side scripts, otherwise you're outta luck (and coincidentally might be the reason it doesn't work anymore).

Provide a little more information about what languages you are using and what capabilities you have available to you (server side scripts, database access) and it will be easier for us to provide you with the answer.

-kaht

banghead.gif
 
The guestbook submits to an asp page. Have a look to see if that asp page is still there! Check the <form action="??"> tag to find the name and path to the page.

If that page is missing... then it's still possible to ressurect something (since the bulk of the solution seems fine and it's probably just the "insert into database" page that's missing -- and this is fixable given my understanding of the rest of the solution).

Let us know how you go.

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top