I don't know if it should have gone into a different issue section, but as it says it is a ctools function which has the problem

Im working with pannel module to make a new front page. During the process of creating a new pannel layout this error message appears.

Unable to complete operation. Fatal error in ../modules/ctools/includes/modal.inc on line 235: Call to undefined function ctools_ajax_render()

I have tried editing the file but with no luck.

Thank you in advance.

Comments

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

Can you explain precisely what you were doing to get this problem? It will be easier to debug if I can duplicate it.

samsath’s picture

I was going through this tutorial http://drupal.org/node/206792 and got to shage 19, once clicked on the regon settings the error message came up.

merlinofchaos’s picture

Hmm. I have never seen that happen in normal operations so I'm not sure what is wrong. That tutorial really looks like it needs some updating, though.

merlinofchaos’s picture

Status: Postponed (maintainer needs more info) » Fixed

Well. I don't know precisely why this occurred, but I just committed a fix to ensure the required file is always included when using that function, so updating to latest CVS (or latest -dev after the next one runs) should fix the issue as a temporary measure until 1.7 is released.

Status: Fixed » Closed (fixed)

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

alexrayu’s picture

Same here. CTools from 2011-01-01
Solution:
Call ajax include like this in a module using CTools:

ctools_include('ajax');