Author |
Message |
04/02/2006 10:24:28
|
shorty
Beginner
Joined: 04/02/2006 03:08:22
Messages: 10
Offline
|
Where do I find the code to change where my 'Submit' button points to?
Thank you.
|
|
05/02/2006 08:05:23
|
shorty
Beginner
Joined: 04/02/2006 03:08:22
Messages: 10
Offline
|
When I click the Submit button I get an error msg that /Guestbook/gbook.php cannot be found on my server.
My 'guestbook' is under the directory /ledger and Ive been all thru the files on the server and no gbook.php anywhere.
Where do I go to change this please?
|
|
05/02/2006 16:55:59
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Whats the address of your guestbook ?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
05/02/2006 22:08:50
|
shorty
Beginner
Joined: 04/02/2006 03:08:22
Messages: 10
Offline
|
Carbonize wrote:Whats the address of your guestbook ?
Thank you Carbonize.
|
|
05/02/2006 22:11:34
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
The problem is it is trying to submit to /GuestBook/gbook.php?agbook=addentry for some reason. What changes did you make and to what files?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
05/02/2006 22:29:38
|
shorty
Beginner
Joined: 04/02/2006 03:08:22
Messages: 10
Offline
|
Carbonize wrote:The problem is it is trying to submit to /GuestBook/gbook.php?agbook=addentry for some reason. What changes did you make and to what files?
Ugh. Changes? hehe. Well what I did was this....Since I wanted to incorporate the GB into my current design I tried the advice from one of your tutorials but when I c&p'd the information nothing showed up at all. So I kinda copied someones source code...the bee farmer guy here on the forums...and Im sure thats where I went wrong. But everything showed up perfectly except for this one glitch.
If I can only change where my Submit button takes a person to I can continue on. (At least till I get stuck again. hehe)
Im more of an artist than a tech person so all this code stuff is making me dizzy. Be kind please.
|
|
05/02/2006 22:42:15
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
The form submit is the action=" part of the form tag. It can be found in form.php
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
06/02/2006 00:04:08
|
shorty
Beginner
Joined: 04/02/2006 03:08:22
Messages: 10
Offline
|
Ok, I was able to fix where it points to but there isnt a gbook.php on my server so I get this msg now:The requested URL /ledger/gbook.php was not found on this server.
Am I supposed to make this file myself, or where can I find it?
Thanx again.
|
|
06/02/2006 00:25:37
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
it should be addentry.php that the form points to.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
06/02/2006 01:42:58
|
shorty
Beginner
Joined: 04/02/2006 03:08:22
Messages: 10
Offline
|
Im closer....it does take me there now but I also get this new error msg:
One of the input fields does not seem to be valid.
How should this code go? This is how it looks on my page:
<form method="post" action="/ledger[addentry]" name="book" enctype="multipart/form-data" onSubmit="return checkForm()">
And this is what it looks like in form.php:
<form method="post" action="$GB_PG[addentry]" name="book" enctype="multipart/form-data" onsubmit="return checkForm()">
If its not this code, then how do I know what input field is invalid and how do I fix it?
Sorry its taking me so long to get this right. Once this is up and running Im not laying a finger on it! hehe
|
|
06/02/2006 01:54:14
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Do a search for "one of the input fields" etc. I have talked about getting round it before in these forums, or update to 2.3.4.
As for the form tag make it action="addentry.php"
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
06/02/2006 04:32:46
|
shorty
Beginner
Joined: 04/02/2006 03:08:22
Messages: 10
Offline
|
Well I did what you said and I searched for input fields, invalid input fields, and input fields are not valid. I waded through 335 matches but of all the ones that had the same problem as I do they didnt find any help other than to upgrade to 2.3.4. I checked and I have v2.3.4 so I figured the best thing to do was start from scratch. I wiped out my index.php, built up my html again, put the code from form.php into a table in the center and still when I test the guestbook with an entry I get:
One of the input fields does not seem to be valid.
My 'input fields' code is exactly as it was on form.php....so where did I go wrong and how do I fix it?
|
|
06/02/2006 04:35:49
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
http://proxy2.de/forum/viewtopic.php?t=4881&highlight=input+fields+valid
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
06/02/2006 06:36:08
|
shorty
Beginner
Joined: 04/02/2006 03:08:22
Messages: 10
Offline
|
Still not working. I went to that thread and replaced the 'hash' code to nohash, and even re-entered the other code you placed there..
<form method="post" action="$GB_PG[addentry]" name="book" enctype="multipart/form-data" onsubmit="return checkForm()">
<input type="hidden" name="gb_hash" value="$VARS[gbhash]"> and still I get the same error.
Any other suggestions?
|
|
06/02/2006 06:40:02
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
You could try Lazarus
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
|