Difference between revisions of "Talk:WikiDB/Files/Hooks.php"
From TestWiki
< Talk:WikiDB | Files
(→Errors running WikiDB) |
|||
Line 20: | Line 20: | ||
: I removed the reference indicator & from all but the first two parameters of the function definition | : I removed the reference indicator & from all but the first two parameters of the function definition | ||
[[User:Gonesoft|Gonesoft]] 07:50, 13 November 2009 (GMT) | [[User:Gonesoft|Gonesoft]] 07:50, 13 November 2009 (GMT) | ||
+ | |||
+ | :: Hi Gonesoft. Are a file/line number for this error message reported? The fix you suggest would work fine for WikiDB, but the description of the bug implies a bug in either the core MW software, or the documentation at MediaWiki.org, so it would be good to have a bit more info in order to ensure it gets sorted out for other users. --[[User:HappyDog|HappyDog]] 21:12, 16 November 2009 (GMT) |
Revision as of 21:12, 16 November 2009
Errors running WikiDB
function wfWikiDB_ArticleSaveComplete
MediaWiki | Server OS | PHP | MySQL | WikiDB |
---|---|---|---|---|
1.15.1 | W2k3 Server en | 5.3.0 (apache2handler) | 5.1.37 | $Rev: 177 $ |
- Symptoms
- saving a page with a <data> tag shows an error
- "Warning: Parameter 3 to wfWikiDB_ArticleSaveComplete() expected to be a reference [...]"
- Solution
- I removed the reference indicator & from all but the first two parameters of the function definition
Gonesoft 07:50, 13 November 2009 (GMT)
- Hi Gonesoft. Are a file/line number for this error message reported? The fix you suggest would work fine for WikiDB, but the description of the bug implies a bug in either the core MW software, or the documentation at MediaWiki.org, so it would be good to have a bit more info in order to ensure it gets sorted out for other users. --HappyDog 21:12, 16 November 2009 (GMT)