Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#61 2008-06-08 13:39:25
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: [plugin] [ORPHAN] cnk_section_tree - subsection plugin
Adi, have you found this?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#62 2008-06-08 23:12:10
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: [plugin] [ORPHAN] cnk_section_tree - subsection plugin
Sorry, Adi, the link was the wrong one. Try this one
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#63 2008-06-09 00:55:52
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: [plugin] [ORPHAN] cnk_section_tree - subsection plugin
I’m getting the same blank page problem with cnk_section_tree AND sed_section_fields enabled (with rss_admin_show_adv_opts & rss_admin_db_manager switched off).
sed_section_fields, however, is fine with both (rss_admin_show_adv_opts AND rss_admin_db_manager).
I get this problem on both my local (Mac) environment and on the client’s web host.
The common thing here is cnk_section_tree. With my PHP upgrade, the php.ini file would’ve changed as well. I’ll do some digging to see if there’s anything there.
Adi
Offline
#64 2008-06-09 14:42:10
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: [plugin] [ORPHAN] cnk_section_tree - subsection plugin
Uli,
Thanks for the link. Admin-Diagnostics is clear. I’ve tried Safari & Firefox on Mac and IE6 on PC, so it’s not a browser problem. The only thing that’s changing is the PHP version. OK on my Mac running 4.4.4. Get the problem on my Mac running 5.2.4 and see it on the web host server running 5.2.5.
I’ve now duplicated the PHP settings between 4.4.4 and 5.2.4. Still get the problem.
I’ve disabled all plugins apart from cnk_section_tree & rss_admin_db_manager and I get the problem.
Anyone know how to persuade some error messages to be output? The blank page is blank, as in no HTML output. I’ve got PHP display_errors on but there’s nothing output.
Could the order in which the plugins were installed be a factor?
Adi
Offline
#65 2008-06-09 15:09:52
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: [plugin] [ORPHAN] cnk_section_tree - subsection plugin
he blank page is blank, as in no HTML output. I’ve got PHP display_errors on but there’s nothing output.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#66 2008-06-09 23:06:58
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: [plugin] [ORPHAN] cnk_section_tree - subsection plugin
Uli,
In the other thread you say “Seems to be caused by Zend. Turning it off did the trick. (MAMP -> Preferences -> PHP)”. I’m not using MAMP but can edit httpd.conf or php.ini easily. Which bit of Zend are you turning off?
If it’s the Zend Optimiser, I don’t think it’s running:
./php -v
PHP 5.2.4 (cli) (built: Aug 31 2007 23:57:08)
Copyright © 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright © 1998-2007 Zend Technologies
Adi
Offline
#67 2008-06-09 23:28:46
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: [plugin] [ORPHAN] cnk_section_tree - subsection plugin
Ask a MAMP user about php.ini details ;) The concerned prefs pane is named “PHP extensions” (translated from German) with a checkbox labelled “Zend Optimizer”. So I’d expect it to turn off the Zend extension completely.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#68 2008-06-10 06:01:06
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: [plugin] [ORPHAN] cnk_section_tree - subsection plugin
Such a change would not be possible on a web host’s server anyway, so it’s not really an option.
OK, here’s what I’ve done to get something working. Just to recap:- I need plugins rss_auto_excerpt, rss_admin_show_adv_opts & rss_admin_db_manager together with cnk_section_tree
- the problem is that when cnk_section_tree is enabled with any rss_ plugin, the edit article page is blank
- the workaround is to comment out this line in cnk_section_tree:
//register_callback(‘cnk_article_view’, ‘article’, ‘’, 1);
- it means that I get the standard section menu rather than the nice section tree version in the Article page but at least the section tree hierarchy is still implemented.
Just for the record, I tried sed_section_fields v0.1.85 and although I would love to have the functionality it didn’t work for me – the supposedly hidden custom fields were still shown on the Article form. Also, it only automatically expands the Advanced Options area. I want the More area visible all the time as well.
Shame I never got to the bottom of the original problem, but it’s time to move on.
Christian & Uli, thanks for your assistance.
Adi
Offline
#69 2008-06-10 08:23:08
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: [plugin] [ORPHAN] cnk_section_tree - subsection plugin
sed_section_fields v0.1.85
netcarver has published v0.3.138 (sed_plugin_library is necessary), hiding cf’s works perfectly for me.
I want the More area visible all the time as well.
I read between the lines that you’ve hacked rss_admin_show_adv_opts to keep “More” open all the time. Steve Lam has written a similar plugin, lam_show_recent_articles, perhaps you can you change it, too.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#70 2008-06-10 11:52:27
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: [plugin] [ORPHAN] cnk_section_tree - subsection plugin
Hi Christian,
netcarver has implemented in his v4 sed_section_field the possibility of hiding certain sections from the sections menu on the write tab. cnk_section_tree prevents this feature. Would you mind taking care of letting it create the menu as intended for the next update of cnk_st, please? :) Thanks!
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#71 2008-06-10 12:24:44
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: [plugin] [ORPHAN] cnk_section_tree - subsection plugin
netcarver has published v0.3.138 (sed_plugin_library is necessary), hiding cf’s works perfectly for me.
Yikes, I naively thought that the version listed on textpattern.org was the latest. I’ve sent a message to Steve to ask him to update the entry.
I read between the lines that you’ve hacked rss_admin_show_adv_opts to keep “More” open all the time.
rss_admin_show_adv_opts v0.3 does More and Advanced Options. No hacking required.
I’ll give the latest version of sed_section_fields a go.
Regards,
Adi
Offline
#72 2008-06-10 13:24:07
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: [plugin] [ORPHAN] cnk_section_tree - subsection plugin
Uli, Adi
FYI sed_section_fields v0.4 is a beta and only posted to it’s forum thread here.
— Steve
Offline