If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
can't add entries to advanced guestbook  XML
Forum Index » Support Forum
Author Message
Anonymous



when adding an entry addentry.php refreshes to addentry.php with a blank form and does not add the entry to the dbase.

any ideas?

http://www.larmertree.co.uk/guestbook/
willk
Beginner

Joined: 11/05/2002 17:43:01
Messages: 21
Location: Cody, WY. USA
Offline

make sure these dirs have write permissions

- public - 777 (drwxrwxrwx) (directory)
- tmp - 777 (drwxrwxrwx) (directory)
[Email] [WWW]
Anonymous



Thanks for that. i had set permissions correctly but it still will not add entries.

What do you think?
willk
Beginner

Joined: 11/05/2002 17:43:01
Messages: 21
Location: Cody, WY. USA
Offline

does the admin function properly?

when you did the install.php and set your db info, did it take you to the admin section?
did all your changes "take?"

If you are sure about all that, it's always possible something go skewed during install.

I might try unzipping the compressed gbook in a new dir, so you know all that is undisturbed. Make sure the db, host and user and password are set in /admin/config.inc

That's what i would try
[Email] [WWW]
willk
Beginner

Joined: 11/05/2002 17:43:01
Messages: 21
Location: Cody, WY. USA
Offline

I just tried to post and lokked at your admin section...

I WOULD do the reinstall....

just a hunch..
[Email] [WWW]
Anonymous



thanks.

when i did install.php it just came up with a summary of the mysql tables that it had created.

this might be the problem:

in config.inc i am using $GB_DB["host"] = "ip number of mysql sever";

and not "localhost" because mysql runs on a different server.

This works as far as the script is able to auto-create the tables in mysql.

???
willk
Beginner

Joined: 11/05/2002 17:43:01
Messages: 21
Location: Cody, WY. USA
Offline

I don't think just the ip # is going to work.
for instance the name of my host is mysql.missoulaweb.com
while actual server address is http://www.missoulaweb.com.
talk to your sever people, find out what the actual name or path to the db is.

I am not sure if "localhost" will work either.

I am told in some configureations and servers this works fine, but the servers that I have used in the past using "local host in any cgi or php, etc.
it never has. I
[Email] [WWW]
Anonymous



Probably your mysql daemon don't use the default port 3306, so
$GB_DB["host"] = "ip number of mysql sever"; does not work.
Add the correct port to the ip adress.

e.g.

$GB_DB["host"] = "167.78.24.6:3340";
Anonymous



thanks guys.

i'm giving up and finding a new host.
Anonymous



Try using this mysql.hostname.com for your hostname.

ie mysql.whateveryoururlnameis
Anonymous



I think I might know... Mine was doing the same for a bit... Read this thread and see if it helps!!

http://www.proxy2.de/forum/viewtopic.php?p=1976#1976
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum