Hi Guys,

I'm getting stuck at applying/updating my section templates - not sure what is going on - I simply select:

Section Template
Content
Add Content

Then get the screen showing it's loading for a long time (let run for more than 1 hour - just to be sure).

Anyone know of any thing I can check to help debug?

Thanks!

Adam

Comments

mpotter’s picture

Have you added any new widgets/panes recently? Drupal is gathering all of the possible panes and then putting them into categories to display, so maybe if you have a custom content pane it has an error in it?

You can try bumping your PHP max memory. I have it set to 384M on my dev system (rather than the 256M default). Panelizer is definitely one of the UIs in the back end that needs lots of memory (Features is another).

But usually when an Ajax function like this never returns (and keeps the spinning animation) its because it got an error. The spinning thing is just an animated gif image that appears when a certain CSS class is added to an element. So if it never removes this class from the element the spinner will stay forever.

So also check your log files for any errors.

JKingsnorth’s picture

Status: Active » Postponed (maintainer needs more info)
Adam Fermier’s picture

Hey Thanks Potter!

I have checked my error logs - it is listing some files it is looking for that are not in the oa-radix them:

drupal: ~|page not found|~/profiles/openatrium/themes/oa_radix/assets/images/icon/icon-apps.png|~/sites/default/files/css/css_sxfJiMNt3I13ejTIq43pbsfHA_NVU7tjy9LhLvvWjIs.css|1||profiles/openatrium/themes/oa_radix/assets/images/icon/icon-apps.png
drupal: ~|page not found|~/profiles/openatrium/themes/oa_radix/assets/images/icon/icon-panopoly.png|~/sites/default/files/css/css_sxfJiMNt3I13ejTIq43pbsfHA_NVU7tjy9LhLvvWjIs.css|1||profiles/openatrium/themes/oa_radix/assets/images/icon/icon-panopoly.png

Indeed those files don't exist on the server - but I have checked my other site and it is running fine and does not have these files (e.g., profiles/openatrium/themes/oa_radix/assets/images/icon/icon-panopoly.png)

Not sure if this is related to the other issue here: https://www.drupal.org/node/2368523

We did bump memory - no avail :)

Thanks!

Adam

Adam Fermier’s picture

Also should note that when I go to add content in a page other than the template - it works fine.

JKingsnorth’s picture

Status: Postponed (maintainer needs more info) » Active

Setting the issue back active since more information has come back.

mpotter’s picture

Those file errors shouldn't be causing this.

A couple of things to try:

1) In the admin/panopoly/settings/panopoly_admin page, set the "Use Advanced Panel Plugins" to Disabled and then clear cache. Then see if you can Add content to your template.

2) Somewhat related, try installing the Token Tweaks module: https://www.drupal.org/project/token_tweaks and then go to admin/config/system/tokens and set the recursion depth to something smaller, like a value of 2. Then clear cache and try adding content again.

Adam Fermier’s picture

Hi Mike!

Thanks - Tried:
Option #1, all were already disabled
Option #2, installed module and set to value of 2 - same problems.

We are going to try a fresh install and migration of content (i.e., copy database) to new server - we'll let you know what results.

Thanks again for folks willingness to help!

Adam

Adam Fermier’s picture

Well we tried migrating the site putting us with a fresh install of OA - still having trouble - so the problem must be (as I think you were suspecting above) related to a record in the database. We did have a view/pane which we did delete around the time of this problem - that view/pane was in a template that we simply removed completely (i.e., we cloned a calendar view and had inserted the view - which we now deleted the view and section template).

Any other thoughts - would be good to see what the database is getting hung on - just not sure how to see that log.

Thanks!

Adam

mpotter’s picture

So, one more thing to try. Go into the Panopoly Magic settings here: admin/panopoly/settings/panopoly_magic

Set the "Live Preview" to Manual

Set the "Enable previews when adding panes" the Manual

Now go back to your section template and try to Add Content to the layout. The above options will prevent Panopoly from trying to render a preview of every widget. It's possible that there is a piece of content on your site causing the preview to get stuck to take a long time.

Once you get the list of widgets to add to the page, you should see a "Preview" link within each box. You can use this to manually load a preview of each widget if you wish to determine exactly which widget is causing the problem (although this could be tedious and take a while).

Adam Fermier’s picture

Shucks - that did not work! I did clear the cache and it still did not help.

JKingsnorth’s picture

Status: Active » Postponed (maintainer needs more info)

How are you getting on with this in the latest version of OA Adam?

Adam Fermier’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Hi Guys,

With the newer version and/or upgrade process the problem went away - thanks for your help and assistance!

Sincerely,

Adam