Hi all, First Post.
Experienced IT guy here but new to PHP and besides a bit of HTML, fairly new to programming in general. Hopefully I'm posting in the right place.
I installed EMMS 2.0, a PHP based ERP system from sourceforge.net. I installed the XAMPP package (Apache, Pear, mysql). I followed the instructions to set up the package.
But I just get a blank page when I go to the home page. I debugged the script using a packaged I downloaded and what I discovered was the paths to certain php files did not exist. For example in a file called webpage.php it looks for files called pear.php and db.php that do not exist in the default installation of EMMS 2. I found these in the XAMPP folder and what I discovered is if I copied the entire contents of the /xampp/php/pear all the files were in the right place.
However, I kept running into difficulty as the debugging continued. For example this code completely baffled me.
require_once 'HTML/Template/ITX.php';
require_once 'HTML/QuickForm.php';
require_once 'HTML/QuickForm/Renderer/ITStatic.php';
require_once 'class/TTFButton.php';
Again there was no reference to any of these files. I was able to download ITX.php and Quickform.php but I am not sure if I'm doing it right. It is now looking for object.php within the quickform.php file. I can't find that to download so I'm fairly stuck.
I'm sure this is something simple. I asume there is somewhere I might be able to download the entire HTML folder. Any help would be appreciated.
PHP ERP System
Moderator: General Moderators
Re: PHP ERP System
it's my first time to hear of ERP system... but I know that most Systems such as ERP and the like have there own forum for technical difficulties for people like you.. It's part of software engineering that when creating and distributing systems, it should have technical support.. so try googling it, or look for the ERP website.
Re: PHP ERP System
You should turn on errors display to debug the error that is occurring. It is a PHP configuration directive called display_errors and it should be set to On (don't forget to restart your apache webserver after you update the configuration).
Re: PHP ERP System
Thanks guys and gals, the logging is on. I assume the errors are returned in the error.log file. If so, it isn't bringing up any errors. The debugging finds the problems. I'll try the forum on the site also.
Re: PHP ERP System
Code: Select all
require_once 'HTML/Template/ITX.php';
require_once 'HTML/QuickForm.php';
require_once 'HTML/QuickForm/Renderer/ITStatic.php';
require_once 'class/TTFButton.php';The last one shows that this ERP package expects you to install a folder called class (and perhaps others) inside that previously mentioned value(s) : include_path.
Understanding the simple ini settings' hierarchy and esp include_path is pretty central to getting anything done using external libraries, so have a good read of the php.ini file where it mentions include_path and then carefully the software documentation/usernotes/docblock comments for clues.