1.0 Version of module doesnt work properly with CCK. In content type settings when i check to Autmaticlly create new book root and then create content all the CCK field dont get properly saved...
1.3 gives white page on module enable, and on Auto create book main page...
Comments
Comment #1
MarcElbichon commentedCould you delete all lines in book_made_simple.module after last } (with ?> line) and retry ?
If it doesn't work, try to increase server's memory settings.
May be http://drupal.org/node/158043 problem.
Comment #2
nbchip commentedhm, im not too sure what u want me to delete (there are no closing php brackets ) i also deleted by reference sign & that was in front of &$form and others, but nothing helped...
Also there is no problem with memory, its on localhost with limit of 256mb
First i get white page, on refresh it works... so there is probably some whitespace issue
Comment #3
nbchip commentedthis is the error in drupal log
Cannot modify header information - headers already sent by (output started at D:\Program Files\xampp\htdocs\sites\all\modules\book_made_simple_5.x_1.0\BookMadeSimple\book_made_simple.module:142) in D:\Program Files\xampp\htdocs\includes\common.inc on line 314.Comment #4
MarcElbichon commentedCan you try with the last release ?
Comment #5
nbchip commentedIt is the last release , i just copied it in folder from previous... , u can see from path
\book_made_simple_5.x_1.0\BookMadeSimple\
Comment #6
MarcElbichon commentedSorry to be insistent but do you use 5.x-1.4 release ?
Comment #7
nbchip commentedSorry i just noticed the 1.4 version. now the module gets enabled fine. But still when i enable anything in CT settings, i get white page with form array printed and in that i see
node_type_form [book_made_simple_auto_main_page] => 1 [book_made_simple_add_types] => 0
And still the CCK fields dont get properly saved when creating Node of that CT
Comment #8
nbchip commentedHm, i renamed every occurrence of book_made_simple to xbook_made_simple so some of its functions get executed at the end of page submission proces... Now it works with CCK ! still i get White page on CT settings...
Comment #9
MarcElbichon commentedI'm confuse. I forgot to delete debug trace.
Can you delete line 87 in book_make_simple.module.
For CCK, you're right, weight of the module must be set to a high value.
To do this, you can update mysql table by running :
OR
Retrieve 1.5 release at http://code.google.com/p/mmr-drupal-modules/downloads/list.
Run update.php script to correct weight of module
Comment #10
nbchip commentedI was suprised to see that everything works fine , for now ;)
Good Work, and thx for fast responses!
One more thing, uninstall doesnt remove all references to book_made_simple in variables table, there are some left "book_made_simple_(content type name)", why is that?
Comment #11
MarcElbichon commentedRight.
This is corrected in the last release.
Thanks for your contribution.
Comment #12
MarcElbichon commentedComment #13
p_alexander commentedFYI, this change makes BookMadeSimple fire after the token module, which led to problems when using a token with Pathauto to create aliases for nodes. Changing the module weight to 1 seems to fix the issue, and content module is weighted at 0 so it should have the same affect there.
Comment #14
MarcElbichon commentedWith the lastest version from http://code.google.com/p/mmr-drupal-modules/downloads/list
and after running update.php , weight will be modified.
Comment #15
p_alexander commentedIt looks like it's still setting the weight to 10, which doesn't work with Pathauto. A setting of 1 should fix the CCK issue and still function when used in combination with Pathauto.
Comment #16
MarcElbichon commentedThis will work with pathauto but not with modules that name is alphabetically smaller than bookmadesimple.
So, i suggest you to change manually the weight of bookmadesimple.
Comment #17
scottrigby