[Vtigercrm-developers] duobled reguire in /cron/modules/com_vtiger_workflow/com_vtiger_workflow.service
Holbok István
holbok at gmail.com
Mon Nov 8 00:14:51 PST 2010
Dear All,
There was found the following:
In Apache shared server
/cron/modules/com_vtiger_workflow/com_vtiger_workflow.service script failed.
The error message is:
Warning: require(include/database/PearDatabase.php): failed to open
stream: No such file or directory in
/home/..xx../cron/modules/com_vtiger_workflow/com_vtiger_workflow.service on
line 12
Warning: require(include/database/PearDatabase.php): failed to open
stream: No such file or directory in
/home/..xx../cron/modules/com_vtiger_workflow/com_vtiger_workflow.service on
line 12
Fatal error: require(): Failed opening required
'include/database/PearDatabase.php'
(include_path='.:/usr/lib/php:/usr/local/lib/php:../..') in
/home/..xx../cron/modules/com_vtiger_workflow/com_vtiger_workflow.service on
line 12
Checking the code I have found the following (read lines are duplicated):
ini_set('include_path',ini_get('include_path').':../..');
*require 'include/database/PearDatabase.php';*
*require_once 'include/utils/utils.php';*
*require_once('include/utils/CommonUtils.php');*
require_once("config.inc.php");
require_once("include/HTTP_Session/Session.php");
*require_once('include/database/PearDatabase.php');*
require_once 'include/Webservices/Utils.php';
* require_once("modules/Users/Users.php");*
require_once("include/Webservices/State.php");
require_once("include/Webservices/OperationManager.php");
require_once("include/Webservices/SessionManager.php");
require_once("include/Zend/Json.php");
require_once 'include/Webservices/WebserviceField.php';
require_once 'include/Webservices/EntityMeta.php';
require_once 'include/Webservices/VtigerWebserviceObject.php';
require_once("include/Webservices/VtigerCRMObject.php");
require_once("include/Webservices/VtigerCRMObjectMeta.php");
require_once("include/Webservices/DataTransform.php");
require_once("include/Webservices/WebServiceError.php");
* require_once 'include/utils/CommonUtils.php';*
* require_once 'include/utils/utils.php';*
require_once 'include/utils/UserInfoUtil.php';
require_once 'include/Webservices/ModuleTypes.php';
require_once 'include/utils/VtlibUtils.php';
require_once('include/logging.php');
require_once 'include/Webservices/WebserviceEntityOperation.php';
require_once "include/language/$default_language.lang.php";
require_once 'include/Webservices/Retrieve.php';
require_once('modules/Emails/mail.php');
*require_once 'modules/Users/Users.php';*
require_once('modules/com_vtiger_workflow/VTSimpleTemplate.inc');
require_once 'modules/com_vtiger_workflow/VTEntityCache.inc';
require_once('modules/com_vtiger_workflow/VTWorkflowUtils.php');
Due to different type of writing it is hard to realize the duplicates.
Otherwise: The first ini_set row is not enough:
It should be:
ini_set('include_path',ini_get('include_path').':/home/..xx..'.':../..');
where /home/..xx.. is the absolute path to the CRM directory.
Cheers:
Holbok István
telefon: +3670-342-0900
e-mail: holbok at gmail.com <mailto:holbok at gmail.com>
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20101108/3df708d9/attachment-0002.html
More information about the vtigercrm-developers
mailing list