Author |
Message |
13/06/2002 12:25:01
|
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/
|
|
13/06/2002 14:43:52
|
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)
|
|
13/06/2002 23:46:19
|
Anonymous
|
Thanks for that. i had set permissions correctly but it still will not add entries.
What do you think?
|
|
14/06/2002 02:58:43
|
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
|
|
14/06/2002 03:08:34
|
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..
|
|
14/06/2002 09:21:43
|
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.
???
|
|
14/06/2002 14:07:03
|
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
|
|
14/06/2002 15:58:01
|
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";
|
|
14/06/2002 16:38:21
|
Anonymous
|
thanks guys.
i'm giving up and finding a new host.
|
|
26/06/2002 02:01:13
|
Anonymous
|
Try using this mysql.hostname.com for your hostname.
ie mysql.whateveryoururlnameis
|
|
27/06/2002 22:52:51
|
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
|
|
|