Closed (won't fix)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2010 at 23:19 UTC
Updated:
10 Sep 2010 at 22:15 UTC
hey
got this php erro after installing:
Fatal error: require_once() [/libraries/deployed/php_manual_en/function.require.html]: Failed opening required '/xxxxxxx/pub/sites/all/modules/development/ctools/includes/utility.inc' (include_path='.:/usr/local/php5/lib/php') in /xxxxxx/drupal/modules/development/ctools/ctools.module on line 111
please replace all require, require_once, include and include_once in the php scripts with the appropriate drupal function - module_load_include
http://api.drupal.org/api/function/module_load_include/6
Comments
Comment #1
jennycita commentedGetting this error as well... subscribing.
Edit: Actually, looks like #906656: utility.inc: Add to D7 branch addresses this.
Comment #2
merlinofchaos commentedWow. So so very wrong. Given the wrongness of this statement I'm not even going to read the rest. Please look up ctools_include() which is a much more friendly function than module_load_include().
But more importantly, please never make demands in an issue queue without having some idea what you're talking about. Thanks.
Comment #3
lpalgarvio commentedgive my limited knowledge, i assumed module_load_include was the only function around for this type of functionality.
i've seen modules in the past (i think links was one of them) that loaded included files through require_once - when i saw the error, i assumed this was the case as well.
weather or not ctools performs better than drupal function... i don't know.
i'm only stating the fact that it isn't working on my setup and asked with a "please" to replace it with a working solution (without prior knowledge of ctools function); i didn't demanded anything.
sorry if you misunderstood, but the fact still remains - it isn't working in D7.
Comment #4
merlinofchaos commentedOf course it's not working in D7. CTools has not yet been successfully ported to D7. That's why it isn't listed on the project page. The fact that it's not listed or talked about on the project page is supposed to be an indicator that you should only be using the -dev version if you're actively helping with the porting effort.
The actual error you report? That's already in the queue. With a patch.
Comment #5
lpalgarvio commentedi am aware it is a dev version that isn't posted on the project page.
i didn't found a bug on the issue queue (which apparently exists, sorry) related to this so that is why i posted it, to help development.
again, sorry