Page 1 of 1

Need help in installing PacsOne Premium in Fedora Core 3

Posted: Fri Jun 03, 2005 8:06 am
by Guest
I've checked the other posts and yet I can't find a solution to my problem.

The environment is:
OS: Fedora Core 3
MySQL 3.23.58
Apache 2.0.52
Php 4.3.9

All three are installed using the CDs of FC3. I didn't install via their sources.

Right now, I am able to see the login page but the weird thing is that the "Anti-Spam" image is not an image, instead it is just a text display of the number/code. After logging in, I am just redirected to a blank home.php page.

My httpd error log shows this line:

Code: Select all

PHP Parse error:  parse error, unexpected '&', expecting T_VARIABLE or '$' in /home/pacsone/php/home.php on line 58, referer: http://192.168.0.7/pacsone/login.php
MySQL, imagick, zlib are displayed at the Hello.php page so I assume that the said modules are working fine.

I don't know what next should I check/do to make my PacsOne server running. :(

Please help...:?

Thanks in advance! :D

Posted: Fri Jun 03, 2005 10:37 am
by pacsone
There seems to be two issues here:

1. The error in the PHP error log suggests that your PHP version (4.3.9) does not support referencing array elements (the & char) in the for loops. To fix that, you can either upgrade to PHP 5.0.x or simply delete the offending & character on that particular line.

2. The imagick PHP extension was not loaded. You can verify that by checking the html output of the test page:

http://localhost/pacsone/Hello.php

and see if imagick is on the list of loaded extensions. If not, you'd need to revisit the instructions in the ImageMagick PHP extension section in the PacsOne Server Installation Guide. (http://www.rainbowfishsoftware.com/install.pdf)

Posted: Mon Jun 06, 2005 9:16 am
by Guest
thanks for the reply!

1. We removed the ampersand at login.php and pacsone.php. After that, it finally worked!

2. The reason there was no image produced is that imagick can't locate the fonts (ghostscript) in the system...it was located in another directory. So we just made a symbolic link (pointing to the fonts directory) for imagick.

thanks again! :D