General Instructions
qdPM Extended is web-based application and it means you have to have web-server.
Software requirements
Your server needs to run:
- PHP version >= 7.2+ (V4.4 onwards)
- MySQL: 5.0 or newer, InnoDB storage engine
- PDO drivers: mysql
Note: qdPM Ex V4.6 is compatible with PHP 8.1
qdPM is developed using symfony framework. The framework files are bundled with the application, so you don’t need to install symfony before installing qdPM Extended.
Installation
- Download the qdPM Extended archive and unpack it to your web directory.
- Simply go to your qdPM Extended web directory and use installer.
Setup
"php -q /home/username/public_html/batch/emailTickets.php"
- Reminders Cron
You have to set up a cron job for file 'batch/reminders.php' and run it every day to get emal reminders.
Example command line for cron job is:
"php -q /home/username/public_html/batch/reminders.php"
You also need to edit 'batch/config.php' and configure http path to qdPM Extedned.
- Backup Cron
You have to setup cron for next file 'batch/backup.php' and run it every day.
Example command line for cron job is:
"php -q /home/username/public_html/batch/backup.php"
Backup files stored in 'batch\backups\' by default last five backups stored in this folder.
Also check 'batch/config.php' for more backup configuration options. For example some servers require the path to the mysqldump command and you can configure it in 'batch/config.php';
- Run more then one copies on one server
If you have more then one office you can run qdPM Extended with the same product key as in this example:
myhost.com/office1
myhost.com/office2.
You have to setup a different session name for each copy in 'core/apps/frontend/config/factories.yml'. To do that just find line 'session_name: qdpm_extended' and change 'qdpm_extended' to something unique for each copy.
Installation Problems
You will see error dialog window if you have any problems with running the installation.
In general if you can’t login, there are two typical errors “500 Internal Server Error” and “404 Not Found”
For local installation read more about server configuration you can here http://www.symfony-project.org/cookbook … web_server
404 Not Found
- Check AllowOverride in httpd.conf it should be set to “All”, example “AllowOverride All”
500 Internal Server Error
all errors stored in ‘core/log/frontend_prod.log’
In error log: Class ‘PDO’ not found
“PHP Fatal error: Class ‘PDO’ not found in D:\Hosting\2848908\html\blades\lib\symfony\plugins\sfPropelP lugin\lib\vendor\propel\util\PropelPDO.php on line 42″
It means you don’t have mysql PDO driver http://us.php.net/manual/en/book.pdo.php and you have to install it.
In error log you can see: Unable to open PDO connection [wrapped: SQLSTATE[HY000] [2002] Invalid argument] or Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’
Open config\databases.yml and add unix_socket=/opt/lampp/var/mysql/mysql.sock to dsn, so it will be like this:
dsn: mysql:host=localhost;dbname=qdpm;unix_socket=/opt/lampp/var/mysql/mysql.sock
then clear cache and try again.
Note: You have to replace path ‘/opt/lampp/var/mysql/’ to your path to mysql.sock file. We've had this problem in ubuntu 9.04 descktop and some people had this problem in Mac – Leopard
Other Issues
Delete your installation, including database, and resintall. If problems remain then please email support@qdpm-ex.com and we will advise who you should speak to eg. hosting company or IT support.
GoDaddy Shared Hosting
If you are using GoDaddy Shared Hosting then read this
http://qdpm-ex.com/open-source-project-management-blog/qdpm-and-godaddy-hosting/ |