<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear All,<br>
<br>
There was found the following:<br>
<br>
In Apache shared server
/cron/modules/com_vtiger_workflow/com_vtiger_workflow.service script
failed.<br>
<br>
The error message is:<br>
<br>
<font face="Courier New, Courier, monospace">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<br>
<br>
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<br>
<br>
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</font><br>
<br>
Checking the code I have found the following (read lines are
duplicated):<br>
<br>
<font face="Courier New, Courier, monospace">ini_set('include_path',ini_get('include_path').':../..');<br>
<font color="#ff0000"><b>require
'include/database/PearDatabase.php';</b></font><br>
<br>
<b><font color="#ff0000">require_once 'include/utils/utils.php';</font></b><br>
<b><font color="#ff0000">require_once('include/utils/CommonUtils.php');</font></b><br>
require_once("config.inc.php");<br>
require_once("include/HTTP_Session/Session.php");<br>
<b><font color="#ff0000">require_once('include/database/PearDatabase.php');</font></b><br>
require_once 'include/Webservices/Utils.php';<br>
<b><font color="#ff0000">
require_once("modules/Users/Users.php");</font></b><br>
require_once("include/Webservices/State.php");<br>
require_once("include/Webservices/OperationManager.php");<br>
require_once("include/Webservices/SessionManager.php");<br>
require_once("include/Zend/Json.php");<br>
require_once 'include/Webservices/WebserviceField.php';<br>
require_once 'include/Webservices/EntityMeta.php';<br>
require_once 'include/Webservices/VtigerWebserviceObject.php';<br>
require_once("include/Webservices/VtigerCRMObject.php");<br>
require_once("include/Webservices/VtigerCRMObjectMeta.php");<br>
require_once("include/Webservices/DataTransform.php");<br>
require_once("include/Webservices/WebServiceError.php");<br>
<b><font color="#ff0000"> require_once
'include/utils/CommonUtils.php';</font></b><br>
<b><font color="#ff0000"> require_once
'include/utils/utils.php';</font></b><br>
require_once 'include/utils/UserInfoUtil.php';<br>
require_once 'include/Webservices/ModuleTypes.php';<br>
require_once 'include/utils/VtlibUtils.php';<br>
require_once('include/logging.php');<br>
require_once
'include/Webservices/WebserviceEntityOperation.php';<br>
require_once "include/language/$default_language.lang.php";<br>
require_once 'include/Webservices/Retrieve.php';<br>
require_once('modules/Emails/mail.php');<br>
<b><font color="#ff0000">require_once 'modules/Users/Users.php';</font></b><br>
require_once('modules/com_vtiger_workflow/VTSimpleTemplate.inc');<br>
require_once 'modules/com_vtiger_workflow/VTEntityCache.inc';<br>
require_once('modules/com_vtiger_workflow/VTWorkflowUtils.php');</font><br>
<br>
Due to different type of writing it is hard to realize the
duplicates.<br>
<br>
Otherwise: The first ini_set row is not enough:<br>
<br>
It should be: <font face="Courier New, Courier, monospace">ini_set('include_path',ini_get('include_path').':/home/..xx..'.':../..');</font><br>
<br>
where <font face="Courier New, Courier, monospace">/home/..xx..</font>
is the absolute path to the CRM directory.<br>
<br>
Cheers:<br>
<br>
<div class="moz-signature">Holbok István<br>
telefon: +3670-342-0900<br>
e-mail: <a href="mailto:holbok@gmail.com">holbok@gmail.com</a><br>
<br>
<b><br>
</b></div>
</body>
</html>