- Fri Sep 16, 2016 2:19 pm
#786640
In windows server 2012 I have installed the 3.0.1.8 version ( bitnami packet ) and I recieved this error from apache ( similar message in browser from class.xmlform.php line 5521) :
PHP Warning: filemtime(): stat failed for C:\\processmaker-3.0.1.8-0/apps/processmaker/htdocs/shared/sites/workflow/xmlForms/723249589575b4a14c53d36097964238/Array.xml
in C:\\processmaker-3.0.1.8-0\\apps\\processmaker\\htdocs\\gulliver\\system\\class.xmlform.php on line 5521, referer: httpxxxxxxxxx/sysworkflow/el/neoclassic/cases/cases_Step?TYPE=DYNAFORM&UID=15542602557b3676d96d3f2054670082&POSITION=1&ACTION=EDIT
I found that engine/config/paths_installed.php file has the lines:
define('PATH_DATA', 'C:\processmaker-3.0.1.8-0/apps/processmaker/htdocs/shared/');
define('PATH_C', 'C:\processmaker-3.0.1.8-0/apps/processmaker/htdocs/shared/compiled/');
Also , in public_html/sysGeneric.php ( and other files ) the folder separator is "/" like:
define( 'PATH_DATA_SITE', PATH_DATA . 'sites/' . SYS_SYS . '/' );
define( 'PATH_DOCUMENT', PATH_DATA_SITE . 'files/' );
define( 'PATH_DATA_MAILTEMPLATES', PATH_DATA_SITE . 'mailTemplates/' );
define( 'PATH_DATA_PUBLIC', PATH_DATA_SITE . 'public/' );
define( 'PATH_DATA_REPORTS', PATH_DATA_SITE . 'reports/' );
define( 'PATH_DYNAFORM', PATH_DATA_SITE . 'xmlForms/' );
a similar problem I have with files:
$ofilePath = PATH_DOCUMENT . G::getPathFromUID($caseId) . PATH_SEP .'outdocs' . PATH_SEP . $oFileUid. '_'.$oMFileVer . '.' . $oFextention ;
i am correcting the path with
$oFilePath = preg_replace("/\//", "\\", $ofilePath);
I suppose I will meet similar problems in next steps.
Is there a way to correct theses problem ?
thanks in advance
PHP Warning: filemtime(): stat failed for C:\\processmaker-3.0.1.8-0/apps/processmaker/htdocs/shared/sites/workflow/xmlForms/723249589575b4a14c53d36097964238/Array.xml
in C:\\processmaker-3.0.1.8-0\\apps\\processmaker\\htdocs\\gulliver\\system\\class.xmlform.php on line 5521, referer: httpxxxxxxxxx/sysworkflow/el/neoclassic/cases/cases_Step?TYPE=DYNAFORM&UID=15542602557b3676d96d3f2054670082&POSITION=1&ACTION=EDIT
I found that engine/config/paths_installed.php file has the lines:
define('PATH_DATA', 'C:\processmaker-3.0.1.8-0/apps/processmaker/htdocs/shared/');
define('PATH_C', 'C:\processmaker-3.0.1.8-0/apps/processmaker/htdocs/shared/compiled/');
Also , in public_html/sysGeneric.php ( and other files ) the folder separator is "/" like:
define( 'PATH_DATA_SITE', PATH_DATA . 'sites/' . SYS_SYS . '/' );
define( 'PATH_DOCUMENT', PATH_DATA_SITE . 'files/' );
define( 'PATH_DATA_MAILTEMPLATES', PATH_DATA_SITE . 'mailTemplates/' );
define( 'PATH_DATA_PUBLIC', PATH_DATA_SITE . 'public/' );
define( 'PATH_DATA_REPORTS', PATH_DATA_SITE . 'reports/' );
define( 'PATH_DYNAFORM', PATH_DATA_SITE . 'xmlForms/' );
a similar problem I have with files:
$ofilePath = PATH_DOCUMENT . G::getPathFromUID($caseId) . PATH_SEP .'outdocs' . PATH_SEP . $oFileUid. '_'.$oMFileVer . '.' . $oFextention ;
i am correcting the path with
$oFilePath = preg_replace("/\//", "\\", $ofilePath);
I suppose I will meet similar problems in next steps.
Is there a way to correct theses problem ?
thanks in advance