Hi GIJOE and happy New Year!
Am I the only one having problem with TinyD blocks resulting in "white pages"?
The problem occured after upgrading to 2.0.9.1 and then 2.0.9.2...
Normal customblocks in xoops works. Only problem with TinyD blocks.
Quote:
Fatal error: Call to a member function on a non-object in /hsphere/local/home/nroi-swe/nroi.se/modules/content/blocks/tinycontent_content.php on line 58
Notice [PHP]: unserialize(): Error at offset 0 of 4 bytes in file kernel/object.php line 342
Warning [PHP]: b_tinycontent_content_show(/hsphere/local/home/nroi-swe/nroi.se/modules/c/class/tinyd.textsanitizer.php): failed to open stream: No such file or directory in file modules/content/blocks/tinycontent_content.php line 45
Warning [PHP]: b_tinycontent_content_show(): Failed opening '/hsphere/local/home/nroi-swe/nroi.se/modules/c/class/tinyd.textsanitizer.php' for inclusion (include_path='.:/usr/local/lib/php') in file modules/content/blocks/tinycontent_content.php line 45
Warning [PHP]: b_tinycontent_content_show(/hsphere/local/home/nroi-swe/nroi.se/modules/c/include/render_function.inc.php): failed to open stream: No such file or directory in file modules/content/blocks/tinycontent_content.php line 46
Warning [PHP]: b_tinycontent_content_show(): Failed opening '/hsphere/local/home/nroi-swe/nroi.se/modules/c/include/render_function.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in file modules/content/blocks/tinycontent_content.php line 46
Warning [PHP]: b_tinycontent_content_show(/hsphere/local/home/nroi-swe/nroi.se/modules/c/language/english/main.php): failed to open stream: No such file or directory in file modules/content/blocks/tinycontent_content.php line 51
Warning [PHP]: b_tinycontent_content_show(): Failed opening '/hsphere/local/home/nroi-swe/nroi.se/modules/c/language/english/main.php' for inclusion (include_path='.:/usr/local/lib/php') in file modules/content/blocks/tinycontent_content.php line 51
Any ideas?
//Madsen
It is caused by a bug of 2.0.9 or 2.0.9.1
I heard from onokazu that the unfortunately duplicated blocks are eliminated by overwriting these recent files int 2.0.10-CVS.
class/xoopsblock.php
http://cvs.sourceforge.net/viewcvs.py/*checkout*/xoops/xoops2/class/xoopsblock.php?rev=1.19.20.2/modules/system/admin/blocksadmin/blocksadmin.php
http://cvs.sourceforge.net/viewcvs.py/*checkout*/xoops/xoops2/modules/system/admin/blocksadmin/bl...After this, update the modules.
hmmmm.....
I have tried the two files above whitout any susses.
It's not the problem with duplicated blocks.
The problem does not exist in 2.0.9.
Only in 2.0.9.2 i think.
I have a new installation with 2.0.9.2 and one installation of TinyD 2.01.
To get the error do this.
#1 - Create a new page(content) in TinyD.
#2 - Go to Blocks&Groups i Admin of TinyD.
#3 - Make the created page visible on start page as a block.
#4 - Go to startpage and look at the whitepage...and if I have php debug on it displays the text in my original post.
//Madsen