Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Broken PHP guestbook

$
0
0

I have a website which has PHP coded guestbook, and some days ago the guestbook "broke". I don't know anything about coding with PHP so I thought I might get some help here. The previous owner of the website made the guestbook from the code she got from a friend (who's not her friend anymore so she can't ask help from them).

 

Here's the guestbook with problem: http://uusilegenda.net/vieraskirja

 

As you can see, it's messed up with notices all over the place.

 

Notice: Use of undefined constant otsikko - assumed 'otsikko' in /var/www/virtual/uusilegenda.net/htdocs/vieraskirja/index.php on line 37

 

Notice: Use of undefined constant viesti - assumed 'viesti' in /var/www/virtual/uusilegenda.net/htdocs/vieraskirja/index.php on line 41 Notice: Use of undefined constant lahettajan_nimi - assumed 'lahettajan_nimi' in /var/www/virtual/uusilegenda.net/htdocs/vieraskirja/index.php on line 45

 

Notice: Use of undefined constant vastaus1 - assumed 'vastaus1' in /var/www/virtual/uusilegenda.net/htdocs/vieraskirja/index.php on line 56 Notice: Use of undefined constant vastaus2 - assumed 'vastaus2' in /var/www/virtual/uusilegenda.net/htdocs/vieraskirja/index.php on line 62

 

etc.

 

(otsikko = title, viesti = message, vastaus1 = reply1, vastaus2 = reply2. It's finnish.)

 

What should I do to fix this..?  :unsure:


Viewing all articles
Browse latest Browse all 13200

Trending Articles