Closed (fixed)
Project:
OpenScholar
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2010 at 14:58 UTC
Updated:
4 Oct 2011 at 21:58 UTC
I am getting the following error when I try to install open scholar:
Fatal error: Call to undefined function install_include() in /home1/thebleyt/public_html/strivingfarmer/profiles/openscholar/openscholar.profile on line 233
It comes during the 'profile' section of the install after configuring the database.
Any suggestions on a fix?
| Comment | File | Size | Author |
|---|---|---|---|
| error.jpg | 220.23 KB | stbleything |
Comments
Comment #1
stbleything commentedHere is what it says on line 233
230 // Run additional configuration tasks
231 // @todo Review all the cache/rebuild options at the end, some of them may not be needed
232 if ($task == 'openscholar-configure') {
233 install_include(_openscholar_core_modules());
// create roles
_openscholar_create_roles();
Comment #2
rbrandon commentedIt appears that the install_profile_api did not get installed correctly. Do you receive any other errors in the error log, I would guess that the install/enable of the modules is failing at some point.
What db/ version of php are you using?
-Richard
Comment #3
JoeM07 commentedI am getting the exact same error message. I am running my drupal install on a godaddy shared hosting account with php 5.2 and mysql 5.0.
Comment #4
JoeM07 commentedthey may be a simple question, but where do I find the error log for the installation? what is the name of the file?
Comment #5
JoeM07 commentedI have deleted the function call to install_include and now I get the following error...
Fatal error: Call to undefined function install_add_role() in /home/content/t/w/o/twowsinctest/html/profiles/openscholar/openscholar.profile on line 391
commented out lines 391, 392
function _openscholar_create_roles(){
// install_add_role('scholar admin');
// install_add_role('scholar user');
}
now get the following error:
Fatal error: Call to undefined function install_default_theme() in /home/content/t/w/o/twowsinctest/html/profiles/openscholar/openscholar.profile on line 281
as I keep commenting out these function calls, it seems to me that the custom functions are not found... or at least I think they are custom functions...not part of php or drupal's hooking system??
my clean urls is not enabled, could this cause this kind of problem? I don't think so, but maybe????
please, please help...
Comment #6
ferdi commentedinstall_include should be there. Since I cannot reproduce this issue, can you please try to move 'install_profile_api' before 'activity' (in _openscholar_core_modules() function) ?
Thanks!
Comment #7
JoeM07 commentedThank you. OpenScholar works great.
Comment #8
JoeM07 commented