Closed (fixed)
Project:
SimpleWiki filter
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2011 at 14:30 UTC
Updated:
14 Sep 2011 at 09:41 UTC
Installed SimpleWiki in a fresh install of Drupal 7.7
Created a SimpleWiki text filter and created a new page.
When I save the page, no text appears in the body. All other filters work properly.
Also, the AutoTOC checkbox does not write a variable to the table when saved.
Thanks,
Wade
Comments
Comment #1
darrenmothersele commentedI have just committed a change to fix the autotoc variable not being saved. This is now saved in the filter settings.
I can not recreate the issue with the text not showing. Do you have any other filters defined on the text format? Does it return blank content for any value entered in the body?
Comment #2
hedroom commentedOnly the simplewiki filter is defined. No text is returned from the body of the page regardless of the markup.
Since install the latest version, I receive the following when going to the configuration page and check the TOC checkbox.
Notice: Undefined offset: 0 in SimpleWiki->auto_quicktoc() (line 563 of C:\Inetpub\d7\sites\all\modules\simplewiki\SimpleWiki.php).Notice: Undefined property: stdClass::$kind in SimpleWikiEmitter->emit_node() (line 1771 of C:\Inetpub\d7\sites\all\modules\simplewiki\SimpleWiki.php).Comment #3
darrenmothersele commentedThat PHP notice should go away after saving the variable the first time. I will fix the code to stop it happening for new users.
You're using a windows server? I've not tested that and don't plan to. There is not really any reason why the Drupal module would not work on IIS but perhaps the SimpleWiki library that is being used has compatibility issues. Could you try using the SimpleWiki library on it's own? Download from http://simplewiki.org/welcome if this works on it's own then that would isolate the issue to the module, but I think it's more likely it's the library.
Comment #4
hedroom commentedYes, you are correct...
I tested the latest simplewiki module and it does not work with IIS6 (on my server anyway)...
Thank you for the response.
Wade
Comment #5
darrenmothersele commented