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 
One of the input fields does not seem to be valid  XML
Forum Index » Advanced Guestbook Forum
Author Message
Cartesius
Beginner

Joined: 16/07/2005 19:35:23
Messages: 8
Offline

OK, I have spent all day trying to fix my guestbook after upgrading (via cPanel) to AG 2.3.3-1, but now I've stumbled upon an error I don't know how to handle: Every time I try to post an entry I get the dreaded "One of the input fields does not seem to be valid" error messages. I have set the min/max message length in the admin panel to 6/500 but I still get the error.

Another strange thing is that I can't put more than 30 characters in the e-mail field which means that most addresses will get chopped.

The guestbook can be found at http://www.cartesiuscreations.com/forum/index.php

Any help is highly appreciated!

/Anders
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Would it be possible for me to have access to the admin section of your guestbook?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Cartesius
Beginner

Joined: 16/07/2005 19:35:23
Messages: 8
Offline

Carbonize wrote:Would it be possible for me to have access to the admin section of your guestbook?


Of course, I've PM:ed you login and pass.

Thanks!

/Anders
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

When you updated to 2.3.3 from 2.3.1 you did not change ALL the files. You should of replaced ALL the files EXCEPT admin/config.inc.php. The problem lies in the new hash that he has added as a minor anti spam method (that only stops some of the spam). The problem lies in form.php and addentry.php.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Cartesius
Beginner

Joined: 16/07/2005 19:35:23
Messages: 8
Offline

Aha, I see. When I updated I did so via my ISP's cPanel but the upgrade didn't bite as some of the files got the appendix *.up. At first the guestbook didn't even load but once I had replaced the offending files it appeared to be working. Until I tried to post an entry that is.

Can I just download the latest version of AG from here and replace all files except admin/config.inc.php?

/Anders
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Yup

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Cartesius
Beginner

Joined: 16/07/2005 19:35:23
Messages: 8
Offline

Thanks, it worked! The guestbook is now functioning again, but there's still a 30 character limit in the e-mail field (my regular e-mail address is 32 characters) . Any ideas why this limit?

Thanks again!

/Anders
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Nope. Was one of the few things I changed in the database along with the length of the guests useragent. if you have phpMyAdmin you can change it in there.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Cartesius
Beginner

Joined: 16/07/2005 19:35:23
Messages: 8
Offline

OK, I have phpMyAdmin but I haven't a clue as to where or what to change

/Anders
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

you'd need to look in the table called book_pics for th appropriate entry.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Cartesius
Beginner

Joined: 16/07/2005 19:35:23
Messages: 8
Offline

That looks scary... Mind you, I'm a total newbie when it comes to stuff like this

you'd need to look in the table called book_pics for th appropriate entry


http://www.cartesiuscreations.com/book_pics.png

I've attached a link to a screen grab of phpMyAdmin - is it the "width" one I should change? The value there is 11.

Sorry to bother you like this but I really appreciate your help!

/Anders
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Click on Visa (I assume that means browse) and this will show you all the entries in that table. You then need to find the one who's msg_id matches that of the post the image is with.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Cartesius
Beginner

Joined: 16/07/2005 19:35:23
Messages: 8
Offline

Sorry for not replying earlier but I got sidetracked...

Anyway, no matter how much I look I can't find anything in book_pics for controlling the length of e-mail address field.

You then need to find the one who's msg_id matches that of the post the image is with.


Sorry, you lost me completely there. (There's an image I need to change?)

/Anders
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

No that was to do with properly removing uploaded pictures. The length of the email address is controlled via the html. Look in form.php for name="gb_email" and in that tag you will see an attribute that says maxlength="30". Just change that to 45.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Cartesius
Beginner

Joined: 16/07/2005 19:35:23
Messages: 8
Offline

Yes, that was it! Many thanks!

/Anders
 
Forum Index » Advanced Guestbook Forum
Go to:   
Based on the open source JForum