1
Zorg44
[SOLVED] Wordbook : can't edit any definition
  • 2006/10/16 12:40

  • Zorg44

  • Just popping in

  • Posts: 16

  • Since: 2006/10/16


In wordbook 1.16 (couldn't make 1.17 beta work ...), I cannot edit any definition : always tells me "Impossible to update this entry", although I am logged as the webmaster.

Xoops in 2.0.15, french version, form.php updated (Cf. Dugris in frxoops.org), ...

Could anyone help ?
Thanx.

2
Mithrandir
Re: Wordbook : cant edit any definition

PHP and/or SQL debug information revealing any errors?
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

3
Zorg44
Re: Wordbook : cant edit any definition
  • 2006/10/16 13:32

  • Zorg44

  • Just popping in

  • Posts: 16

  • Since: 2006/10/16


The error reported is the following :

Use of undefined constant E_STRICT - assumed 'E_STRICT' in file /class/logger_render.php line 58

with the popup debug option, and with the other option,

Errors
Notice: Only variable references should be returned by reference in file /kernel/module.php line 124
Notice: Only variable references should be returned by reference in file /kernel/module.php line 124
Notice: Only variables should be assigned by reference in file /modules/smartsection/xoops_version.php line 581
Notice: Only variables should be assigned by reference in file /modules/catads/class/ads.php line 321
Notice: Only variable references should be returned by reference in file /kernel/module.php line 124
Notice: Use of undefined constant _MI_WB_FORM_DHTML - assumed '_MI_WB_FORM_DHTML' in file /modules/wordbook/xoops_version.php line 225
Notice: Use of undefined constant _MI_WB_FORM_COMPACT - assumed '_MI_WB_FORM_COMPACT' in file /modules/wordbook/xoops_version.php line 226
Notice: Use of undefined constant _MI_WB_FORM_SPAW - assumed '_MI_WB_FORM_SPAW' in file /modules/wordbook/xoops_version.php line 227
Notice: Use of undefined constant _MI_WB_FORM_HTMLAREA - assumed '_MI_WB_FORM_HTMLAREA' in file /modules/wordbook/xoops_version.php line 228
Notice: Use of undefined constant _MI_WB_FORM_KOIVI - assumed '_MI_WB_FORM_KOIVI' in file /modules/wordbook/xoops_version.php line 229
Notice: Use of undefined constant _MI_WB_FORM_FCK - assumed '_MI_WB_FORM_FCK' in file /modules/wordbook/xoops_version.php line 230
Notice: Use of undefined constant _MI_WB_FORM_INB - assumed '_MI_WB_FORM_INB' in file /modules/wordbook/xoops_version.php line 231
Notice: Use of undefined constant _MI_WB_FORM_TINE - assumed '_MI_WB_FORM_TINE' in file /modules/wordbook/xoops_version.php line 232
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in file /class/logger_render.php line 58

4
Mithrandir
Re: Wordbook : cant edit any definition

how about SQL debug?
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

5
Zorg44
Re: Wordbook : cant edit any definition
  • 2006/10/16 13:54

  • Zorg44

  • Just popping in

  • Posts: 16

  • Since: 2006/10/16


I can't find any sql debug anymore under 2.0.15 ... where has it disappeared ?

6
Mithrandir
Re: Wordbook : cant edit any definition

Using XOOPS 2.0.15, the debugs have merged with just one place for both PHP errors and MySQL information.

You should have something similar to this:

All errors (10) queries (15) blocks (4) extra (0) timers (6)

Where if you click on "queries" you'll get a list of queries.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

7
Zorg44
Re: Wordbook : cant edit any definition
  • 2006/10/16 14:27

  • Zorg44

  • Just popping in

  • Posts: 16

  • Since: 2006/10/16


And here it is :

UPDATE xoopsphoto_wbentries SET term = 'Yeux rouges', categoryID = '', init = 'Y', definition = 'Saisissez votre définition ici, s'il vous plaît.1', ref = '', url = '', uid = '1', submit = '0', datesub = '1161010194', html = '1', smiley = '1', xcodes = '1', breaks = '1', block = '0', offline = '0', notifypub = '0', request = '0' WHERE entryID = '32'
Error number: 1064
Error message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'il vous plaît.1', ref = '', url = '', uid = '1', submit = '0', datesub = '116101' at line 1

Any idea ??

8
Mithrandir
Re: Wordbook : cant edit any definition

Ahh, it seems that wordbook 1.16 has a nasty security hole, caused by the ' character.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

9
yerres
Re: Wordbook : cant edit any definition
  • 2006/10/16 18:12

  • yerres

  • Just popping in

  • Posts: 14

  • Since: 2006/9/1 7


Quote: "couldn't make 1.17 beta work"

How come ?
The debug info is from version 1.17 with some unassigned language constants.

Workarounds for the Bugged ' character have been posted here.

10
Zorg44
Re: Wordbook : cant edit any definition
  • 2006/10/16 19:35

  • Zorg44

  • Just popping in

  • Posts: 16

  • Since: 2006/10/16


Indeed, it worked !

THanx a lot for the support

Login

Who's Online

153 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 153


more...

Donat-O-Meter

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

Latest GitHub Commits