Page 1 of 1
What is PageBlocks module and what it does?
Posted: Thu Feb 15, 2007 10:51 am
by askme
Hi all
I downloaded and Installed PageBlocks module, I read the help file, try on my CMSMS, but I did not see any output. What this module exactly do? Do any one has live example on their site. Thanks
Re: What is PageBlocks module and what it does?
Posted: Thu Feb 15, 2007 12:16 pm
by peugeot-304
Same with me.
Got the following message in IE when trying to set it up in Content-->Page Blocks:
Line: 56
Char: 3
Error: Object required
Code:0
URL:
http://localhost/dieter/moduleinterface ... PageBlocks
using CMS Maui on a local server PHP 5.1.2
Dieter
Re: What is PageBlocks module and what it does?
Posted: Sat Feb 17, 2007 4:23 am
by Elijah Lofgren
askme wrote:
Hi all
I downloaded and Installed PageBlocks module, I read the help file, try on my CMSMS, but I did not see any output. What this module exactly do? Do any one has live example on their site. Thanks
Here is some screenshots:
http://wiki.cmsmadesimple.org/index.php ... age_Blocks
Live example:
http://www.elijahlofgren.com/linux/ubuntu/
You need to go to "Content -> Page Blocks" to attach a blog to a page in order for it to output anything.
Hope this helps,
Elijah
Re: What is PageBlocks module and what it does?
Posted: Sat Feb 17, 2007 4:27 am
by Elijah Lofgren
peugeot-304 wrote:
Same with me.
Got the following message in IE when trying to set it up in Content-->Page Blocks:
Line: 56
Char: 3
Error: Object required
Code:0
URL:
http://localhost/dieter/moduleinterface ... PageBlocks
using CMS Maui on a local server PHP 5.1.2
Dieter
Strange. It works fine here in IE 7 and Firefox 2.
What browser are you using?
Re: What is PageBlocks module and what it does?
Posted: Sat Feb 17, 2007 6:23 pm
by peugeot-304
Hi Elijah
I'm using IE7. Happend also in IE6 (I think, that was at work)
See screenshot
In all browser Tab's: Blocks Templates and Optins in Back End don't work. Permissions are set correctly.
Any idea?
Dieter
[gelöscht durch Administrator]
Re: What is PageBlocks module and what it does?
Posted: Sat Feb 17, 2007 7:42 pm
by Elijah Lofgren
peugeot-304 wrote:
Hi Elijah
I'm using IE7. Happend also in IE6 (I think, that was at work)
See screenshot
In all browser Tab's: Blocks Templates and Optins in Back End don't work. Permissions are set correctly.
Any idea?
Dieter
I've run into problems with PageBlocks on some CMSMS installs. It's strange. I think it has something to do with the database setup.
I've filed a bug and sometime I'll hopefully get around to fixing it (maybe Spring break):
Sorry it's not working for you,
Elijah
Re: What is PageBlocks module and what it does?
Posted: Wed Feb 28, 2007 11:06 pm
by dpardons
Hi
Same problem as peugeot-304 but I can provide extra info:
Server localhost windows XP-pro
Apache 2.0.59
PHP 4.4.4
Mysql server 5.0.24a
Using Zend debugger, the error at the origin of the IE popup is:
Debug Error: C:\apache\htdocs\cmsms\modules\PageBlocks\PageBlocks.module.php line 254 - Call to a member function on a non-object
The module is not working also on Firefox 2.0.
Hope this will help.
Daniel
Re: What is PageBlocks module and what it does?
Posted: Fri Mar 02, 2007 5:55 am
by Elijah Lofgren
dpardons wrote:
Hi
Same problem as peugeot-304 but I can provide extra info:
Server localhost windows XP-pro
Apache 2.0.59
PHP 4.4.4
Mysql server 5.0.24a
Using Zend debugger, the error at the origin of the IE popup is:
Debug Error: C:\apache\htdocs\cmsms\modules\PageBlocks\PageBlocks.module.php line 254 - Call to a member function on a non-object
The module is not working also on Firefox 2.0.
Hope this will help.
Daniel
I'm pretty sure that this problem occurs with specific page hierarchies.
It would help me track down things, if you could send me a database dump of your CMSMS install. You can use phpMyAdmin to get a zipped export or try out this script:
http://forum.cmsmadesimple.org/index.ph ... 472.0.html
Your DB would basically contain all your pages, templates, content etc, it would also contain encrypted forms of your Admin password (but not your DB password). If you a comfortable with sending it to me, I'd appreciate it as I try to track down and fix this bug. If not, I'll hopefully track it down over Spring break.
Thanks,
Elijah
Re: What is PageBlocks module and what it does?
Posted: Fri Mar 02, 2007 9:21 am
by dpardons
Hi Elijah
Thanks for your support.
In appendix, part 1 of the CMS DB exported with phpmyadmin (.txt file to be renamed as .sql).
Daniel
Re: What is PageBlocks module and what it does?
Posted: Fri Mar 02, 2007 9:22 am
by dpardons
Hi Elijah
Part 2 of DB
Daniel
Re: What is PageBlocks module and what it does?
Posted: Fri Mar 02, 2007 2:48 pm
by Elijah Lofgren
Thanks!
Hopefully I'll make/find time to work on this this weekend. If not, when I hopefully work on it during spring break, it should go faster.
- Elijah
Re: What is PageBlocks module and what it does?
Posted: Thu Mar 29, 2007 3:52 pm
by lainyrache
Hi Elijah I get this error when I log into admin as an editor ( permissions are set to add pages, remove pages only )
However when I log in as administrator (all permissions ticked) everything is fine.
A Group/user permissions problem......maybe
Re: What is PageBlocks module and what it does?
Posted: Thu Mar 29, 2007 8:19 pm
by Elijah Lofgren
lainyrache wrote:
Hi Elijah I get this error when I log into admin as an editor ( permissions are set to add pages, remove pages only )
However when I log in as administrator (all permissions ticked) everything is fine.
A Group/user permissions problem......maybe
Wow, you may be on to something!

:: tests this out... ::
Edit: that doesn't seem to be it. Trying with the DB that Daniel sent me.
Re: What is PageBlocks module and what it does?
Posted: Thu Mar 29, 2007 9:27 pm
by Elijah Lofgren
Elijah Lofgren wrote:
lainyrache wrote:
Hi Elijah I get this error when I log into admin as an editor ( permissions are set to add pages, remove pages only )
However when I log in as administrator (all permissions ticked) everything is fine.
A Group/user permissions problem......maybe
Wow, you may be on to something!

:: tests this out... ::
Edit: that doesn't seem to be it. Trying with the DB that Daniel sent me.
Aha, Now I have the error
Notice: Trying to get property of non-object in /var/www/cmsmadesimple/modules/PageBlocks/PageBlocks.module.php on line 241
Fatal error: Call to a member function Hierarchy() on a non-object in /var/www/cmsmadesimple/modules/PageBlocks/PageBlocks.module.php on line 259
Now I just need to find out how to fix it.

Re: What is PageBlocks module and what it does?
Posted: Thu Mar 29, 2007 9:51 pm
by Elijah Lofgren
Hmm.. I thought I'd fixed it, but no. Still Errors. I think I want to just work on moving PageBlocks to a Content Type so that it will not need to show it's own list of pages and thus not have these problems. I can't work on that now though. I have to do homework that's due tomorrow.
Later,
Elijah