Share ideas, ask questions, and get feedback about developing for ProcessMaker
Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
By unionbankph
#785912
Dear Experts,

We have PM 2.5.1 installed on Linux CentOS box. We had to update Users.php (workflow\engine\classes\model) (added some scripts in particular) to meet some requirements. This customization worked on Windows but when we did it in Linux platform we've experienced errors. Whenever we go to the next page or search for a dynaform/trigger, the system shows a blank screen (please refer to the attached screenshot). Checking the error log, it says class BaseUsers not found.

What might have caused this and how do we solve it?

Appreciate your response the soonest. Thank you!
Attachments
Blank next page.png
Blank next page.png (6.75 KiB) Viewed 4622 times
User avatar
By amosbatto
#785922
Can you attach your modified Users.php file? You probably aren't importing the UsersPeer.php file correctly or not instantiating the UsersPeer class correctly.
User avatar
By amosbatto
#785931
I'm not seeing your attached Users.php file. Please upload it. There is an option under the "Attachments" tab (in the full editor) to attach files to a forum message.
User avatar
By amosbatto
#785961
I don't see anything in your code which should screw anything up. Do you have the ldap module for PHP installed on your Linux server?
Also, I suggest using executeQuery() instead of mysql_query().

What happens if you try creating a separate test PHP script file on your Linux server which connects to LDAP? Does it execute without any problems?
User avatar
By amosbatto
#785962
Also try uncommenting this line:
Code: Select all
require_once 'classes/model/om/BaseUsers.php';
//require_once 'classes/model/IsoCountry.php';
//require_once 'classes/model/IsoSubdivision.php';
//require_once 'classes/model/IsoLocation.php';

ICO software script is a pre-made program for crea[…]

A crypto exchange script is a pre-designed softwar[…]

So I recently bought an addmotor Ebike which of co[…]

A crypto casino clone script is a ready-made softw[…]