1
memiek
Xoopspolls issue
  • 2008/8/28 11:53

  • memiek

  • Just popping in

  • Posts: 23

  • Since: 2008/8/12


Hi,

I'm using xoopspolls v1.1 and keep on having the same issue:
I start a poll, fill out everything than, when I want to submit it to be placed on the site I get the following error:

_XOBJ_ERR_SHORTERTHAN

I can't find what is going wrong and where it goes wrong. It seems that somewhere there is a definition about a length of something, but what and where? I don't use all the options available in the poll, just have 5 possibilities for users to choose from.

I'm using XOOPS 2.0.18.2, PHP 4.4.7 (my provider does not yet allow me to use PHP 5) and MySQL 5.0.24

If there's anyone that can help me, I really would appreciate it!

2
zyspec
Re: Xoopspolls issue
  • 2008/8/28 12:35

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


It appears there's really 2 problems here...

1) Apparently the text you're entering in the text box is too long. This error message is created by the textsanitizer in Xoops. You can see where it's failing in ./kernel/object.php. Try creating a poll with very short questions/answers as a test to see if this fixes your problem.

2) The error message you're seeing isn't defined in the XOOPS language files you're using. This term should be defined in the ./language/<your_language>/global.php. For example in the default ./language/english/global.php file you'll see a line like this:
define"_XOBJ_ERR_SHORTERTHAN""%s must be shorter than %d characters." );
This will give you a better understanding of what's failing.

3
memiek
Re: Xoopspolls issue
  • 2008/8/28 16:42

  • memiek

  • Just popping in

  • Posts: 23

  • Since: 2008/8/12


Thanks so much for the explanation! This did solve my problem.

Login

Who's Online

211 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 211


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits