I can't sign in my guestbook !

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
alhakeem2001
Posts: 5
Joined: Sun Sep 17, 2006 12:47 pm

I can't sign in my guestbook !

Post by alhakeem2001 »

I can't sign in my guestbook, it keeps ask me that I didn't fill in the name field ! while I did that already ! why ?

thanks.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello alhakeem2001,

Please post a link to your guestbook.
The information you have given is not enough to help you. Maybe when we can have a look at your guestbook we can help.

Greetings,
Henrie
alhakeem2001
Posts: 5
Joined: Sun Sep 17, 2006 12:47 pm

The link to my Guestbook

Post by alhakeem2001 »

Ok, this is the link to my Guestbook, I hope that will help :
note: the guestbook has been translated to Arabic.
http://www.muniralhakeem.com/Guestbook/gbook.php
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

hi alhakeem2001,

My first guess is that your problem is a result of your translation. I noticed that some of the input fields have new names. name is still called name, but from2 and email2 are not the standard names. And the textarea now has a name textarea while it should be named comments.
Unless you have renamed this everywhere in the script this renaming of the input and textarea names could be the problem.

Could you try with a standard (non transalated) guestbook to see if you get an error with a non edited guestbook?

Greetings,
Henrie
alhakeem2001
Posts: 5
Joined: Sun Sep 17, 2006 12:47 pm

Post by alhakeem2001 »

Can you please specify where exactly the error could be ? I mean if you write down the right code and I will compare it with mine !
Thank you very much.

Omar :roll:
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Please copy the original untranslated gbook.php file to your server (make a backup copy of the file you are now using or you will lose your translation).

Then test if you can post a message in your guestbook. If this works, then the problem must be in your translation, if not it is something else.

So please test this first.

Greetings,
Henrie
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Henrie is right, this must be an error you made while translating/customizing your GBook. You even changed field names in the sign form:

"from" > "from2"
"email" > "email2"
"comments" > "textarea" (!!??)

Who knows what other changes are inside your code?

Also you should download the latest version (1.43) from
http://www.phpjunkyard.com/php-guestbook-script.php

If you are not fluent in PHP/HTML you should install the ORIGINAL gbook.php then change a few lines, TEST, change a few more lines, test again, change some more and so on.
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
alhakeem2001
Posts: 5
Joined: Sun Sep 17, 2006 12:47 pm

Post by alhakeem2001 »

I think you are right ! I know now where the problem is.

Thanks :wink:
alhakeem2001
Posts: 5
Joined: Sun Sep 17, 2006 12:47 pm

Post by alhakeem2001 »

How can I set a password for the administrator to be able to delete/ modify entries.

Thanks,
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello alkaheem2001,

This is done in the settings.php file. Open it with a plain text editor like notepad and look for this

Code: Select all

/* Password for admin area */
$settings['apass']='admin';
Change admin to your desired password.

Greetings,
Henrie
Post Reply