Still not getting any joy with version 2.0 using build 20071204.
I am using the following extensions -
Add Sitename (v.1.1.2) Checkbox (v.1.0.1) Edit Remember (v.1.1.0) Ctegory Checkboxes (v.1.1.2) Field Header (v.1.0.1) File (v.3.1.1) Multi Relationship (v.1.0.6) Multi Text (v.1.1.0)
I just get a big blank CP.
It seems that Nested Weblogs extension is quite dangerous to use.
After enabling it on EE v1.61 I got blank screen and could not log into Control panel anymore because system/index.php also produced only blank screen. Deleting extension’s files did not help - after deleting I got error message about those files missing. Fortunately I was trying extension on localhost, so I did not cripple any website.
The idea behind Nested Weblogs extension is sound and functionality is really needed, but in its current state it poses real danger for anyone who would like to try it.
If this extension is not dead, I will wait impatiently for any fixes.
I think I’ve tracked down the issue, and have a partial fix.
What I know: - This issue only started for me when upgrading to PHP5 - The div containing the publish tab is rendered very differently when you’re on the Publish page itself, versus any other CP page (there’s no id=”publish” and the rendering of the line-breaks are different) - The issue is most likely due to a REGEX in the extension - I know NOTHING regarding Regex syntax (makes me run screaming to the hills)
BUT… around line 200 in ext.nested_weblog.php is the following:
$out = preg_replace("/((?:class=.cpNavOn.|class=.cpNavOff.|id=.publish.).*?>.*?Publish.*?<\/div>)/s","$1".$ul, $out);
I believe that the problem is with the .).*?> , which PHP5 may be interpreting as the closing php tag. Or, it could just be that the linebreaks aren’t taken into account in the reg ex above. Lastly, it could also be that there is no ID field in the publish DIV, when you’re on the publish page.
Hopefully someone with more (or some) knowledge of regex can find a real fix, but in the meantime, I’ve changed the line to:
$out = preg_replace("/((?:class=.cpNavOn.|class=.cpNavOff.|id=.publish.)..>.*?Publish.*?<\/div>)/s","$1".$ul, $out);
This will disable the Publish rollover altogether once you click the publish tab, but it won’t tank your entire control panel (and isn’t such a bad usability issue, at least for my needs), and the rollover menu and extension function well everywhere else.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.