Hi thanks for this cool module. It is coming in handy for my, if only I can get the sidecontent to show for anonymous users, especially once I clear the cache, the whole thing disappears and only admin can see content. I try to update and i get the error below

require_once(database/updates.inc) [function.require-once]: failed to open stream: No such file or directory in /public_html/sites/default/modules/sidecontent/sidecontent.install on line 97.

Comments

robert castelo’s picture

In Administer > User management > Permisions

Have you enabled 'access side content' for authenticated users?

robert castelo’s picture

Status: Active » Fixed

Feel welcome to re-open this issue, but I think it was just a settings error.

asb’s picture

Version: 6.x-1.0-beta1 » 6.x-2.0-rc1
Status: Fixed » Active

Hi,

we're experiencing the same problem with 6.x-2.0-rc1.

Configuration:

* /admin/user/permissions - "access side content" - checked for all roles; "create side content" - checked for some roles
* /admin/build/block/configure/sidecontent/0 - visible for all roles on all pages

Greetings, -asb

joserey’s picture

You may need to clear away the cache: administer > site configuration > performance, scroll down the page and CLEAR CHACHED DATA :-)

asb’s picture

No, in our setup it was definitely no caching issue; however, we're not using the module (because of this issue) anymore.

Greetings, -asb

robert castelo’s picture

"I try to update and i get the error below"

Try to update the module or a node?

Need more info to try and replicate this bug. Anyone else having the same problem?

jim kirkpatrick’s picture

Title: sidecontent disappears for anonymous users » Side Content display problems for anonymous users when block cache enabled
Issue tags: +block caching

This is happening to me too, except the issue is that when Side Content is enabled for one node, it appears on all nodes for anonymous users.

After a bit of tweaking I found that clearing the caches fixed it briefly, but disabling the Block Cache in 'Site configuration' -> 'Performance appears to have fixed the problem.

Can anyone else confirm this is the case?

KathyIce’s picture

yes... I'm having the problem noted in #7

alperian’s picture

Title: Side Content display problems for anonymous users when block cache enabled » Side Content not available for book page

I hope that it is a trivial matter, but the create side content menu appears when I create a new page or story. I have no joy when I try the same thing with a book page. This is a shame, because I have set up a whole book structure based on the expectation that this would work.

Are there any suggestions, because the documentation for the module on this site is a bad link and the readme file (yes, I have actually read it) is no help either?

alperian’s picture

Category: bug » feature
jim kirkpatrick’s picture

Title: Side Content not available for book page » Side Content display problems for anonymous users when block cache enabled
Category: feature » bug

@Alperian: Please do not hijack existing bugs - start a new one specific to your issue if nothing in the issue queue matches your needs. This bug is about block caching and Side Content, not Books. Thanks.

tbcorb’s picture

I experience the same block caching problem as noted in #7 and the only fix is to disable the Block Cache.

kushkkg’s picture

Thanks for the soultion.
It works when i change user permissions!

robert castelo’s picture

Version: 6.x-2.0-rc1 » 6.x-2.1
Status: Active » Fixed

If no block is displaying it will almost certainly be that permissions needs to be set for Anonymous users to access the SideContent block.

I couldn't reproduce the Block Cache issue on the 6.x-2.1 release.

robert castelo’s picture

Status: Fixed » Active

Ah, spoke too soon, I can reproduce the Block Cache issue on the 6.x-2.1 release.

Will look into it.

robert castelo’s picture

Status: Active » Fixed

Fixed in 6.x-2.2 release.

SideContent block now caches per page.

NOTE: you'll need to go to /update.php to run the database update for this to take effect.

Status: Fixed » Closed (fixed)
Issue tags: -block caching

Automatically closed -- issue fixed for 2 weeks with no activity.