The sample demo images (e.g. rotator images) are broken after installation of Open Public, everything else is OK. Can you help what might be the problem is? Thanks!

CommentFileSizeAuthor
Untitled.jpeg181.92 KBbmw1lgetu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bmw1lgetu created an issue. See original summary.

Marc DeLay’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

What errors are you seeing?
What url are the broken images trying to reach?

Broken image tags can have many many causes. What else can you tell us about your situation to help debug the issue?

TenaMurphy’s picture

I think I'm having the same problem. I followed these steps for the OpenPublic Home Page Feature app:

Disable Demo Content
Disable App
Enable App
Enable Demo Content

Now I get these errors on my home page:

Notice: Undefined variable: rotator_id in include() (line 12 of /home/daaop0/public_html/profiles/openpublic/modules/apps/openpublic_home_page_feature/theme/entity-boxes--feature.tpl.php).
Warning: Invalid argument supplied for foreach() in element_children() (line 6525 of /home/daaop0/public_html/includes/common.inc).

bmw1lgetu’s picture

anywone?

pkosenko’s picture

I notice that I get precisely these error messages when (1) I have the "OpenPublic Home Page Feature" App turned ON, but (2) I have the Demo data turned OFF. Once I configure the rotator with its own images (or demo images), the messages go away because there are actual rotator items (rotator_id) for Drupal to find. In other words, I think this is one of those edge cases that the programmers have just left open. They could have placed a message in the empty (bluish) rotator box ("Please add image content to your slide rotator or turn on Demo data") and written code to suppress the error messages.

Notice: Undefined variable: rotator_id in include() (line 12 of C:\ . . . \devdesktop\ejudicate-dev-copy\docroot\profiles\openpublic\modules\apps\openpublic_home_page_feature\theme\entity-boxes--feature.tpl.php).
Warning: Invalid argument supplied for foreach() in element_children() (line 6590 of C:\ . . . \devdesktop\ejudicate-dev-copy\docroot\includes\common.inc).